Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.286/2.286, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001378/0.001378, allocations: 190.8 kB / 0.4901 GB, free: 2.227 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.597/1.597, allocations: 223.1 MB / 0.7992 GB, free: 15.6 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.001083/0.001083, allocations: 109.2 kB / 0.9396 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004239, allocations: 12.97 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.448/5.787, allocations: 2.183 GB / 3.413 GB, free: 238.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/5.787, allocations: 107.9 kB / 3.413 GB, free: 238.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.065/8.852, allocations: 0.8863 GB / 4.299 GB, free: 215.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.154e-06/8.852, allocations: 3 kB / 4.299 GB, free: 215.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001922/8.852, allocations: 51.67 kB / 4.299 GB, free: 215.8 MB / 1.167 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.005493/8.857, allocations: 2.758 MB / 4.302 GB, free: 214 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/8.857, allocations: 11.72 kB / 4.302 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003068/8.858, allocations: 192.3 kB / 4.302 GB, free: 213.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/8.859, allocations: 382.6 kB / 4.302 GB, free: 213.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003701/8.863, allocations: 2.068 MB / 4.304 GB, free: 212.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/8.863, allocations: 107.5 kB / 4.304 GB, free: 212.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/8.863, allocations: 139 kB / 4.305 GB, free: 212.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/8.866, allocations: 1.596 MB / 4.306 GB, free: 211.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/8.866, allocations: 0 / 4.306 GB, free: 211.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/8.866, allocations: 58.94 kB / 4.306 GB, free: 211.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-05/8.866, allocations: 48.2 kB / 4.306 GB, free: 211.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/8.868, allocations: 1.248 MB / 4.308 GB, free: 210.5 MB / 1.167 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.007924/8.876, allocations: 6.483 MB / 4.314 GB, free: 205.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/8.877, allocations: 0.9133 MB / 4.315 GB, free: 204.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/8.878, allocations: 0.6808 MB / 4.315 GB, free: 204.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/8.878, allocations: 47.72 kB / 4.315 GB, free: 204.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=83): time 3.036e-06/8.878, allocations: 0.75 kB / 4.315 GB, free: 204.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.005646/8.883, allocations: 3.922 MB / 4.319 GB, free: 201.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/8.883, allocations: 196.4 kB / 4.319 GB, free: 201.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/8.886, allocations: 1.796 MB / 4.321 GB, free: 199.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.533e-05/8.886, allocations: 45.7 kB / 4.321 GB, free: 199.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/8.886, allocations: 0.8825 MB / 4.322 GB, free: 198.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/8.887, allocations: 297.2 kB / 4.322 GB, free: 198.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/8.887, allocations: 20 kB / 4.322 GB, free: 198.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/8.887, allocations: 345.9 kB / 4.323 GB, free: 198.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007335/8.888, allocations: 0.6102 MB / 4.323 GB, free: 197.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008827/8.888, allocations: 0.8649 MB / 4.324 GB, free: 196.5 MB / 1.167 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.004187/8.893, allocations: 2.433 MB / 4.327 GB, free: 194 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/8.893, allocations: 0 / 4.327 GB, free: 194 MB / 1.167 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00238/8.895, allocations: 1.844 MB / 4.328 GB, free: 192.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004278/8.895, allocations: 1.661 MB / 4.33 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/8.896, allocations: 4 kB / 4.33 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/8.896, allocations: 8 kB / 4.33 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/8.896, allocations: 177.3 kB / 4.33 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/8.896, allocations: 11.12 kB / 4.33 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/8.898, allocations: 129.5 kB / 4.33 GB, free: 190 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/8.898, allocations: 47.98 kB / 4.33 GB, free: 190 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/8.898, allocations: 5.406 kB / 4.33 GB, free: 190 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002135/8.9, allocations: 1.846 MB / 4.332 GB, free: 188.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/8.9, allocations: 4 kB / 4.332 GB, free: 188.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/8.9, allocations: 11.95 kB / 4.332 GB, free: 188.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/8.901, allocations: 176.9 kB / 4.332 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/8.901, allocations: 9.688 kB / 4.332 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/8.903, allocations: 131.2 kB / 4.332 GB, free: 187.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/8.903, allocations: 50.7 kB / 4.333 GB, free: 187.8 MB / 1.167 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 () * Number of clocked 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.001388/8.904, allocations: 0.7076 MB / 4.333 GB, free: 187 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/8.904, allocations: 197.6 kB / 4.333 GB, free: 186.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/8.907, allocations: 1.487 MB / 4.335 GB, free: 185.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/8.907, allocations: 8 kB / 4.335 GB, free: 185.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/8.907, allocations: 0 / 4.335 GB, free: 185.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001587/8.908, allocations: 1.558 MB / 4.336 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006181/8.915, allocations: 3.624 MB / 4.34 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/8.915, allocations: 4 kB / 4.34 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007311/8.915, allocations: 170.8 kB / 4.34 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.58e-05/8.915, allocations: 8 kB / 4.34 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.113e-05/8.916, allocations: 31.95 kB / 4.34 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/8.916, allocations: 15.92 kB / 4.34 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/8.916, allocations: 4 kB / 4.34 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/8.919, allocations: 2.771 MB / 4.343 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/8.92, allocations: 466 kB / 4.343 GB, free: 176.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005056/8.92, allocations: 31.98 kB / 4.343 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/8.921, allocations: 100.1 kB / 4.343 GB, free: 176.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/8.922, allocations: 95.25 kB / 4.344 GB, free: 176.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.551e-05/8.922, allocations: 39.98 kB / 4.344 GB, free: 176 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002444/8.924, allocations: 1.406 MB / 4.345 GB, free: 174.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.4e-07/8.924, allocations: 0 / 4.345 GB, free: 174.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003946/8.928, allocations: 1.007 MB / 4.346 GB, free: 173.6 MB / 1.167 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) * Number of clocked states: 0 () * 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.007303/8.936, allocations: 6.691 MB / 4.352 GB, free: 167.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003422/8.939, allocations: 3.047 MB / 4.355 GB, free: 164 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/8.939, allocations: 4 kB / 4.355 GB, free: 164 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/8.94, allocations: 1.013 MB / 4.356 GB, free: 163 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004897/8.945, allocations: 0.99 MB / 4.357 GB, free: 162 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/8.957, allocations: 7.821 MB / 4.365 GB, free: 154.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/8.958, allocations: 1.558 MB / 4.367 GB, free: 152.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002317/8.961, allocations: 431.9 kB / 4.367 GB, free: 152.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/8.962, allocations: 0.7726 MB / 4.368 GB, free: 151.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.133e-06/8.962, allocations: 0 / 4.368 GB, free: 151.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/9.08, allocations: 82.99 MB / 4.449 GB, free: 70.76 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/9.08, allocations: 245.7 kB / 4.449 GB, free: 70.51 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.75/13.83, allocations: 7.938 kB / 4.449 GB, free: 70.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat does not exist to compare? outputFormat=mat