Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.282/2.282, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001054/0.001054, allocations: 184 kB / 0.4901 GB, free: 2.262 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.599/1.599, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0009874/0.0009873, allocations: 94.73 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003793, allocations: 10.34 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2803, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.877/4.157, allocations: 1.74 GB / 2.969 GB, free: 210.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/4.158, allocations: 111.1 kB / 2.969 GB, free: 210 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3049/4.463, allocations: 156.6 MB / 3.122 GB, free: 68.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.783e-06/4.463, allocations: 0 / 3.122 GB, free: 68.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001325/4.463, allocations: 32 kB / 3.122 GB, free: 68.16 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.006637/4.469, allocations: 3.068 MB / 3.125 GB, free: 65.02 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/4.469, allocations: 8.562 kB / 3.125 GB, free: 65.01 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003179/4.47, allocations: 98.52 kB / 3.125 GB, free: 64.91 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02274/4.492, allocations: 2.931 MB / 3.128 GB, free: 61.97 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006606/4.499, allocations: 2.866 MB / 3.131 GB, free: 59.04 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/4.499, allocations: 202.5 kB / 3.131 GB, free: 58.83 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/4.5, allocations: 67.94 kB / 3.131 GB, free: 58.76 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009347/4.509, allocations: 3.562 MB / 3.134 GB, free: 55.18 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/4.509, allocations: 0 / 3.134 GB, free: 55.18 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/4.509, allocations: 28 kB / 3.134 GB, free: 55.15 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/4.509, allocations: 12 kB / 3.134 GB, free: 55.14 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/4.525, allocations: 5.441 MB / 3.14 GB, free: 49.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02263/4.548, allocations: 8.81 MB / 3.148 GB, free: 40.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02037/4.568, allocations: 5.782 MB / 3.154 GB, free: 35 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/4.569, allocations: 28.45 kB / 3.154 GB, free: 34.98 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008676/4.577, allocations: 3.3 MB / 3.157 GB, free: 31.66 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 3.647e-06/4.577, allocations: 0 / 3.157 GB, free: 31.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.04778/4.625, allocations: 9.667 MB / 3.167 GB, free: 21.91 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/4.625, allocations: 93.77 kB / 3.167 GB, free: 21.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006689/4.632, allocations: 4.19 MB / 3.171 GB, free: 17.59 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008122/4.633, allocations: 57.7 kB / 3.171 GB, free: 17.53 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009149/4.634, allocations: 1.002 MB / 3.172 GB, free: 16.52 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005076/4.634, allocations: 244.6 kB / 3.172 GB, free: 16.28 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/4.634, allocations: 16 kB / 3.172 GB, free: 16.26 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/4.635, allocations: 349.9 kB / 3.173 GB, free: 15.91 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007814/4.642, allocations: 3.071 MB / 3.175 GB, free: 12.84 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007962/4.65, allocations: 3.106 MB / 3.179 GB, free: 9.719 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007377/4.658, allocations: 2.645 MB / 3.181 GB, free: 7.062 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/4.658, allocations: 0 / 3.181 GB, free: 7.062 MB / 1.167 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.6523/5.31, allocations: 7.802 MB / 3.189 GB, free: 367.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002733/5.311, allocations: 391.4 kB / 3.189 GB, free: 367.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/5.311, allocations: 5.453 kB / 3.189 GB, free: 367.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004792/5.315, allocations: 1.037 MB / 3.19 GB, free: 367.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006539/5.322, allocations: 0.6541 MB / 3.191 GB, free: 367.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006407/5.328, allocations: 4.894 MB / 3.196 GB, free: 363.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007733/5.336, allocations: 0.5841 MB / 3.196 GB, free: 363.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007253/5.337, allocations: 155.2 kB / 3.196 GB, free: 363.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/5.337, allocations: 2.844 kB / 3.196 GB, free: 363.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03939/5.376, allocations: 7.539 MB / 3.204 GB, free: 363.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/5.376, allocations: 8.859 kB / 3.204 GB, free: 363.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004383/5.381, allocations: 0.9214 MB / 3.205 GB, free: 363.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005104/5.386, allocations: 0.6485 MB / 3.205 GB, free: 363.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007895/5.394, allocations: 8.654 MB / 3.214 GB, free: 356.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006181/5.4, allocations: 0.5678 MB / 3.214 GB, free: 356.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005751/5.401, allocations: 151.8 kB / 3.214 GB, free: 356.3 MB / 1.167 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.002965/5.404, allocations: 1.167 MB / 3.215 GB, free: 356.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008558/5.404, allocations: 258.6 kB / 3.216 GB, free: 356 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03861/5.443, allocations: 6.873 MB / 3.222 GB, free: 355.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/5.443, allocations: 7.719 kB / 3.222 GB, free: 355.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/5.443, allocations: 0 / 3.222 GB, free: 355.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/5.443, allocations: 10.7 kB / 3.222 GB, free: 355.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/5.449, allocations: 3.593 MB / 3.226 GB, free: 355.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/5.449, allocations: 0 / 3.226 GB, free: 355.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004543/5.453, allocations: 0.6179 MB / 3.227 GB, free: 355.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/5.455, allocations: 246.3 kB / 3.227 GB, free: 355.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003029/5.455, allocations: 73.25 kB / 3.227 GB, free: 355.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/5.458, allocations: 2.202 MB / 3.229 GB, free: 353.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/5.458, allocations: 0 / 3.229 GB, free: 353.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03481/5.492, allocations: 6.521 MB / 3.235 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003559/5.496, allocations: 1.122 MB / 3.236 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008496/5.497, allocations: 60.7 kB / 3.237 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005058/5.502, allocations: 0.5479 MB / 3.237 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/5.502, allocations: 82.95 kB / 3.237 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002992/5.503, allocations: 140.9 kB / 3.237 GB, free: 353.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005224/5.508, allocations: 3.215 MB / 3.24 GB, free: 353.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/5.508, allocations: 6.594 kB / 3.24 GB, free: 353.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004814/5.513, allocations: 1.131 MB / 3.242 GB, free: 353 MB / 1.167 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.02125/5.534, allocations: 7.132 MB / 3.248 GB, free: 352 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02772/5.562, allocations: 10.75 MB / 3.259 GB, free: 350.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/5.562, allocations: 1.172 kB / 3.259 GB, free: 350.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.008296/5.57, allocations: 2.901 MB / 3.262 GB, free: 350.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/5.573, allocations: 0.641 MB / 3.262 GB, free: 350.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/5.596, allocations: 9.817 MB / 3.272 GB, free: 347.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/5.598, allocations: 2.135 MB / 3.274 GB, free: 346.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005422/5.603, allocations: 1.42 MB / 3.276 GB, free: 346.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/5.605, allocations: 0.924 MB / 3.276 GB, free: 346.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.292e-06/5.605, allocations: 4 kB / 3.276 GB, free: 346.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1371/5.742, allocations: 100.9 MB / 3.375 GB, free: 265 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/5.743, allocations: 273.9 kB / 3.375 GB, free: 264.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.358/11.1, allocations: 0 / 3.375 GB, free: 264.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat does not exist to compare? outputFormat=mat