Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.0009938/0.0009941, allocations: 180.6 kB / 487.4 MB, free: 5.043 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.472/1.472, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.0009162/0.0009162, allocations: 83.94 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.346e-05, allocations: 8 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3229, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.281/4.604, allocations: 1.738 GB / 2.944 GB, free: 145 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/4.605, allocations: 103.9 kB / 2.944 GB, free: 144.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.264/4.869, allocations: 140.1 MB / 3.081 GB, free: 3.395 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.857e-06/4.869, allocations: 4 kB / 3.081 GB, free: 3.391 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001655/4.869, allocations: 36.16 kB / 3.081 GB, free: 3.355 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.005717/4.875, allocations: 2.222 MB / 3.083 GB, free: 1.066 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/4.875, allocations: 8.031 kB / 3.083 GB, free: 1.059 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7682/5.643, allocations: 2.923 MB / 3.086 GB, free: 367.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008194/5.651, allocations: 2.829 MB / 3.089 GB, free: 366.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003803/5.652, allocations: 171.1 kB / 3.089 GB, free: 366.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/5.652, allocations: 35.67 kB / 3.089 GB, free: 366.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006153/5.658, allocations: 3.554 MB / 3.093 GB, free: 366.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004426/5.663, allocations: 2.575 MB / 3.095 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/5.663, allocations: 2.062 kB / 3.095 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/5.663, allocations: 6.156 kB / 3.095 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/5.663, allocations: 12.19 kB / 3.095 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02394/5.687, allocations: 8.7 MB / 3.104 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/5.697, allocations: 3.975 MB / 3.107 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/5.7, allocations: 1.599 MB / 3.109 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/5.7, allocations: 25.2 kB / 3.109 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003637/5.704, allocations: 2.34 MB / 3.111 GB, free: 365.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 6.021e-06/5.704, allocations: 0 / 3.111 GB, free: 365.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.02848/5.732, allocations: 5.144 MB / 3.116 GB, free: 365.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/5.732, allocations: 95.86 kB / 3.116 GB, free: 365.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007877/5.74, allocations: 3.994 MB / 3.12 GB, free: 365.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009898/5.741, allocations: 44.55 kB / 3.12 GB, free: 365.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/5.742, allocations: 0.9841 MB / 3.121 GB, free: 365.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005105/5.743, allocations: 236.6 kB / 3.122 GB, free: 365 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/5.743, allocations: 1.281 kB / 3.122 GB, free: 365 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/5.743, allocations: 345.6 kB / 3.122 GB, free: 364.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/5.746, allocations: 2.132 MB / 3.124 GB, free: 363.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/5.749, allocations: 2.171 MB / 3.126 GB, free: 362.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02638/5.775, allocations: 11.36 MB / 3.137 GB, free: 361.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/5.775, allocations: 0 / 3.137 GB, free: 361.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.04804/5.823, allocations: 15.54 MB / 3.152 GB, free: 359.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002588/5.824, allocations: 395.2 kB / 3.153 GB, free: 359.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/5.824, allocations: 0 / 3.153 GB, free: 359.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003757/5.828, allocations: 0.9577 MB / 3.154 GB, free: 359.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004428/5.832, allocations: 0.6485 MB / 3.154 GB, free: 359.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004082/5.836, allocations: 4.846 MB / 3.159 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005774/5.842, allocations: 0.5631 MB / 3.16 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007909/5.843, allocations: 151.3 kB / 3.16 GB, free: 354.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/5.843, allocations: 3.969 kB / 3.16 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04718/5.89, allocations: 15.21 MB / 3.175 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/5.89, allocations: 0 / 3.175 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003455/5.893, allocations: 0.877 MB / 3.175 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004749/5.898, allocations: 0.654 MB / 3.176 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006048/5.904, allocations: 8.217 MB / 3.184 GB, free: 345.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00575/5.91, allocations: 0.5534 MB / 3.185 GB, free: 345.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007701/5.911, allocations: 152.9 kB / 3.185 GB, free: 345.1 MB / 1.151 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 () * 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.0008593/5.912, allocations: 182.5 kB / 3.185 GB, free: 344.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0231/5.935, allocations: 5.053 MB / 3.19 GB, free: 343.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001672/5.937, allocations: 258.8 kB / 3.19 GB, free: 343.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02342/5.96, allocations: 5.22 MB / 3.195 GB, free: 339.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/5.96, allocations: 4 kB / 3.195 GB, free: 339.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/5.96, allocations: 7.984 kB / 3.195 GB, free: 339.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/5.96, allocations: 0 / 3.195 GB, free: 339.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005013/5.965, allocations: 3.506 MB / 3.199 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/5.965, allocations: 0 / 3.199 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004067/5.969, allocations: 0.6114 MB / 3.199 GB, free: 335.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007725/5.97, allocations: 201.5 kB / 3.2 GB, free: 335 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003451/5.97, allocations: 67.89 kB / 3.2 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/5.972, allocations: 2.086 MB / 3.202 GB, free: 332.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/5.972, allocations: 0 / 3.202 GB, free: 332.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/5.995, allocations: 4.87 MB / 3.206 GB, free: 327.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002606/5.998, allocations: 1.12 MB / 3.207 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000878/5.998, allocations: 51.97 kB / 3.208 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004835/6.003, allocations: 0.5448 MB / 3.208 GB, free: 326.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/6.003, allocations: 81.36 kB / 3.208 GB, free: 326 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002896/6.004, allocations: 139.9 kB / 3.208 GB, free: 325.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004014/6.008, allocations: 3.021 MB / 3.211 GB, free: 322.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/6.008, allocations: 0 / 3.211 GB, free: 322.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004069/6.012, allocations: 1.086 MB / 3.212 GB, free: 321.9 MB / 1.151 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]) * 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.01026/6.022, allocations: 5.598 MB / 3.218 GB, free: 316.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009902/6.032, allocations: 7.951 MB / 3.226 GB, free: 308.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/6.032, allocations: 0 / 3.226 GB, free: 308.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/6.035, allocations: 1.942 MB / 3.227 GB, free: 306.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/6.038, allocations: 0.6135 MB / 3.228 GB, free: 305.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/6.052, allocations: 6.664 MB / 3.235 GB, free: 299.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/6.054, allocations: 2.141 MB / 3.237 GB, free: 297.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.007536/6.061, allocations: 2.862 MB / 3.239 GB, free: 294.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/6.063, allocations: 0.8818 MB / 3.24 GB, free: 293.3 MB / 1.151 GB Notification: Performance of SimCode: time 9.61e-07/6.063, allocations: 7.844 kB / 3.24 GB, free: 293.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1314/6.194, allocations: 88.88 MB / 3.327 GB, free: 205.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/6.195, allocations: 192.9 kB / 3.327 GB, free: 205.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.175/11.37, allocations: 4 kB / 3.327 GB, free: 205.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat does not exist to compare? outputFormat=mat