Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00167/0.00167, allocations: 192.2 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 65.66 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.427, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.005606/0.4327, allocations: 2.211 MB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005095/0.4378, allocations: 2.609 MB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.4381, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.4404, allocations: 0.541 MB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.4409, allocations: 103.6 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009886/0.4419, allocations: 211.1 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006495/0.4425, allocations: 350.2 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.4428, allocations: 81.05 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.443, allocations: 115.3 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.4433, allocations: 151.2 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.4433, allocations: 4 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.4436, allocations: 55.91 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.4438, allocations: 135.4 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.4441, allocations: 222.4 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009274/0.4451, allocations: 0.685 MB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4451, allocations: 4 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4451, allocations: 0 / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.4451, allocations: 0 / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001851/0.447, allocations: 0.9106 MB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.4471, allocations: 8.031 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.4472, allocations: 72.08 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.4481, allocations: 456 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.4482, allocations: 8.375 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.4482, allocations: 4.125 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.4485, allocations: 108.1 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4486, allocations: 0 / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.4486, allocations: 0 / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.4486, allocations: 4 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.4488, allocations: 39.97 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.4499, allocations: 0.524 MB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.4505, allocations: 98.64 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.4506, allocations: 32.84 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.4507, allocations: 0 / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.4509, allocations: 91.41 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.451, allocations: 0 / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006315/0.4516, allocations: 200.7 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/0.4517, allocations: 102.8 kB / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.4534, allocations: 0.9188 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.4534, allocations: 29.7 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/0.4538, allocations: 312.1 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.4539, allocations: 27.73 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.454, allocations: 21.72 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002218/0.4542, allocations: 317.9 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.4543, allocations: 31.92 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.4545, allocations: 72.22 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.4547, allocations: 73.69 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4548, allocations: 0 / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004289/0.4552, allocations: 172.7 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4552, allocations: 8 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4553, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.4553, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.4554, allocations: 15.98 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4554, allocations: 0 / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.4557, allocations: 11.88 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.4557, allocations: 12.02 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0004987/0.4562, allocations: 325.1 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.4563, allocations: 67.34 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.4565, allocations: 78.41 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4565, allocations: 3.938 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4565, allocations: 0 / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4565, allocations: 3.938 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.4571, allocations: 401.3 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4572, allocations: 0 / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.4572, allocations: 11.98 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4573, allocations: 0 / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.4573, allocations: 4 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4573, allocations: 0 / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4573, allocations: 0 / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.4577, allocations: 200.5 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.458, allocations: 136.2 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.584e-05/0.4581, allocations: 7.984 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.4583, allocations: 8 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.4584, allocations: 7.984 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.4584, allocations: 11.94 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001221/0.4596, allocations: 0.6785 MB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4597, allocations: 0 / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004937/0.4602, allocations: 56 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001592/0.4618, allocations: 425.8 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.4622, allocations: 83.88 kB / 1.082 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.4622, allocations: 4 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.4624, allocations: 31.98 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.4635, allocations: 149 kB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.4661, allocations: 1.271 MB / 1.083 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008295/0.467, allocations: 0.9905 MB / 1.084 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002667/0.4672, allocations: 46.95 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.79e-05/0.4673, allocations: 23.44 kB / 1.084 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of SimCode: time 7.81e-07/0.4673, allocations: 0 / 1.084 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of Templates: time 0.01866/0.486, allocations: 5.844 MB / 1.09 GB, free: 3.766 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1)