Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") [: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.001123/0.001123, allocations: 182.8 kB / 7.799 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4585/0.4585, allocations: 90.85 MB / 99.08 MB, free: 14.95 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.283/1.283, allocations: 221.4 MB / 342.8 MB, free: 5.211 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.0008949/0.0008949, allocations: 96.31 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.074e-06, allocations: 0 / 493.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4045, allocations: 72.29 MB / 0.5529 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7015/1.106, allocations: 386.1 MB / 0.9299 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/1.106, allocations: 92.44 kB / 0.93 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.308/3.414, allocations: 0.6503 GB / 1.58 GB, free: 72.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002159/3.414, allocations: 29.56 kB / 1.58 GB, free: 72.91 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004559/3.419, allocations: 1.514 MB / 1.582 GB, free: 71.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/3.419, allocations: 10.97 kB / 1.582 GB, free: 71.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/3.422, allocations: 0.5267 MB / 1.582 GB, free: 71.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004083/3.426, allocations: 1.328 MB / 1.584 GB, free: 70.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/3.427, allocations: 103 kB / 1.584 GB, free: 70.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/3.427, allocations: 51.5 kB / 1.584 GB, free: 70.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001745/3.429, allocations: 0.6529 MB / 1.584 GB, free: 70.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/3.43, allocations: 0.7753 MB / 1.585 GB, free: 69.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/3.43, allocations: 0 / 1.585 GB, free: 69.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.663e-05/3.431, allocations: 3.906 kB / 1.585 GB, free: 69.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-05/3.431, allocations: 35.2 kB / 1.585 GB, free: 69.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007277/3.438, allocations: 4.705 MB / 1.59 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/3.439, allocations: 0.5501 MB / 1.59 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/3.439, allocations: 274.1 kB / 1.591 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/3.44, allocations: 0.8582 MB / 1.591 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/3.44, allocations: 42.34 kB / 1.592 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 2.394e-06/3.44, allocations: 0 / 1.592 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53): time 0.003217/3.443, allocations: 0.9478 MB / 1.592 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/3.443, allocations: 55.84 kB / 1.593 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009174/3.444, allocations: 0.6835 MB / 1.593 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.688e-05/3.444, allocations: 29.7 kB / 1.593 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/3.445, allocations: 371.6 kB / 1.594 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/3.445, allocations: 173.4 kB / 1.594 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/3.445, allocations: 2.594 kB / 1.594 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.456e-05/3.445, allocations: 322 kB / 1.594 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/3.445, allocations: 209.3 kB / 1.594 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/3.445, allocations: 397.7 kB / 1.595 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/3.446, allocations: 289 kB / 1.595 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/3.446, allocations: 3.938 kB / 1.595 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0014/3.448, allocations: 0.7642 MB / 1.596 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001985/3.448, allocations: 0.9679 MB / 1.597 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/3.448, allocations: 0 / 1.597 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007767/3.449, allocations: 301.6 kB / 1.597 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/3.449, allocations: 125.8 kB / 1.597 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/3.45, allocations: 0.9671 MB / 1.598 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/3.451, allocations: 154.7 kB / 1.598 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.688e-05/3.452, allocations: 27.98 kB / 1.598 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/3.452, allocations: 6.906 kB / 1.598 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/3.453, allocations: 0.6347 MB / 1.599 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/3.453, allocations: 6.812 kB / 1.599 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006683/3.453, allocations: 297 kB / 1.599 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/3.454, allocations: 128.8 kB / 1.599 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009328/3.455, allocations: 0.9375 MB / 1.6 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/3.456, allocations: 154.3 kB / 1.6 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/3.456, allocations: 27.98 kB / 1.6 GB, free: 53.95 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.con.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002359/3.456, allocations: 123.4 kB / 1.6 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/3.457, allocations: 101.6 kB / 1.6 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/3.46, allocations: 1.081 MB / 1.602 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/3.46, allocations: 8.922 kB / 1.602 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/3.46, allocations: 4 kB / 1.602 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/3.46, allocations: 0 / 1.602 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/3.463, allocations: 1.899 MB / 1.603 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/3.463, allocations: 3.938 kB / 1.603 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/3.464, allocations: 112.6 kB / 1.603 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007079/3.464, allocations: 316.9 kB / 1.604 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/3.464, allocations: 11.98 kB / 1.604 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/3.465, allocations: 0.9919 MB / 1.605 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/3.465, allocations: 6.938 kB / 1.605 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003763/3.469, allocations: 1.358 MB / 1.606 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/3.47, allocations: 275.6 kB / 1.606 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/3.47, allocations: 7.375 kB / 1.606 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009984/3.471, allocations: 135.2 kB / 1.606 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/3.471, allocations: 36.38 kB / 1.607 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/3.471, allocations: 23.98 kB / 1.607 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007095/3.472, allocations: 0.532 MB / 1.607 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001777/3.474, allocations: 0.6196 MB / 1.608 GB, free: 46.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/3.475, allocations: 0.6683 MB / 1.608 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001721/3.476, allocations: 0.9417 MB / 1.609 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/3.476, allocations: 0 / 1.609 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005433/3.477, allocations: 341.2 kB / 1.61 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/3.479, allocations: 409 kB / 1.61 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/3.482, allocations: 1.411 MB / 1.611 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007554/3.483, allocations: 1.183 MB / 1.612 GB, free: 41.37 MB / 0.6042 GB Notification: Performance of SimCode: time 7.51e-07/3.483, allocations: 0 / 1.612 GB, free: 41.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.03887/3.522, allocations: 27.51 MB / 1.639 GB, free: 14.56 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)