Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",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.563/2.563, allocations: 393.5 MB / 408.4 MB, free: 10.93 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.001397/0.001397, allocations: 168 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.581/1.581, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.000919/0.000919, allocations: 100.2 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003245, allocations: 11.94 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2452, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.4232, allocations: 157 MB / 1.383 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.4235, allocations: 95.94 kB / 1.383 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03495/0.4585, allocations: 13.16 MB / 1.396 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.246e-06/0.4586, allocations: 4 kB / 1.396 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.837e-05/0.4586, allocations: 15.94 kB / 1.396 GB, free: 15.07 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001622/0.4603, allocations: 0.8061 MB / 1.396 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.115e-05/0.4603, allocations: 8.031 kB / 1.396 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.799e-05/0.4604, allocations: 42.55 kB / 1.396 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.4606, allocations: 63.2 kB / 1.396 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.4612, allocations: 355.6 kB / 1.397 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.4612, allocations: 8 kB / 1.397 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.4613, allocations: 12 kB / 1.397 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.4616, allocations: 130.2 kB / 1.397 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4616, allocations: 0 / 1.397 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.4616, allocations: 4 kB / 1.397 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4616, allocations: 0 / 1.397 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.4618, allocations: 104 kB / 1.397 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009564/0.4628, allocations: 0.563 MB / 1.398 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.463, allocations: 110.5 kB / 1.398 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.463, allocations: 8.094 kB / 1.398 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.4632, allocations: 141.1 kB / 1.398 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 1.734e-06/0.4633, allocations: 0 / 1.398 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0006378/0.4639, allocations: 423.6 kB / 1.398 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.464, allocations: 81.11 kB / 1.398 GB, free: 12 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008893/0.4649, allocations: 0.6675 MB / 1.399 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.4649, allocations: 29.7 kB / 1.399 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.4651, allocations: 280.2 kB / 1.399 GB, free: 11 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.4652, allocations: 23.66 kB / 1.399 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.4652, allocations: 0 / 1.399 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4653, allocations: 314 kB / 1.4 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.4654, allocations: 55.95 kB / 1.4 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.4655, allocations: 51.97 kB / 1.4 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.4656, allocations: 81.67 kB / 1.4 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4656, allocations: 3.938 kB / 1.4 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003801/0.466, allocations: 286.5 kB / 1.4 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.4661, allocations: 29.7 kB / 1.4 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4661, allocations: 0 / 1.4 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4661, allocations: 4 kB / 1.4 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.4662, allocations: 11.98 kB / 1.4 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4662, allocations: 4 kB / 1.4 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.4664, allocations: 11.91 kB / 1.4 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.4664, allocations: 8 kB / 1.4 GB, free: 10.11 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0003554/0.4668, allocations: 332.8 kB / 1.4 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.4668, allocations: 67.2 kB / 1.401 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.4673, allocations: 332.8 kB / 1.401 GB, free: 9.355 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4673, allocations: 0 / 1.401 GB, free: 9.355 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4674, allocations: 4 kB / 1.401 GB, free: 9.352 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4674, allocations: 3.984 kB / 1.401 GB, free: 9.348 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.4677, allocations: 369.5 kB / 1.401 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4677, allocations: 0 / 1.401 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.4678, allocations: 12.11 kB / 1.401 GB, free: 8.926 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.4678, allocations: 7.953 kB / 1.401 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.4678, allocations: 4 kB / 1.401 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4678, allocations: 0 / 1.401 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4678, allocations: 0 / 1.401 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.4683, allocations: 333.9 kB / 1.402 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.4685, allocations: 152.2 kB / 1.402 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.4686, allocations: 7.953 kB / 1.402 GB, free: 8.387 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4687, allocations: 11.98 kB / 1.402 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.4688, allocations: 4 kB / 1.402 GB, free: 8.371 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.4688, allocations: 11.98 kB / 1.402 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006948/0.4695, allocations: 0.5575 MB / 1.402 GB, free: 7.809 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4695, allocations: 0 / 1.402 GB, free: 7.809 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006278/0.4701, allocations: 151.9 kB / 1.402 GB, free: 7.66 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001327/0.4715, allocations: 1.078 MB / 1.403 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.4718, allocations: 203.3 kB / 1.404 GB, free: 6.34 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4718, allocations: 0 / 1.404 GB, free: 6.34 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.472, allocations: 151.4 kB / 1.404 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.4724, allocations: 94.83 kB / 1.404 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.4772, allocations: 3.317 MB / 1.407 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.4778, allocations: 0.9819 MB / 1.408 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.4779, allocations: 17.5 kB / 1.408 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.4781, allocations: 155.4 kB / 1.408 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of SimCode: time 1.052e-06/0.4781, allocations: 0 / 1.408 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.5067, allocations: 12.34 MB / 1.42 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.507, allocations: 210 kB / 1.42 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.641, allocations: 0 / 1.42 GB, free: 5.191 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat does not exist to compare? outputFormat=mat