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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 179.4 kB / 7.802 MB, free: 140 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4483/0.4483, allocations: 90.85 MB / 99.07 MB, free: 3.316 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 221.4 MB / 342.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009524, allocations: 96.98 kB / 415.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.133e-06, allocations: 0 / 493.9 MB, free: 12.38 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4345, allocations: 72.3 MB / 0.5529 GB, free: 74.32 MB / 446.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6689/1.103, allocations: 385.9 MB / 0.9297 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.104, allocations: 89.62 kB / 0.9298 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.072/3.176, allocations: 0.65 GB / 1.58 GB, free: 72.42 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001792/3.176, allocations: 37.2 kB / 1.58 GB, free: 72.41 MB / 0.6231 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.003886/3.18, allocations: 1.492 MB / 1.581 GB, free: 71.52 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/3.18, allocations: 7.625 kB / 1.581 GB, free: 71.52 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/3.182, allocations: 492.3 kB / 1.582 GB, free: 71.44 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/3.186, allocations: 1.319 MB / 1.583 GB, free: 71.07 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/3.186, allocations: 114.1 kB / 1.583 GB, free: 71.06 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/3.186, allocations: 45.38 kB / 1.583 GB, free: 71.06 MB / 0.6231 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001252/3.188, allocations: 0.6217 MB / 1.584 GB, free: 71.06 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/3.189, allocations: 0.7633 MB / 1.585 GB, free: 70.76 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/3.189, allocations: 0 / 1.585 GB, free: 70.76 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.66e-05/3.189, allocations: 0 / 1.585 GB, free: 70.76 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/3.189, allocations: 34.83 kB / 1.585 GB, free: 70.76 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006543/3.196, allocations: 4.788 MB / 1.589 GB, free: 67.1 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/3.198, allocations: 0.6806 MB / 1.59 GB, free: 66.81 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/3.198, allocations: 201 kB / 1.59 GB, free: 66.72 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004539/3.199, allocations: 0.9045 MB / 1.591 GB, free: 65.66 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/3.199, allocations: 38.34 kB / 1.591 GB, free: 65.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 2.103e-06/3.199, allocations: 0 / 1.591 GB, free: 65.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.002956/3.202, allocations: 0.7791 MB / 1.592 GB, free: 65.27 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/3.202, allocations: 59.25 kB / 1.592 GB, free: 65.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/3.203, allocations: 0.749 MB / 1.593 GB, free: 64.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/3.203, allocations: 28.7 kB / 1.593 GB, free: 64.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/3.203, allocations: 396.8 kB / 1.593 GB, free: 64.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/3.203, allocations: 137.8 kB / 1.593 GB, free: 64.29 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/3.203, allocations: 0 / 1.593 GB, free: 64.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/3.203, allocations: 321.9 kB / 1.593 GB, free: 63.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/3.204, allocations: 174.6 kB / 1.594 GB, free: 63.89 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/3.204, allocations: 413 kB / 1.594 GB, free: 63.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006938/3.205, allocations: 262.4 kB / 1.594 GB, free: 63.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/3.205, allocations: 0 / 1.594 GB, free: 63.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001422/3.206, allocations: 0.7042 MB / 1.595 GB, free: 63.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002502/3.206, allocations: 1.654 MB / 1.597 GB, free: 61.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/3.206, allocations: 3.906 kB / 1.597 GB, free: 61.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/3.207, allocations: 238 kB / 1.597 GB, free: 61.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/3.208, allocations: 130.2 kB / 1.597 GB, free: 61.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009121/3.209, allocations: 0.8873 MB / 1.598 GB, free: 60.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/3.21, allocations: 176.2 kB / 1.598 GB, free: 60.35 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/3.21, allocations: 31.33 kB / 1.598 GB, free: 60.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/3.21, allocations: 3.812 kB / 1.598 GB, free: 60.34 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001152/3.211, allocations: 0.5752 MB / 1.599 GB, free: 60.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/3.211, allocations: 3.875 kB / 1.599 GB, free: 60.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005873/3.212, allocations: 229.6 kB / 1.599 GB, free: 59.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/3.212, allocations: 129.4 kB / 1.599 GB, free: 59.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008248/3.213, allocations: 0.8679 MB / 1.6 GB, free: 59.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/3.214, allocations: 156.9 kB / 1.6 GB, free: 59.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/3.215, allocations: 29.83 kB / 1.6 GB, free: 59.16 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.000174/3.215, allocations: 119 kB / 1.6 GB, free: 59.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/3.215, allocations: 99.75 kB / 1.6 GB, free: 59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/3.216, allocations: 0.7504 MB / 1.601 GB, free: 58.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/3.217, allocations: 3.906 kB / 1.601 GB, free: 58.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/3.217, allocations: 0 / 1.601 GB, free: 58.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/3.217, allocations: 0 / 1.601 GB, free: 58.6 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/3.221, allocations: 1.9 MB / 1.603 GB, free: 57.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/3.221, allocations: 0 / 1.603 GB, free: 57.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/3.221, allocations: 69.67 kB / 1.603 GB, free: 57.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006102/3.222, allocations: 249.8 kB / 1.603 GB, free: 57.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/3.222, allocations: 3.562 kB / 1.603 GB, free: 57.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008924/3.222, allocations: 0.9163 MB / 1.604 GB, free: 56.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/3.222, allocations: 3.906 kB / 1.604 GB, free: 56.5 MB / 0.6231 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002855/3.225, allocations: 1.111 MB / 1.605 GB, free: 55.79 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/3.226, allocations: 264.9 kB / 1.605 GB, free: 55.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/3.226, allocations: 3.75 kB / 1.605 GB, free: 55.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009342/3.227, allocations: 108.8 kB / 1.605 GB, free: 55.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/3.227, allocations: 43.64 kB / 1.605 GB, free: 55.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/3.227, allocations: 22.23 kB / 1.605 GB, free: 55.49 MB / 0.6231 GB Notification: Performance of sort global known variables: time 0.0007863/3.228, allocations: 0.5697 MB / 1.606 GB, free: 55.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001803/3.23, allocations: 0.615 MB / 1.607 GB, free: 55 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/3.231, allocations: 0.6617 MB / 1.607 GB, free: 54.76 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001576/3.232, allocations: 0.8082 MB / 1.608 GB, free: 54.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/3.232, allocations: 0.9688 kB / 1.608 GB, free: 54.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004471/3.233, allocations: 266.5 kB / 1.608 GB, free: 54.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/3.235, allocations: 387.7 kB / 1.609 GB, free: 54.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/3.239, allocations: 1.639 MB / 1.61 GB, free: 53.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/3.24, allocations: 1.161 MB / 1.611 GB, free: 52.41 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/3.24, allocations: 0 / 1.611 GB, free: 52.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.03754/3.278, allocations: 25.49 MB / 1.636 GB, free: 30.28 MB / 0.6231 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)