Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, 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.001137/0.001137, 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.667/1.667, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.65/1.65, allocations: 251.9 MB / 0.51 GB, free: 4.879 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.000508/0.0005082, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5385/0.539, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002483/0.5415, allocations: 1.92 MB / 0.7299 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002288/0.5438, allocations: 1.642 MB / 0.7315 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.5439, allocations: 0 / 0.7315 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006267/0.5446, allocations: 203.2 kB / 0.7317 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.5447, allocations: 67.78 kB / 0.7317 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008944/0.5456, allocations: 368 kB / 0.7321 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.546, allocations: 255.5 kB / 0.7323 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.5461, allocations: 48.25 kB / 0.7324 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.5462, allocations: 131.6 kB / 0.7325 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.5464, allocations: 143.5 kB / 0.7326 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.5465, allocations: 20 kB / 0.7327 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.5468, allocations: 203.7 kB / 0.7328 GB, free: 6.457 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.547, allocations: 107.7 kB / 0.7329 GB, free: 6.352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.121e-05/0.5471, allocations: 77.58 kB / 0.733 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.5476, allocations: 468.8 kB / 0.7335 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5476, allocations: 0 / 0.7335 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5476, allocations: 0 / 0.7335 GB, free: 5.812 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5476, allocations: 0 / 0.7335 GB, free: 5.812 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001233/0.5488, allocations: 0.6478 MB / 0.7341 GB, free: 5.109 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.5489, allocations: 8.031 kB / 0.7341 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.5506, allocations: 175.3 kB / 0.7343 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.5513, allocations: 353.2 kB / 0.7346 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.5514, allocations: 75.38 kB / 0.7347 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.5515, allocations: 12 kB / 0.7347 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.5525, allocations: 455.5 kB / 0.7351 GB, free: 3.996 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.5526, allocations: 3.953 kB / 0.7351 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.5526, allocations: 0 / 0.7351 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.5526, allocations: 4 kB / 0.7351 GB, free: 3.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.5542, allocations: 0.6284 MB / 0.7358 GB, free: 3.359 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.5561, allocations: 1.058 MB / 0.7368 GB, free: 2.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/0.5609, allocations: 0.9119 MB / 0.7377 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.5609, allocations: 7.984 kB / 0.7377 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.562, allocations: 463 kB / 0.7381 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/0.562, allocations: 0 / 0.7381 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002422/0.5644, allocations: 0.9767 MB / 0.7391 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.5645, allocations: 55.34 kB / 0.7391 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.565, allocations: 429.6 kB / 0.7395 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.565, allocations: 33.7 kB / 0.7396 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.5652, allocations: 180 kB / 0.7397 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.5653, allocations: 47.28 kB / 0.7398 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.5653, allocations: 8 kB / 0.7398 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5654, allocations: 342.8 kB / 0.7401 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008595/0.5663, allocations: 408.6 kB / 0.7405 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/0.5671, allocations: 387.7 kB / 0.7409 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007983/0.568, allocations: 379.5 kB / 0.7412 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.568, allocations: 0 / 0.7412 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001886/0.5699, allocations: 0.9476 MB / 0.7422 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.5699, allocations: 37.69 kB / 0.7422 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5699, allocations: 3.938 kB / 0.7422 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.57, allocations: 7.938 kB / 0.7422 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.5704, allocations: 79.86 kB / 0.7423 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5704, allocations: 0 / 0.7423 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.5708, allocations: 55.84 kB / 0.7423 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.5709, allocations: 15.98 kB / 0.7424 GB, free: 12.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0002519/0.5711, allocations: 192.4 kB / 0.7425 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.5712, allocations: 31.62 kB / 0.7426 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.5713, allocations: 35.47 kB / 0.7426 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.5713, allocations: 11.92 kB / 0.7426 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5713, allocations: 0 / 0.7426 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5713, allocations: 4 kB / 0.7426 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.5719, allocations: 0.5478 MB / 0.7432 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5719, allocations: 0 / 0.7432 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.5724, allocations: 75.92 kB / 0.7432 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5724, allocations: 0 / 0.7432 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.5724, allocations: 7.984 kB / 0.7432 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5724, allocations: 0 / 0.7432 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5724, allocations: 0 / 0.7432 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.574, allocations: 0.6955 MB / 0.7439 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.5743, allocations: 168.6 kB / 0.7441 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.5744, allocations: 4 kB / 0.7441 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.5748, allocations: 63.94 kB / 0.7441 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.5749, allocations: 19.97 kB / 0.7442 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.5749, allocations: 11.98 kB / 0.7442 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003554/0.5753, allocations: 315.1 kB / 0.7445 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5753, allocations: 0 / 0.7445 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003844/0.5757, allocations: 88.14 kB / 0.7446 GB, free: 10.09 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.0004349/0.5761, allocations: 154.7 kB / 0.7447 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.5779, allocations: 0.8074 MB / 0.7455 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5779, allocations: 4 kB / 0.7455 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007705/0.5787, allocations: 343.7 kB / 0.7458 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.579, allocations: 81.33 kB / 0.7459 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.5807, allocations: 0.8644 MB / 0.7468 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.5811, allocations: 0.8146 MB / 0.7475 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003924/0.5815, allocations: 102.2 kB / 0.7476 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.5816, allocations: 35.41 kB / 0.7477 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5816, allocations: 0 / 0.7477 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.01133/0.593, allocations: 6.488 MB / 0.754 GB, free: 472 kB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1) Environment - environmentSimulation: