Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.Examples.CoolingOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",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.286/2.286, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001015/0.001015, allocations: 180.8 kB / 487.4 MB, free: 5.016 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.62/1.62, allocations: 221.5 MB / 0.7824 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 95.95 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.989e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3107, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.212/6.522, allocations: 2.182 GB / 3.388 GB, free: 116.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/6.523, allocations: 101.2 kB / 3.388 GB, free: 116.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.267/9.789, allocations: 0.8773 GB / 4.265 GB, free: 116.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.793e-06/9.789, allocations: 0 / 4.265 GB, free: 116.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001898/9.79, allocations: 59.2 kB / 4.265 GB, free: 116.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.004426/9.794, allocations: 2.354 MB / 4.268 GB, free: 114.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/9.794, allocations: 8.031 kB / 4.268 GB, free: 114.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/9.796, allocations: 379.1 kB / 4.268 GB, free: 113.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/9.8, allocations: 2.053 MB / 4.27 GB, free: 111.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/9.8, allocations: 40 kB / 4.27 GB, free: 111.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/9.8, allocations: 87.91 kB / 4.27 GB, free: 111.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001814/9.802, allocations: 1.118 MB / 4.271 GB, free: 110.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/9.804, allocations: 1.371 MB / 4.273 GB, free: 109.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/9.804, allocations: 7.125 kB / 4.273 GB, free: 109.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/9.804, allocations: 7.984 kB / 4.273 GB, free: 109.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/9.804, allocations: 50.53 kB / 4.273 GB, free: 109.1 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007822/9.812, allocations: 6.175 MB / 4.279 GB, free: 102.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009879/9.813, allocations: 0.8449 MB / 4.279 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000581/9.813, allocations: 0.5741 MB / 4.28 GB, free: 101.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005297/9.814, allocations: 0.691 MB / 4.281 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/9.814, allocations: 39.34 kB / 4.281 GB, free: 100.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 3.216e-06/9.814, allocations: 0 / 4.281 GB, free: 100.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.004822/9.819, allocations: 2.725 MB / 4.283 GB, free: 97.61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/9.819, allocations: 196.7 kB / 4.284 GB, free: 97.37 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/9.821, allocations: 1.489 MB / 4.285 GB, free: 95.89 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/9.821, allocations: 29.7 kB / 4.285 GB, free: 95.85 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000505/9.821, allocations: 0.8932 MB / 4.286 GB, free: 94.95 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/9.822, allocations: 282.2 kB / 4.286 GB, free: 94.67 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/9.822, allocations: 4 kB / 4.286 GB, free: 94.67 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.074e-05/9.822, allocations: 345.9 kB / 4.287 GB, free: 94.32 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/9.822, allocations: 0.561 MB / 4.287 GB, free: 93.77 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007502/9.823, allocations: 0.8204 MB / 4.288 GB, free: 92.86 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003538/9.827, allocations: 2.151 MB / 4.29 GB, free: 90.67 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/9.827, allocations: 0 / 4.29 GB, free: 90.67 MB / 1.151 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002281/9.829, allocations: 1.549 MB / 4.292 GB, free: 89.12 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003503/9.829, allocations: 1.64 MB / 4.293 GB, free: 87.35 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/9.829, allocations: 4 kB / 4.293 GB, free: 87.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/9.829, allocations: 8 kB / 4.293 GB, free: 87.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/9.83, allocations: 182.9 kB / 4.293 GB, free: 87.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/9.83, allocations: 8 kB / 4.293 GB, free: 87.15 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/9.832, allocations: 100.1 kB / 4.293 GB, free: 87.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/9.832, allocations: 55.98 kB / 4.293 GB, free: 87.01 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/9.832, allocations: 4 kB / 4.293 GB, free: 87 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001837/9.834, allocations: 1.459 MB / 4.295 GB, free: 85.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/9.834, allocations: 0 / 4.295 GB, free: 85.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/9.834, allocations: 15.94 kB / 4.295 GB, free: 85.53 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/9.834, allocations: 182 kB / 4.295 GB, free: 85.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/9.834, allocations: 8 kB / 4.295 GB, free: 85.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/9.836, allocations: 100.2 kB / 4.295 GB, free: 85.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/9.836, allocations: 47.98 kB / 4.295 GB, free: 85.21 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003167/9.836, allocations: 228.9 kB / 4.295 GB, free: 84.96 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001777/9.838, allocations: 1.178 MB / 4.297 GB, free: 83.77 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/9.838, allocations: 185.7 kB / 4.297 GB, free: 83.59 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/9.84, allocations: 1.251 MB / 4.298 GB, free: 82.34 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/9.84, allocations: 11.98 kB / 4.298 GB, free: 82.33 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/9.84, allocations: 0 / 4.298 GB, free: 82.33 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/9.842, allocations: 1.358 MB / 4.299 GB, free: 80.88 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/9.847, allocations: 3.242 MB / 4.303 GB, free: 77.56 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/9.847, allocations: 4 kB / 4.303 GB, free: 77.56 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007222/9.847, allocations: 163.8 kB / 4.303 GB, free: 77.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/9.847, allocations: 15.94 kB / 4.303 GB, free: 77.38 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/9.847, allocations: 19.98 kB / 4.303 GB, free: 77.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/9.847, allocations: 10.38 kB / 4.303 GB, free: 77.36 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/9.847, allocations: 7.938 kB / 4.303 GB, free: 77.35 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/9.85, allocations: 2.468 MB / 4.305 GB, free: 74.72 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009045/9.851, allocations: 434.6 kB / 4.306 GB, free: 74.27 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/9.851, allocations: 19.94 kB / 4.306 GB, free: 74.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009591/9.852, allocations: 82.73 kB / 4.306 GB, free: 74.18 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/9.852, allocations: 102.1 kB / 4.306 GB, free: 74.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/9.853, allocations: 35.98 kB / 4.306 GB, free: 74.05 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001729/9.854, allocations: 1.142 MB / 4.307 GB, free: 72.92 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/9.854, allocations: 0 / 4.307 GB, free: 72.92 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003171/9.857, allocations: 0.9059 MB / 4.308 GB, free: 72.01 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006829/9.864, allocations: 6.517 MB / 4.314 GB, free: 65.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002915/9.867, allocations: 2.962 MB / 4.317 GB, free: 62.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/9.867, allocations: 0 / 4.317 GB, free: 62.48 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009334/9.868, allocations: 0.958 MB / 4.318 GB, free: 61.49 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/9.873, allocations: 0.8336 MB / 4.319 GB, free: 60.67 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007205/9.88, allocations: 3.52 MB / 4.322 GB, free: 57.03 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/9.881, allocations: 1.567 MB / 4.324 GB, free: 55.43 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002694/9.884, allocations: 0.6012 MB / 4.324 GB, free: 54.82 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009056/9.884, allocations: 0.7375 MB / 4.325 GB, free: 54.09 MB / 1.151 GB Notification: Performance of SimCode: time 1.833e-06/9.884, allocations: 0 / 4.325 GB, free: 54.09 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/9.995, allocations: 64.77 MB / 4.388 GB, free: 5.691 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/9.996, allocations: 189.4 kB / 4.388 GB, free: 5.492 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.381/14.38, allocations: 0 / 4.388 GB, free: 5.492 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat does not exist to compare? outputFormat=mat