Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.6 MB / 307.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 183.9 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 0.6366 GB, free: 8.648 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008736/0.000874, allocations: 96.22 kB / 0.7509 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004897, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2615, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.422/5.684, allocations: 2.082 GB / 3.07 GB, free: 100.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/5.684, allocations: 111.5 kB / 3.07 GB, free: 100.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9086/6.593, allocations: 159.4 MB / 3.226 GB, free: 235.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.312e-06/6.593, allocations: 0 / 3.226 GB, free: 235.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001266/6.593, allocations: 31.16 kB / 3.226 GB, free: 235.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.007627/6.6, allocations: 3.081 MB / 3.229 GB, free: 234.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/6.601, allocations: 13.86 kB / 3.229 GB, free: 234.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004225/6.601, allocations: 96.31 kB / 3.229 GB, free: 234.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02303/6.624, allocations: 2.938 MB / 3.232 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008538/6.633, allocations: 2.867 MB / 3.235 GB, free: 233.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/6.633, allocations: 200.7 kB / 3.235 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/6.633, allocations: 59.62 kB / 3.235 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/6.644, allocations: 3.565 MB / 3.239 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/6.644, allocations: 0 / 3.239 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003131/6.644, allocations: 26.94 kB / 3.239 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/6.644, allocations: 9.938 kB / 3.239 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/6.663, allocations: 5.439 MB / 3.244 GB, free: 233 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02496/6.688, allocations: 8.822 MB / 3.253 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02149/6.71, allocations: 5.774 MB / 3.258 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/6.71, allocations: 26.33 kB / 3.258 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01113/6.721, allocations: 3.291 MB / 3.261 GB, free: 226.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 6.312e-06/6.721, allocations: 0 / 3.261 GB, free: 226.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.05358/6.775, allocations: 9.667 MB / 3.271 GB, free: 224.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/6.775, allocations: 94.88 kB / 3.271 GB, free: 224 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01419/6.789, allocations: 4.193 MB / 3.275 GB, free: 222.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001092/6.791, allocations: 58.45 kB / 3.275 GB, free: 222.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001882/6.792, allocations: 1.009 MB / 3.276 GB, free: 221.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009153/6.793, allocations: 242.2 kB / 3.276 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006962/6.794, allocations: 17.38 kB / 3.276 GB, free: 221.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001778/6.794, allocations: 347.1 kB / 3.277 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009824/6.804, allocations: 3.066 MB / 3.28 GB, free: 220.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009831/6.814, allocations: 3.113 MB / 3.283 GB, free: 219.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009682/6.824, allocations: 2.646 MB / 3.285 GB, free: 218.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/6.824, allocations: 0 / 3.285 GB, free: 218.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.04215/6.866, allocations: 7.819 MB / 3.293 GB, free: 216.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003588/6.866, allocations: 380.8 kB / 3.293 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/6.866, allocations: 3.984 kB / 3.293 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004982/6.871, allocations: 1.039 MB / 3.294 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004954/6.876, allocations: 0.6512 MB / 3.295 GB, free: 215.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004989/6.881, allocations: 4.896 MB / 3.3 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006233/6.888, allocations: 0.5823 MB / 3.3 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009579/6.889, allocations: 153.6 kB / 3.3 GB, free: 211.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/6.889, allocations: 4.406 kB / 3.3 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0384/6.927, allocations: 7.54 MB / 3.308 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/6.927, allocations: 0 / 3.308 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003848/6.931, allocations: 0.9241 MB / 3.309 GB, free: 209.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005146/6.936, allocations: 0.6514 MB / 3.309 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008442/6.945, allocations: 8.648 MB / 3.318 GB, free: 201.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006124/6.951, allocations: 0.5782 MB / 3.318 GB, free: 201.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009553/6.952, allocations: 150.3 kB / 3.319 GB, free: 201.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003435/6.955, allocations: 1.167 MB / 3.32 GB, free: 200.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/6.957, allocations: 254.5 kB / 3.32 GB, free: 200.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03642/6.993, allocations: 6.881 MB / 3.327 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/6.993, allocations: 7.875 kB / 3.327 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/6.994, allocations: 0 / 3.327 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.074e-05/6.994, allocations: 3.703 kB / 3.327 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00802/7.002, allocations: 3.6 MB / 3.33 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/7.002, allocations: 0 / 3.33 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004442/7.006, allocations: 0.6087 MB / 3.331 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/7.007, allocations: 250.2 kB / 3.331 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006264/7.008, allocations: 75.2 kB / 3.331 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002653/7.011, allocations: 2.202 MB / 3.333 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/7.011, allocations: 0 / 3.333 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03538/7.046, allocations: 6.512 MB / 3.34 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003988/7.05, allocations: 1.127 MB / 3.341 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001727/7.052, allocations: 62.02 kB / 3.341 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005934/7.058, allocations: 0.5499 MB / 3.341 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000476/7.058, allocations: 87.64 kB / 3.341 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006631/7.059, allocations: 142.8 kB / 3.341 GB, free: 192.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007238/7.066, allocations: 3.21 MB / 3.345 GB, free: 191.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/7.066, allocations: 0 / 3.345 GB, free: 191.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007524/7.074, allocations: 1.142 MB / 3.346 GB, free: 190.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[wetCoi.cooCap.stage],wetCoi.cooCap.checkBoundsTCon[wetCoi.cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02467/7.099, allocations: 7.135 MB / 3.353 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03008/7.129, allocations: 10.76 MB / 3.363 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/7.129, allocations: 0 / 3.363 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.009147/7.138, allocations: 2.896 MB / 3.366 GB, free: 171.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004878/7.143, allocations: 0.6317 MB / 3.367 GB, free: 171.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03152/7.174, allocations: 9.821 MB / 3.376 GB, free: 161.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002813/7.177, allocations: 2.129 MB / 3.378 GB, free: 159.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006832/7.184, allocations: 1.425 MB / 3.38 GB, free: 157.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002741/7.187, allocations: 0.9248 MB / 3.381 GB, free: 156.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/7.187, allocations: 0 / 3.381 GB, free: 156.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1401/7.327, allocations: 100.9 MB / 3.479 GB, free: 55.97 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/7.327, allocations: 266.1 kB / 3.479 GB, free: 55.61 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.815/13.14, allocations: 8 kB / 3.479 GB, free: 55.61 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)