Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001514/0.001514, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00145/0.00145, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 62.66 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3452, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003709/0.349, allocations: 2.209 MB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003318/0.3523, allocations: 2.601 MB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.3525, allocations: 4 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.354, allocations: 0.5371 MB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.3543, allocations: 111.5 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006899/0.355, allocations: 207 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.3556, allocations: 410.2 kB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3557, allocations: 69.06 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.356, allocations: 127.3 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.3562, allocations: 155.2 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.3563, allocations: 8 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.3565, allocations: 71.89 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.3566, allocations: 135.5 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.3568, allocations: 230.4 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.3575, allocations: 0.7006 MB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3575, allocations: 0 / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3575, allocations: 4 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.3576, allocations: 0 / 1.075 GB, free: 3.223 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.001363/0.3589, allocations: 0.9105 MB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.359, allocations: 8.031 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.3591, allocations: 68.09 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007815/0.3599, allocations: 452 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3599, allocations: 8.375 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.36, allocations: 8.125 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.3602, allocations: 108.1 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3602, allocations: 0 / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3602, allocations: 0 / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3603, allocations: 4 kB / 1.077 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3604, allocations: 35.98 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.3612, allocations: 0.5239 MB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.3617, allocations: 106.6 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.3617, allocations: 32.84 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3618, allocations: 3.984 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.362, allocations: 91.41 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.362, allocations: 7.938 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004675/0.3625, allocations: 196.9 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.3625, allocations: 102.8 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.3636, allocations: 0.9188 MB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3637, allocations: 29.7 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.364, allocations: 316 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.364, allocations: 15.75 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.3641, allocations: 33.64 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3643, allocations: 313.9 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.3644, allocations: 27.98 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.3646, allocations: 72.27 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3647, allocations: 73.75 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3647, allocations: 4 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002858/0.365, allocations: 172.7 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.365, allocations: 8 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3651, allocations: 0 / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3651, allocations: 0 / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.3652, allocations: 19.92 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.3652, allocations: 0 / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.3653, allocations: 8.125 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3653, allocations: 4 kB / 1.08 GB, free: 14.31 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.000352/0.3657, allocations: 329.6 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.3658, allocations: 67.16 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.3659, allocations: 78.41 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3659, allocations: 0 / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3659, allocations: 0 / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.366, allocations: 3.938 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3664, allocations: 401.3 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3665, allocations: 0 / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/0.3665, allocations: 4 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3665, allocations: 0 / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3665, allocations: 11.98 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3665, allocations: 3.938 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3666, allocations: 0 / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.3669, allocations: 196.1 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.3671, allocations: 140.2 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.3671, allocations: 0 / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.3673, allocations: 15.98 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.3673, allocations: 11.98 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3674, allocations: 7.938 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008606/0.3682, allocations: 0.6824 MB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3682, allocations: 0 / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003113/0.3686, allocations: 56 kB / 1.082 GB, free: 12.23 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.001201/0.3698, allocations: 419.5 kB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.37, allocations: 75.91 kB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.37, allocations: 4.062 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3702, allocations: 39.91 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006965/0.3709, allocations: 169.7 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.3728, allocations: 1.265 MB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.3734, allocations: 1.002 MB / 1.084 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000165/0.3736, allocations: 42.97 kB / 1.084 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.3737, allocations: 27.42 kB / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of SimCode: time 3.8e-07/0.3737, allocations: 0 / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of Templates: time 0.01297/0.3866, allocations: 6.017 MB / 1.09 GB, free: 3.387 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1)