Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.079/2.079, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 189.2 kB / 498.1 MB, free: 5.719 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.2 MB / 0.7948 GB, free: 17.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 98.56 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 14.09 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2172, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.017/4.235, allocations: 2.203 GB / 3.426 GB, free: 281.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/4.235, allocations: 108.8 kB / 3.426 GB, free: 281.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 11.87/16.11, allocations: 3.721 GB / 7.147 GB, free: 84.71 MB / 1.323 GB Notification: Performance of FrontEnd: time 2.344e-06/16.11, allocations: 0.875 kB / 7.147 GB, free: 84.71 MB / 1.323 GB Notification: Performance of Transformations before backend: time 0.001773/16.11, allocations: 184.7 kB / 7.147 GB, free: 84.68 MB / 1.323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.03231/16.14, allocations: 9.778 MB / 7.156 GB, free: 79.94 MB / 1.323 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/16.14, allocations: 9.938 kB / 7.156 GB, free: 79.94 MB / 1.323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002641/16.14, allocations: 0.5344 MB / 7.157 GB, free: 79.88 MB / 1.323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/16.16, allocations: 2.201 MB / 7.159 GB, free: 79.41 MB / 1.323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02717/16.18, allocations: 9.396 MB / 7.168 GB, free: 78.18 MB / 1.323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00164/16.18, allocations: 0.5917 MB / 7.169 GB, free: 78.18 MB / 1.323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002755/16.19, allocations: 443.2 kB / 7.169 GB, free: 78.18 MB / 1.323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/16.21, allocations: 5.645 MB / 7.175 GB, free: 77.64 MB / 1.323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002312/16.21, allocations: 3.281 kB / 7.175 GB, free: 77.64 MB / 1.323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/16.21, allocations: 175.2 kB / 7.175 GB, free: 77.64 MB / 1.323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.281e-05/16.21, allocations: 98.88 kB / 7.175 GB, free: 77.64 MB / 1.323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/16.22, allocations: 4.81 MB / 7.18 GB, free: 77.61 MB / 1.323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04519/16.27, allocations: 24.81 MB / 7.204 GB, free: 68.15 MB / 1.323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00755/16.27, allocations: 3.447 MB / 7.207 GB, free: 68.1 MB / 1.323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01651/16.29, allocations: 8.106 MB / 7.215 GB, free: 64.72 MB / 1.323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/16.29, allocations: 54.92 kB / 7.215 GB, free: 64.68 MB / 1.323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004066/16.29, allocations: 398 kB / 7.216 GB, free: 64.53 MB / 1.323 GB Notification: Performance of pre-optimization done (n=190): time 1.188e-05/16.29, allocations: 0 / 7.216 GB, free: 64.53 MB / 1.323 GB Notification: Performance of matching and sorting (n=190): time 0.02477/16.32, allocations: 9.779 MB / 7.225 GB, free: 62.12 MB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/16.32, allocations: 423 kB / 7.226 GB, free: 61.68 MB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01679/16.34, allocations: 7.14 MB / 7.232 GB, free: 61.22 MB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008832/16.34, allocations: 81.98 kB / 7.233 GB, free: 61.19 MB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00427/16.34, allocations: 3.577 MB / 7.236 GB, free: 60.41 MB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/16.34, allocations: 0.6358 MB / 7.237 GB, free: 60.01 MB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005893/16.34, allocations: 54.06 kB / 7.237 GB, free: 60.01 MB / 1.323 GB Notification: Performance of setup shared object (initialization): time 0.0002451/16.34, allocations: 421.5 kB / 7.237 GB, free: 59.7 MB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004742/16.35, allocations: 2.415 MB / 7.239 GB, free: 59.7 MB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005347/16.35, allocations: 3.64 MB / 7.243 GB, free: 58.33 MB / 1.323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004991/16.36, allocations: 3.285 MB / 7.246 GB, free: 57.55 MB / 1.323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.882e-05/16.36, allocations: 8.25 kB / 7.246 GB, free: 57.55 MB / 1.323 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01562/16.37, allocations: 7.581 MB / 7.254 GB, free: 56.25 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003064/16.38, allocations: 14.45 MB / 7.268 GB, free: 41.39 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.969e-05/16.38, allocations: 27.94 kB / 7.268 GB, free: 41.39 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001759/16.38, allocations: 0.6273 MB / 7.268 GB, free: 41.34 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/16.38, allocations: 0.629 MB / 7.269 GB, free: 41.33 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/16.38, allocations: 2.794 MB / 7.272 GB, free: 39.23 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007189/16.39, allocations: 0.5336 MB / 7.272 GB, free: 39.17 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005654/16.39, allocations: 205.2 kB / 7.272 GB, free: 39.17 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/16.39, allocations: 7.156 kB / 7.272 GB, free: 39.16 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01247/16.4, allocations: 7.682 MB / 7.28 GB, free: 38.25 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.596e-05/16.4, allocations: 23.88 kB / 7.28 GB, free: 38.25 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/16.41, allocations: 0.6311 MB / 7.281 GB, free: 38.2 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/16.41, allocations: 0.622 MB / 7.281 GB, free: 38.19 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/16.41, allocations: 2.8 MB / 7.284 GB, free: 36.09 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007621/16.42, allocations: 0.5288 MB / 7.284 GB, free: 36.03 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006491/16.42, allocations: 193.8 kB / 7.285 GB, free: 36.03 MB / 1.323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 267 * Array equations: 4 * Algorithm blocks: 24 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.005563/16.42, allocations: 2.193 MB / 7.287 GB, free: 35.45 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002316/16.43, allocations: 0.7096 MB / 7.288 GB, free: 35.06 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/16.44, allocations: 6.464 MB / 7.294 GB, free: 34.34 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.734e-05/16.44, allocations: 23.11 kB / 7.294 GB, free: 34.34 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/16.44, allocations: 0 / 7.294 GB, free: 34.34 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/16.44, allocations: 15.53 kB / 7.294 GB, free: 34.33 MB / 1.323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03119/16.48, allocations: 12.38 MB / 7.306 GB, free: 33.12 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/16.48, allocations: 6.938 kB / 7.306 GB, free: 33.11 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/16.48, allocations: 430.1 kB / 7.306 GB, free: 33.11 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/16.48, allocations: 0.6028 MB / 7.307 GB, free: 33.06 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/16.48, allocations: 77.78 kB / 7.307 GB, free: 33.05 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/16.48, allocations: 2.79 MB / 7.31 GB, free: 30.95 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/16.48, allocations: 6.531 kB / 7.31 GB, free: 30.95 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/16.5, allocations: 7.159 MB / 7.317 GB, free: 28.65 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004573/16.5, allocations: 1.422 MB / 7.318 GB, free: 28.16 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002293/16.5, allocations: 61.28 kB / 7.318 GB, free: 28.16 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005671/16.51, allocations: 473.9 kB / 7.319 GB, free: 28.11 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005115/16.51, allocations: 285.3 kB / 7.319 GB, free: 28.1 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003508/16.51, allocations: 110 kB / 7.319 GB, free: 28.1 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.01222/16.52, allocations: 5.494 MB / 7.324 GB, free: 27.85 MB / 1.323 GB Notification: Performance of sort global known variables: time 3e-07/16.52, allocations: 2.906 kB / 7.324 GB, free: 27.85 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.01686/16.54, allocations: 3.627 MB / 7.328 GB, free: 27.44 MB / 1.323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 12 (beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.02567/16.56, allocations: 15.4 MB / 7.343 GB, free: 20.48 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.01738/16.58, allocations: 12.04 MB / 7.355 GB, free: 17.32 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/16.58, allocations: 1.328 kB / 7.355 GB, free: 17.32 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.005623/16.59, allocations: 3.857 MB / 7.358 GB, free: 16.53 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01598/16.6, allocations: 3.494 MB / 7.362 GB, free: 16.33 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04494/16.65, allocations: 36.13 MB / 7.397 GB, free: 22.13 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006065/16.65, allocations: 3.984 MB / 7.401 GB, free: 20.86 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.007959/16.66, allocations: 1.48 MB / 7.403 GB, free: 20.6 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004095/16.67, allocations: 3.244 MB / 7.406 GB, free: 18 MB / 1.354 GB Notification: Performance of SimCode: time 1.754e-06/16.67, allocations: 0 / 7.406 GB, free: 18 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.192/17.86, allocations: 268.8 MB / 7.668 GB, free: 114.7 MB / 1.37 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/17.86, allocations: 263.1 kB / 7.668 GB, free: 114.4 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/28.91, allocations: 0 / 7.668 GB, free: 114.4 MB / 1.37 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams_res.mat does not exist to compare? outputFormat=mat