Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009358, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007385/0.007385, allocations: 171.3 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5873/0.5873, allocations: 95.62 MB / 366.4 MB, free: 10.25 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005821/0.0005822, allocations: 20 kB / 447.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3654, allocations: 70.34 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002094/0.3676, allocations: 1.666 MB / 0.5073 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.3701, allocations: 2.49 MB / 0.5097 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.3703, allocations: 0 / 0.5097 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.3715, allocations: 487.9 kB / 0.5102 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.3717, allocations: 55.72 kB / 0.5103 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.3724, allocations: 199.7 kB / 0.5105 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.3727, allocations: 302 kB / 0.5107 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.3729, allocations: 84.72 kB / 0.5108 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.373, allocations: 95.45 kB / 0.5109 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.3731, allocations: 123.3 kB / 0.511 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.3732, allocations: 7.938 kB / 0.511 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.3736, allocations: 295.6 kB / 0.5113 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3737, allocations: 103.5 kB / 0.5114 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.3739, allocations: 220.2 kB / 0.5116 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.3745, allocations: 0.7281 MB / 0.5123 GB, free: 9.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3746, allocations: 4 kB / 0.5123 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3746, allocations: 3.938 kB / 0.5123 GB, free: 9.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3746, allocations: 0 / 0.5123 GB, free: 9.48 MB / 382.1 MB 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.001109/0.3757, allocations: 0.7677 MB / 0.5131 GB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/0.3758, allocations: 11.98 kB / 0.5131 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.814e-05/0.3759, allocations: 60.19 kB / 0.5132 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.3763, allocations: 371.7 kB / 0.5135 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.3764, allocations: 8 kB / 0.5135 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3764, allocations: 12 kB / 0.5135 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.3767, allocations: 121.6 kB / 0.5137 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3767, allocations: 0 / 0.5137 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3767, allocations: 8 kB / 0.5137 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3768, allocations: 0 / 0.5137 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3769, allocations: 107.9 kB / 0.5138 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007893/0.3777, allocations: 0.5394 MB / 0.5143 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.3779, allocations: 106.5 kB / 0.5144 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.378, allocations: 64.97 kB / 0.5145 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.378, allocations: 8 kB / 0.5145 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.3783, allocations: 129.1 kB / 0.5146 GB, free: 7.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.3783, allocations: 0 / 0.5146 GB, free: 7.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004652/0.3788, allocations: 314.5 kB / 0.5149 GB, free: 6.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.3789, allocations: 81.11 kB / 0.515 GB, free: 6.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008298/0.3797, allocations: 0.7658 MB / 0.5157 GB, free: 5.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3798, allocations: 25.7 kB / 0.5157 GB, free: 5.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.38, allocations: 272.3 kB / 0.516 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.3801, allocations: 27.64 kB / 0.516 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.3801, allocations: 17.72 kB / 0.516 GB, free: 5.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3802, allocations: 313.9 kB / 0.5163 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.3803, allocations: 51.97 kB / 0.5164 GB, free: 5.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.3804, allocations: 47.97 kB / 0.5164 GB, free: 5.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.3805, allocations: 156.6 kB / 0.5166 GB, free: 4.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3806, allocations: 0 / 0.5166 GB, free: 4.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002786/0.3808, allocations: 266.5 kB / 0.5168 GB, free: 4.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.3809, allocations: 37.69 kB / 0.5169 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.3809, allocations: 0 / 0.5169 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.381, allocations: 0 / 0.5169 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3811, allocations: 8 kB / 0.5169 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3811, allocations: 0 / 0.5169 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.3812, allocations: 19.89 kB / 0.5169 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.3813, allocations: 11.94 kB / 0.5169 GB, free: 4.523 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002914/0.3816, allocations: 331.4 kB / 0.5172 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.3816, allocations: 63.19 kB / 0.5173 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.382, allocations: 296.6 kB / 0.5176 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.382, allocations: 4 kB / 0.5176 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.382, allocations: 0 / 0.5176 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.382, allocations: 0 / 0.5176 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.3823, allocations: 381.2 kB / 0.5179 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3823, allocations: 0 / 0.5179 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.3823, allocations: 4 kB / 0.5179 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.3823, allocations: 4 kB / 0.5179 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3823, allocations: 4 kB / 0.518 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3824, allocations: 4 kB / 0.518 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3824, allocations: 0 / 0.518 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.3826, allocations: 309.9 kB / 0.5183 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3827, allocations: 140.3 kB / 0.5184 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.3828, allocations: 3.984 kB / 0.5184 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.3829, allocations: 8 kB / 0.5184 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.383, allocations: 11.98 kB / 0.5184 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.383, allocations: 4 kB / 0.5184 GB, free: 2.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004739/0.3835, allocations: 0.5691 MB / 0.519 GB, free: 2.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3835, allocations: 0 / 0.519 GB, free: 2.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.3838, allocations: 120 kB / 0.5191 GB, free: 2.18 MB / 382.1 MB 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,greaterThreshold.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003426/0.3842, allocations: 193.2 kB / 0.5193 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.3845, allocations: 203.3 kB / 0.5195 GB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3845, allocations: 0 / 0.5195 GB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3846, allocations: 147.4 kB / 0.5196 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.3852, allocations: 106.4 kB / 0.5197 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3867, allocations: 1.153 MB / 0.5208 GB, free: 340 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.3872, allocations: 0.9702 MB / 0.5218 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.928e-05/0.3873, allocations: 21.5 kB / 0.5218 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.3873, allocations: 15.44 kB / 0.5218 GB, free: 15.3 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3873, allocations: 3.938 kB / 0.5218 GB, free: 15.3 MB / 398.1 MB Notification: Performance of Templates: time 0.009928/0.3973, allocations: 4.944 MB / 0.5266 GB, free: 10.39 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) Environment - environmentSimulation: