Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 107.4 kB / 16.41 MB, free: 6.496 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.001574/0.001574, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7929/0.7929, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 62.56 kB / 0.5684 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2141, allocations: 77.92 MB / 0.6445 GB, free: 9.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.0601/0.2743, allocations: 61.14 MB / 0.7042 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02045/0.2948, allocations: 12 MB / 0.716 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/0.298, allocations: 59.62 kB / 0.716 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.3002, allocations: 0.6713 MB / 0.7167 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006949/0.3072, allocations: 1.967 MB / 0.7186 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.3109, allocations: 1.206 MB / 0.7198 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005161/0.3161, allocations: 3.087 MB / 0.7228 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.3178, allocations: 1.092 MB / 0.7239 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.3215, allocations: 1.328 MB / 0.7252 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.323, allocations: 0.8984 MB / 0.726 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.3231, allocations: 116 kB / 0.7261 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.3265, allocations: 1.447 MB / 0.7276 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003254/0.3268, allocations: 294.9 kB / 0.7278 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008265/0.3276, allocations: 0.688 MB / 0.7285 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004041/0.3317, allocations: 2.305 MB / 0.7308 GB, free: 456 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3317, allocations: 0 / 0.7308 GB, free: 456 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3317, allocations: 0 / 0.7308 GB, free: 456 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.3317, allocations: 0 / 0.7308 GB, free: 456 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003076/0.3348, allocations: 1.775 MB / 0.7325 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3349, allocations: 8.625 kB / 0.7325 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.3369, allocations: 419.6 kB / 0.7329 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.3391, allocations: 1.168 MB / 0.734 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/0.3392, allocations: 69.94 kB / 0.7341 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.3393, allocations: 84 kB / 0.7342 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.3412, allocations: 0.9975 MB / 0.7352 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.3412, allocations: 3.938 kB / 0.7352 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.3413, allocations: 32 kB / 0.7352 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.3413, allocations: 20 kB / 0.7352 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.3434, allocations: 0.8469 MB / 0.736 GB, free: 10.86 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.006771/0.3502, allocations: 5.235 MB / 0.7412 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.3534, allocations: 0.7847 MB / 0.7419 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006783/0.3541, allocations: 292.7 kB / 0.7422 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007148/0.3548, allocations: 0.9063 MB / 0.7431 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3549, allocations: 38.56 kB / 0.7431 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.385e-06/0.3549, allocations: 0 / 0.7431 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006623/0.3615, allocations: 1.704 MB / 0.7448 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.3616, allocations: 55.41 kB / 0.7448 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.3632, allocations: 1.076 MB / 0.7459 GB, free: 120 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/0.3632, allocations: 37.7 kB / 0.7459 GB, free: 76 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.4412/0.8044, allocations: 0.534 MB / 0.7464 GB, free: 99.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.8048, allocations: 162.4 kB / 0.7466 GB, free: 99.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/0.8052, allocations: 136.6 kB / 0.7467 GB, free: 99.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.8053, allocations: 329.4 kB / 0.747 GB, free: 99.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.8066, allocations: 308.1 kB / 0.7473 GB, free: 99.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.8078, allocations: 0.5272 MB / 0.7479 GB, free: 99.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.8095, allocations: 0.7158 MB / 0.7486 GB, free: 98.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.8095, allocations: 3.828 kB / 0.7486 GB, free: 98.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003373/0.8129, allocations: 1.008 MB / 0.7495 GB, free: 98.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.8129, allocations: 8.781 kB / 0.7495 GB, free: 98.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.813, allocations: 14.3 kB / 0.7496 GB, free: 98.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.8144, allocations: 307.5 kB / 0.7499 GB, free: 98.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/0.815, allocations: 128.6 kB / 0.75 GB, free: 98.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.8164, allocations: 0.8996 MB / 0.7509 GB, free: 97.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.8177, allocations: 148.4 kB / 0.751 GB, free: 97.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/0.8178, allocations: 34.62 kB / 0.751 GB, free: 97.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001384/0.8192, allocations: 0.5124 MB / 0.7515 GB, free: 97.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00113/0.8204, allocations: 0.5298 MB / 0.7521 GB, free: 96.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001773/0.8221, allocations: 0.7033 MB / 0.7527 GB, free: 96.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.191e-06/0.8222, allocations: 1.594 kB / 0.7527 GB, free: 96.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003057/0.8252, allocations: 0.999 MB / 0.7537 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.8253, allocations: 7.734 kB / 0.7537 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.8253, allocations: 5.312 kB / 0.7537 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.8265, allocations: 298.1 kB / 0.754 GB, free: 96.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.8271, allocations: 132.4 kB / 0.7541 GB, free: 96.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.8286, allocations: 0.8979 MB / 0.755 GB, free: 95.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.83, allocations: 135.4 kB / 0.7551 GB, free: 95.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.645e-05/0.8301, allocations: 34.45 kB / 0.7552 GB, free: 95.47 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002798/0.8304, allocations: 216.3 kB / 0.7554 GB, free: 95.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.8306, allocations: 117.3 kB / 0.7555 GB, free: 95.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.833, allocations: 0.9201 MB / 0.7564 GB, free: 94.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.8331, allocations: 7.406 kB / 0.7564 GB, free: 94.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8331, allocations: 0.5469 kB / 0.7564 GB, free: 94.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.8331, allocations: 2.812 kB / 0.7564 GB, free: 94.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005542/0.8387, allocations: 2.148 MB / 0.7585 GB, free: 93.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.8387, allocations: 3.438 kB / 0.7585 GB, free: 93.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.839, allocations: 60.12 kB / 0.7586 GB, free: 93.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.84, allocations: 295.8 kB / 0.7588 GB, free: 93.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/0.84, allocations: 16.53 kB / 0.7589 GB, free: 93.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.8415, allocations: 0.9262 MB / 0.7598 GB, free: 93.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.8415, allocations: 3.75 kB / 0.7598 GB, free: 93.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/0.8455, allocations: 1.145 MB / 0.7609 GB, free: 92.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/0.846, allocations: 273.9 kB / 0.7611 GB, free: 92.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.8462, allocations: 13.81 kB / 0.7612 GB, free: 92.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007953/0.847, allocations: 72.19 kB / 0.7612 GB, free: 92.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-05/0.8471, allocations: 40.27 kB / 0.7613 GB, free: 92.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/0.8471, allocations: 22.95 kB / 0.7613 GB, free: 92.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001399/0.8486, allocations: 0.7567 MB / 0.762 GB, free: 92.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8486, allocations: 0 / 0.762 GB, free: 92.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00222/0.8508, allocations: 0.5704 MB / 0.7626 GB, free: 92 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008282/0.8516, allocations: 389.3 kB / 0.763 GB, free: 91.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003393/0.855, allocations: 1.115 MB / 0.764 GB, free: 91.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8551, allocations: 8.875 kB / 0.7641 GB, free: 91.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009213/0.856, allocations: 346.1 kB / 0.7644 GB, free: 91.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.8585, allocations: 0.5041 MB / 0.7649 GB, free: 91.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/0.8641, allocations: 2.058 MB / 0.7669 GB, free: 90.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.8649, allocations: 1.071 MB / 0.7679 GB, free: 89.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001058/0.8659, allocations: 220.5 kB / 0.7681 GB, free: 89.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.8662, allocations: 85.77 kB / 0.7682 GB, free: 89.48 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.8662, allocations: 0 / 0.7682 GB, free: 89.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.04168/0.9079, allocations: 25.01 MB / 0.7926 GB, free: 69.45 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)