Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") [: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.001479/0.001479, allocations: 188.8 kB / 7.808 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.47/0.47, allocations: 90.86 MB / 99.08 MB, free: 14.94 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.21/1.21, allocations: 221.4 MB / 342.8 MB, free: 5.418 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.001/0.001, allocations: 95.91 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.546e-06, allocations: 4 kB / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3143, allocations: 72.3 MB / 0.5529 GB, free: 73.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5827/0.8971, allocations: 386.2 MB / 0.9301 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.8973, allocations: 83.89 kB / 0.9301 GB, free: 4.906 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.866/2.764, allocations: 0.6518 GB / 1.582 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001675/2.764, allocations: 37.47 kB / 1.582 GB, free: 74.76 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.003648/2.768, allocations: 1.523 MB / 1.583 GB, free: 73.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/2.768, allocations: 10.16 kB / 1.583 GB, free: 73.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/2.77, allocations: 490.8 kB / 1.584 GB, free: 73.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/2.773, allocations: 1.318 MB / 1.585 GB, free: 72.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/2.774, allocations: 110 kB / 1.585 GB, free: 72.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/2.774, allocations: 51.97 kB / 1.585 GB, free: 72.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001339/2.775, allocations: 0.6322 MB / 1.586 GB, free: 72.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/2.777, allocations: 0.7742 MB / 1.587 GB, free: 71.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/2.777, allocations: 0 / 1.587 GB, free: 71.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/2.777, allocations: 3.25 kB / 1.587 GB, free: 71.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/2.777, allocations: 29.88 kB / 1.587 GB, free: 71.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006492/2.783, allocations: 4.798 MB / 1.591 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/2.786, allocations: 0.6777 MB / 1.592 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/2.786, allocations: 200.8 kB / 1.592 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004943/2.787, allocations: 0.9138 MB / 1.593 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/2.787, allocations: 38.56 kB / 1.593 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=43): time 2.564e-06/2.787, allocations: 0 / 1.593 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.00303/2.79, allocations: 0.8093 MB / 1.594 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/2.79, allocations: 55.41 kB / 1.594 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/2.791, allocations: 0.7545 MB / 1.595 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.058e-05/2.791, allocations: 25.7 kB / 1.595 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/2.791, allocations: 395.4 kB / 1.595 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/2.791, allocations: 141.8 kB / 1.595 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/2.791, allocations: 4 kB / 1.595 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/2.791, allocations: 322 kB / 1.596 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/2.792, allocations: 184.1 kB / 1.596 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/2.792, allocations: 425.5 kB / 1.596 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007187/2.793, allocations: 263.3 kB / 1.597 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/2.793, allocations: 0 / 1.597 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003119/2.796, allocations: 0.9511 MB / 1.597 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004388/2.796, allocations: 1.653 MB / 1.599 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/2.796, allocations: 7.938 kB / 1.599 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006884/2.797, allocations: 240.4 kB / 1.599 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/2.798, allocations: 133.4 kB / 1.599 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009778/2.799, allocations: 0.8817 MB / 1.6 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/2.8, allocations: 192 kB / 1.6 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.103e-05/2.8, allocations: 34.45 kB / 1.6 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/2.8, allocations: 7.906 kB / 1.6 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002811/2.803, allocations: 0.8176 MB / 1.601 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/2.803, allocations: 4 kB / 1.601 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006584/2.804, allocations: 233.4 kB / 1.602 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/2.804, allocations: 135.6 kB / 1.602 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/2.806, allocations: 0.8753 MB / 1.603 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/2.807, allocations: 151.8 kB / 1.603 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/2.807, allocations: 30.61 kB / 1.603 GB, free: 55.54 MB / 0.6042 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 (47): * Single equations (assignments): 46 * 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.0002448/2.808, allocations: 124.9 kB / 1.603 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/2.808, allocations: 98.78 kB / 1.603 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/2.812, allocations: 0.9724 MB / 1.604 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/2.812, allocations: 8 kB / 1.604 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/2.812, allocations: 0 / 1.604 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/2.812, allocations: 3.984 kB / 1.604 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/2.817, allocations: 1.935 MB / 1.606 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/2.817, allocations: 7.75 kB / 1.606 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/2.817, allocations: 74.64 kB / 1.606 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006323/2.818, allocations: 244.7 kB / 1.606 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/2.818, allocations: 11.98 kB / 1.606 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009741/2.819, allocations: 0.9097 MB / 1.607 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/2.819, allocations: 7.938 kB / 1.607 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003103/2.822, allocations: 1.136 MB / 1.608 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/2.823, allocations: 263.7 kB / 1.608 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/2.823, allocations: 8.469 kB / 1.608 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/2.824, allocations: 123.5 kB / 1.608 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.777e-05/2.824, allocations: 43.78 kB / 1.608 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/2.824, allocations: 27.92 kB / 1.609 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0009339/2.825, allocations: 0.5681 MB / 1.609 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002387/2.828, allocations: 0.6197 MB / 1.61 GB, free: 48.27 MB / 0.6042 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 (32): * Single equations (assignments): 27 * 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.001298/2.829, allocations: 0.6871 MB / 1.61 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001727/2.831, allocations: 0.8055 MB / 1.611 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/2.831, allocations: 448 / 1.611 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004891/2.831, allocations: 278.3 kB / 1.611 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/2.833, allocations: 377.7 kB / 1.612 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/2.839, allocations: 1.646 MB / 1.613 GB, free: 44.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009362/2.84, allocations: 1.17 MB / 1.615 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/2.84, allocations: 0 / 1.615 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.03839/2.878, allocations: 25.83 MB / 1.64 GB, free: 18.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)