Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") [: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.00116/0.00116, allocations: 188.9 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4511/0.4511, allocations: 90.84 MB / 99.07 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 221.4 MB / 342.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009801/0.0009801, allocations: 91.36 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.383e-06/7.403e-06, allocations: 0 / 493.9 MB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4466, allocations: 72.3 MB / 0.5529 GB, free: 73.58 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6984/1.145, allocations: 386 MB / 0.9298 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/1.145, allocations: 82.42 kB / 0.9299 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.827/4.973, allocations: 1.069 GB / 1.999 GB, free: 75.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001212/4.973, allocations: 36.17 kB / 1.999 GB, free: 75.52 MB / 0.6355 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.002782/4.976, allocations: 1.497 MB / 2 GB, free: 74.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/4.976, allocations: 7.781 kB / 2 GB, free: 74.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/4.977, allocations: 378.4 kB / 2.001 GB, free: 74.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/4.98, allocations: 1.274 MB / 2.002 GB, free: 74.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003392/4.98, allocations: 104.7 kB / 2.002 GB, free: 74.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/4.98, allocations: 48.12 kB / 2.002 GB, free: 74.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/4.981, allocations: 0.6037 MB / 2.003 GB, free: 74.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/4.982, allocations: 0.7437 MB / 2.003 GB, free: 74.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/4.982, allocations: 6.656 kB / 2.003 GB, free: 74.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/4.982, allocations: 0 / 2.003 GB, free: 74.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/4.983, allocations: 31.23 kB / 2.003 GB, free: 74.24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005454/4.988, allocations: 4.682 MB / 2.008 GB, free: 71.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/4.989, allocations: 399.9 kB / 2.008 GB, free: 71.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/4.989, allocations: 178.6 kB / 2.009 GB, free: 71.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/4.99, allocations: 1.377 MB / 2.01 GB, free: 70.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/4.99, allocations: 47.34 kB / 2.01 GB, free: 70.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 2.665e-06/4.99, allocations: 2.719 kB / 2.01 GB, free: 70.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.003029/4.993, allocations: 0.8328 MB / 2.011 GB, free: 69.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/4.993, allocations: 55.34 kB / 2.011 GB, free: 69.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008575/4.994, allocations: 0.747 MB / 2.012 GB, free: 69.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/4.994, allocations: 29.61 kB / 2.012 GB, free: 69.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/4.994, allocations: 391 kB / 2.012 GB, free: 69.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.327e-05/4.994, allocations: 139.4 kB / 2.012 GB, free: 69.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/4.994, allocations: 0 / 2.012 GB, free: 69.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.728e-05/4.994, allocations: 325.9 kB / 2.012 GB, free: 69.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/4.995, allocations: 160.4 kB / 2.013 GB, free: 69.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/4.995, allocations: 392.3 kB / 2.013 GB, free: 68.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000904/4.996, allocations: 341.6 kB / 2.013 GB, free: 68.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/4.996, allocations: 0 / 2.013 GB, free: 68.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001518/4.997, allocations: 0.7575 MB / 2.014 GB, free: 68.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002658/4.998, allocations: 1.569 MB / 2.016 GB, free: 67.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/4.998, allocations: 3.844 kB / 2.016 GB, free: 67.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/4.998, allocations: 231.5 kB / 2.016 GB, free: 67.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/4.999, allocations: 118.4 kB / 2.016 GB, free: 67.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008929/5, allocations: 0.8798 MB / 2.017 GB, free: 66.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/5.001, allocations: 162.2 kB / 2.017 GB, free: 66.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.651e-05/5.001, allocations: 34.91 kB / 2.017 GB, free: 66.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/5.001, allocations: 3.438 kB / 2.017 GB, free: 66.56 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/5.002, allocations: 0.619 MB / 2.018 GB, free: 66.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/5.002, allocations: 3.406 kB / 2.018 GB, free: 66.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/5.003, allocations: 231.7 kB / 2.018 GB, free: 66.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/5.004, allocations: 103.2 kB / 2.018 GB, free: 66.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008414/5.004, allocations: 0.8755 MB / 2.019 GB, free: 66.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/5.005, allocations: 130.7 kB / 2.019 GB, free: 65.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/5.005, allocations: 32.03 kB / 2.019 GB, free: 65.99 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0001701/5.006, allocations: 133.2 kB / 2.019 GB, free: 65.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/5.006, allocations: 96.59 kB / 2.019 GB, free: 65.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/5.009, allocations: 1.005 MB / 2.02 GB, free: 65.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/5.009, allocations: 5.906 kB / 2.02 GB, free: 65.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/5.009, allocations: 0 / 2.02 GB, free: 65.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/5.009, allocations: 3.844 kB / 2.02 GB, free: 65.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004445/5.014, allocations: 1.942 MB / 2.022 GB, free: 65.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.892e-06/5.014, allocations: 8.438 kB / 2.022 GB, free: 65.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/5.014, allocations: 51.83 kB / 2.022 GB, free: 65.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00061/5.014, allocations: 240.3 kB / 2.022 GB, free: 65.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/5.014, allocations: 13.61 kB / 2.022 GB, free: 65.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009096/5.015, allocations: 0.9135 MB / 2.023 GB, free: 64.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/5.015, allocations: 3.281 kB / 2.023 GB, free: 64.84 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003565/5.019, allocations: 1.19 MB / 2.024 GB, free: 64.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/5.019, allocations: 261.9 kB / 2.025 GB, free: 64.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/5.019, allocations: 2.406 kB / 2.025 GB, free: 64.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008132/5.02, allocations: 103 kB / 2.025 GB, free: 64.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/5.02, allocations: 31.2 kB / 2.025 GB, free: 64.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/5.02, allocations: 23.39 kB / 2.025 GB, free: 64.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0006945/5.021, allocations: 0.5637 MB / 2.025 GB, free: 64.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001734/5.023, allocations: 0.6396 MB / 2.026 GB, free: 64.06 MB / 0.6355 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.001041/5.024, allocations: 0.6867 MB / 2.027 GB, free: 63.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001319/5.025, allocations: 0.7641 MB / 2.027 GB, free: 63.87 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/5.025, allocations: 0 / 2.027 GB, free: 63.87 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004197/5.026, allocations: 253.3 kB / 2.028 GB, free: 63.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/5.027, allocations: 373.9 kB / 2.028 GB, free: 63.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/5.031, allocations: 1.34 MB / 2.029 GB, free: 63.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008944/5.032, allocations: 1.16 MB / 2.03 GB, free: 62.72 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/5.032, allocations: 3.5 kB / 2.03 GB, free: 62.72 MB / 0.6355 GB Notification: Performance of Templates: time 0.03865/5.07, allocations: 25.32 MB / 2.055 GB, free: 61.4 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)