Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 117.9 kB / 17.09 MB, free: 6.008 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.001231/0.001231, allocations: 190.9 kB / 18.03 MB, free: 5.09 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6845/0.6845, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 64.17 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1963, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.07538/0.2717, allocations: 75.13 MB / 0.7061 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.2917, allocations: 12.75 MB / 0.7185 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003572/0.2953, allocations: 63.62 kB / 0.7186 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003428/0.2987, allocations: 0.8306 MB / 0.7194 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009193/0.308, allocations: 2.463 MB / 0.7218 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004876/0.3129, allocations: 1.402 MB / 0.7232 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008042/0.321, allocations: 4.385 MB / 0.7275 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003272/0.3243, allocations: 1.445 MB / 0.7289 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005467/0.3298, allocations: 1.66 MB / 0.7305 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.3328, allocations: 1.19 MB / 0.7317 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007904/0.3336, allocations: 160 kB / 0.7318 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004823/0.3385, allocations: 1.412 MB / 0.7332 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009085/0.3394, allocations: 394.6 kB / 0.7336 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00243/0.3419, allocations: 0.9138 MB / 0.7345 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006908/0.3488, allocations: 2.851 MB / 0.7373 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3488, allocations: 0 / 0.7373 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3488, allocations: 0 / 0.7373 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001001/0.3489, allocations: 0 / 0.7373 GB, free: 9.008 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006201/0.3551, allocations: 2.083 MB / 0.7393 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.3552, allocations: 8.031 kB / 0.7393 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.3565, allocations: 230.8 kB / 0.7395 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003503/0.36, allocations: 1.517 MB / 0.741 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-05/0.3601, allocations: 70 kB / 0.7411 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.3603, allocations: 107.9 kB / 0.7412 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.363, allocations: 1.108 MB / 0.7422 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.3631, allocations: 0 / 0.7422 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.3632, allocations: 40 kB / 0.7423 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.3632, allocations: 24 kB / 0.7423 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.3655, allocations: 0.89 MB / 0.7432 GB, free: 2.781 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4852/0.8507, allocations: 4.891 MB / 0.748 GB, free: 108 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.8523, allocations: 0.6189 MB / 0.7486 GB, free: 108 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000776/0.8531, allocations: 349.6 kB / 0.7489 GB, free: 108 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000519/0.8537, allocations: 0.829 MB / 0.7497 GB, free: 107 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.8537, allocations: 38.91 kB / 0.7497 GB, free: 107 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.935e-06/0.8537, allocations: 1.719 kB / 0.7497 GB, free: 107 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007902/0.8616, allocations: 1.689 MB / 0.7514 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.8617, allocations: 57.28 kB / 0.7514 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.864, allocations: 1.227 MB / 0.7526 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.8642, allocations: 43.27 kB / 0.7527 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006296/0.8648, allocations: 0.602 MB / 0.7533 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.8651, allocations: 213.7 kB / 0.7535 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.8654, allocations: 154.3 kB / 0.7536 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.8655, allocations: 337.8 kB / 0.7539 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007397/0.8662, allocations: 287.2 kB / 0.7542 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009081/0.8671, allocations: 499 kB / 0.7547 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.8688, allocations: 0.7019 MB / 0.7554 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.8688, allocations: 1.125 kB / 0.7554 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004957/0.8737, allocations: 1.269 MB / 0.7566 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.8738, allocations: 14.28 kB / 0.7566 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.8738, allocations: 5.125 kB / 0.7566 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/0.8744, allocations: 138.4 kB / 0.7568 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.8751, allocations: 156.4 kB / 0.7569 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000795/0.8759, allocations: 0.6935 MB / 0.7576 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.877, allocations: 118.7 kB / 0.7577 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.357e-05/0.8771, allocations: 34.95 kB / 0.7577 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001314/0.8785, allocations: 0.556 MB / 0.7583 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008911/0.8794, allocations: 494 kB / 0.7588 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00175/0.8811, allocations: 0.7005 MB / 0.7594 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.53e-06/0.8811, allocations: 5.188 kB / 0.7594 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005279/0.8864, allocations: 1.267 MB / 0.7607 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.8865, allocations: 7.984 kB / 0.7607 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.8865, allocations: 8.188 kB / 0.7607 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/0.887, allocations: 138.2 kB / 0.7608 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.8877, allocations: 155.1 kB / 0.761 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000844/0.8886, allocations: 0.6965 MB / 0.7617 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.8898, allocations: 102.2 kB / 0.7618 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-05/0.8899, allocations: 29.88 kB / 0.7618 GB, free: 101.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003475/0.8903, allocations: 225.7 kB / 0.762 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/0.8906, allocations: 136.2 kB / 0.7621 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005086/0.8957, allocations: 1.255 MB / 0.7634 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004294/0.9, allocations: 1.101 MB / 0.7644 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.9, allocations: 7.562 kB / 0.7644 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008564/0.9009, allocations: 304.9 kB / 0.7647 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.9011, allocations: 10.56 kB / 0.7647 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/0.9019, allocations: 52.95 kB / 0.7648 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.902, allocations: 53.59 kB / 0.7648 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00269/0.9047, allocations: 0.9611 MB / 0.7658 GB, free: 99.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002414/0.9072, allocations: 1.332 MB / 0.7671 GB, free: 98.85 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000642/0.9078, allocations: 325 kB / 0.7674 GB, free: 98.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001283/0.9091, allocations: 0.8617 MB / 0.7682 GB, free: 98.21 MB / 0.5762 GB Notification: Performance of Backend: time 6.11e-07/0.9091, allocations: 0 / 0.7682 GB, free: 98.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003866/0.913, allocations: 1.37 MB / 0.7696 GB, free: 97.64 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004732/0.9177, allocations: 3.137 MB / 0.7726 GB, free: 95.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.04641/0.9642, allocations: 33.52 MB / 0.8054 GB, free: 64.46 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)