Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001292/0.001293, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.622/1.622, allocations: 251.9 MB / 0.51 GB, free: 4.883 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005383/0.0005383, allocations: 12 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5418/0.5423, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003555/0.546, allocations: 2.403 MB / 0.7303 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.5482, allocations: 1.159 MB / 0.7315 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.5485, allocations: 11.94 kB / 0.7315 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.5489, allocations: 107.5 kB / 0.7316 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.5493, allocations: 151.5 kB / 0.7317 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.5499, allocations: 223.7 kB / 0.7319 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.5503, allocations: 284.1 kB / 0.7322 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.5506, allocations: 138.3 kB / 0.7323 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.5508, allocations: 139.3 kB / 0.7325 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.551, allocations: 139.2 kB / 0.7326 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.5511, allocations: 12 kB / 0.7326 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.5512, allocations: 31.98 kB / 0.7326 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.5513, allocations: 59.69 kB / 0.7327 GB, free: 6.578 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.5514, allocations: 85.45 kB / 0.7328 GB, free: 6.488 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.5518, allocations: 403 kB / 0.7332 GB, free: 6.094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.5518, allocations: 3.938 kB / 0.7332 GB, free: 6.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5518, allocations: 0 / 0.7332 GB, free: 6.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.5518, allocations: 0 / 0.7332 GB, free: 6.09 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00108/0.5529, allocations: 0.6464 MB / 0.7338 GB, free: 5.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.553, allocations: 8.031 kB / 0.7338 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.5531, allocations: 47.44 kB / 0.7339 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.5537, allocations: 385.6 kB / 0.7342 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.5537, allocations: 20.56 kB / 0.7342 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.5538, allocations: 24 kB / 0.7343 GB, free: 4.879 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.5543, allocations: 271.6 kB / 0.7345 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.5543, allocations: 0 / 0.7345 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.5543, allocations: 12 kB / 0.7345 GB, free: 4.594 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.5544, allocations: 7.953 kB / 0.7345 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.5548, allocations: 186.2 kB / 0.7347 GB, free: 4.402 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.5561, allocations: 0.8804 MB / 0.7356 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007196/0.5569, allocations: 230.9 kB / 0.7358 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.5569, allocations: 4 kB / 0.7358 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003541/0.5573, allocations: 146 kB / 0.7359 GB, free: 3.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.744e-06/0.5573, allocations: 0 / 0.7359 GB, free: 3.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0006934/0.558, allocations: 289.4 kB / 0.7362 GB, free: 2.781 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.5581, allocations: 63.39 kB / 0.7363 GB, free: 2.707 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.5585, allocations: 405.6 kB / 0.7367 GB, free: 2.305 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.5586, allocations: 29.7 kB / 0.7367 GB, free: 2.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.5588, allocations: 212.1 kB / 0.7369 GB, free: 2.055 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.5588, allocations: 67.09 kB / 0.737 GB, free: 1.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.5589, allocations: 4 kB / 0.737 GB, free: 1.984 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.559, allocations: 346.8 kB / 0.7373 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.5592, allocations: 76.36 kB / 0.7374 GB, free: 1.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.5594, allocations: 115.6 kB / 0.7375 GB, free: 1.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.5596, allocations: 79.73 kB / 0.7376 GB, free: 1.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5597, allocations: 0 / 0.7376 GB, free: 1.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004916/0.5602, allocations: 262.7 kB / 0.7378 GB, free: 1.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.5602, allocations: 13.81 kB / 0.7378 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.5602, allocations: 0 / 0.7378 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.5602, allocations: 4 kB / 0.7378 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.5605, allocations: 51.91 kB / 0.7379 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.5605, allocations: 4 kB / 0.7379 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.5606, allocations: 24 kB / 0.7379 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.5607, allocations: 8 kB / 0.7379 GB, free: 0.9961 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.not1.y,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled,reaToInt.y,dxSpeCon.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0002043/0.5609, allocations: 169.7 kB / 0.7381 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.5609, allocations: 43.45 kB / 0.7381 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.209e-05/0.561, allocations: 47.53 kB / 0.7382 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.561, allocations: 4 kB / 0.7382 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.561, allocations: 3.938 kB / 0.7382 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5611, allocations: 8 kB / 0.7382 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009644/0.562, allocations: 0.6771 MB / 0.7388 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.562, allocations: 0 / 0.7388 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.5622, allocations: 39.92 kB / 0.7389 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5622, allocations: 0 / 0.7389 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.5623, allocations: 4 kB / 0.7389 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5623, allocations: 4 kB / 0.7389 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5623, allocations: 0 / 0.7389 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.563, allocations: 422.9 kB / 0.7393 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.5632, allocations: 140.6 kB / 0.7394 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.5632, allocations: 7.953 kB / 0.7394 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.5634, allocations: 7.984 kB / 0.7394 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.5635, allocations: 19.97 kB / 0.7394 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.5635, allocations: 12 kB / 0.7395 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003019/0.5638, allocations: 291.1 kB / 0.7397 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5638, allocations: 0 / 0.7397 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003343/0.5642, allocations: 55.84 kB / 0.7398 GB, free: 14.96 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.not1.y,$whenCondition2,$whenCondition1,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000955/0.5651, allocations: 420.5 kB / 0.7402 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004425/0.5656, allocations: 182.2 kB / 0.7404 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5656, allocations: 0 / 0.7404 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.5658, allocations: 96.2 kB / 0.7405 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.5663, allocations: 78.69 kB / 0.7405 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.5674, allocations: 0.7146 MB / 0.7412 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.5678, allocations: 0.8109 MB / 0.742 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.568, allocations: 38.95 kB / 0.7421 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.5681, allocations: 31.42 kB / 0.7421 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.5681, allocations: 0 / 0.7421 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of Templates: time 0.00771/0.5758, allocations: 3.45 MB / 0.7455 GB, free: 9.328 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) Environment - environmentSimulation: