Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") [: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.001063/0.001063, 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.4712/0.4712, allocations: 90.85 MB / 99.07 MB, free: 14.9 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.197/1.197, allocations: 221.4 MB / 342.8 MB, free: 5.402 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.001076/0.001075, allocations: 95.12 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.051e-06, allocations: 0 / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.308, allocations: 72.3 MB / 0.5529 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5777/0.8858, allocations: 386.2 MB / 0.93 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.8861, allocations: 88.77 kB / 0.9301 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.141/4.027, allocations: 1.069 GB / 1.999 GB, free: 85.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001972/4.028, allocations: 40.95 kB / 1.999 GB, free: 85.54 MB / 0.6198 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.00419/4.032, allocations: 1.49 MB / 2.001 GB, free: 84.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/4.032, allocations: 7.906 kB / 2.001 GB, free: 84.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/4.034, allocations: 488.2 kB / 2.001 GB, free: 84.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/4.038, allocations: 1.315 MB / 2.002 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/4.038, allocations: 110 kB / 2.003 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/4.038, allocations: 53.28 kB / 2.003 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001374/4.04, allocations: 0.6333 MB / 2.003 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/4.041, allocations: 0.7629 MB / 2.004 GB, free: 84.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/4.041, allocations: 2.906 kB / 2.004 GB, free: 84.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/4.041, allocations: 3.875 kB / 2.004 GB, free: 84.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/4.041, allocations: 28.11 kB / 2.004 GB, free: 84.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007052/4.048, allocations: 4.79 MB / 2.009 GB, free: 81.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/4.051, allocations: 0.6833 MB / 2.009 GB, free: 81.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/4.051, allocations: 203.8 kB / 2.009 GB, free: 81.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/4.052, allocations: 0.9111 MB / 2.01 GB, free: 80.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/4.052, allocations: 37.47 kB / 2.01 GB, free: 80.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=43): time 2.374e-06/4.052, allocations: 3.875 kB / 2.01 GB, free: 80.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.003277/4.055, allocations: 0.7874 MB / 2.011 GB, free: 80.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/4.055, allocations: 60.03 kB / 2.011 GB, free: 80.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/4.057, allocations: 0.7482 MB / 2.012 GB, free: 80.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/4.057, allocations: 29.42 kB / 2.012 GB, free: 80.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/4.057, allocations: 386.2 kB / 2.012 GB, free: 79.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/4.057, allocations: 143.8 kB / 2.013 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/4.057, allocations: 0 / 2.013 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/4.057, allocations: 327 kB / 2.013 GB, free: 79.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/4.058, allocations: 177.3 kB / 2.013 GB, free: 79.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/4.058, allocations: 416.5 kB / 2.013 GB, free: 79.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008162/4.059, allocations: 270.6 kB / 2.014 GB, free: 79.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/4.059, allocations: 0 / 2.014 GB, free: 79.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003562/4.062, allocations: 0.9517 MB / 2.015 GB, free: 79.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002945/4.063, allocations: 1.568 MB / 2.016 GB, free: 77.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/4.063, allocations: 7.531 kB / 2.016 GB, free: 77.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007095/4.063, allocations: 234.9 kB / 2.016 GB, free: 77.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/4.064, allocations: 125.6 kB / 2.016 GB, free: 77.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/4.065, allocations: 0.8908 MB / 2.017 GB, free: 77.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/4.067, allocations: 180.1 kB / 2.018 GB, free: 77.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/4.067, allocations: 28.81 kB / 2.018 GB, free: 77.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/4.067, allocations: 3.406 kB / 2.018 GB, free: 77.01 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00314/4.07, allocations: 0.8269 MB / 2.018 GB, free: 76.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/4.07, allocations: 4.125 kB / 2.018 GB, free: 76.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007593/4.071, allocations: 233.7 kB / 2.019 GB, free: 76.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/4.072, allocations: 125.7 kB / 2.019 GB, free: 76.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/4.073, allocations: 0.8734 MB / 2.02 GB, free: 76.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/4.074, allocations: 147.7 kB / 2.02 GB, free: 76.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/4.074, allocations: 31.3 kB / 2.02 GB, free: 76.43 MB / 0.6198 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.0002056/4.074, allocations: 125.5 kB / 2.02 GB, free: 76.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/4.075, allocations: 104 kB / 2.02 GB, free: 76.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/4.078, allocations: 0.9746 MB / 2.021 GB, free: 76.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/4.078, allocations: 11.78 kB / 2.021 GB, free: 76.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/4.078, allocations: 0 / 2.021 GB, free: 76.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/4.078, allocations: 3.375 kB / 2.021 GB, free: 76.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/4.082, allocations: 1.923 MB / 2.023 GB, free: 75.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/4.082, allocations: 8.062 kB / 2.023 GB, free: 75.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/4.083, allocations: 69.98 kB / 2.023 GB, free: 75.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006163/4.083, allocations: 244.6 kB / 2.023 GB, free: 75.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/4.083, allocations: 10.72 kB / 2.023 GB, free: 75.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008636/4.084, allocations: 0.9191 MB / 2.024 GB, free: 75.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/4.084, allocations: 4.844 kB / 2.024 GB, free: 75.27 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002861/4.087, allocations: 1.141 MB / 2.025 GB, free: 74.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/4.088, allocations: 269.1 kB / 2.025 GB, free: 74.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/4.088, allocations: 3.531 kB / 2.025 GB, free: 74.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009708/4.089, allocations: 110.3 kB / 2.025 GB, free: 74.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/4.089, allocations: 31.81 kB / 2.026 GB, free: 74.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/4.089, allocations: 23.69 kB / 2.026 GB, free: 74.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007258/4.09, allocations: 0.5696 MB / 2.026 GB, free: 74.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001927/4.092, allocations: 0.623 MB / 2.027 GB, free: 74.5 MB / 0.6198 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.001217/4.093, allocations: 0.68 MB / 2.027 GB, free: 74.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001621/4.094, allocations: 0.8105 MB / 2.028 GB, free: 74.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/4.094, allocations: 0 / 2.028 GB, free: 74.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004618/4.095, allocations: 270.8 kB / 2.028 GB, free: 74.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/4.097, allocations: 367.9 kB / 2.029 GB, free: 74.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/4.102, allocations: 1.635 MB / 2.03 GB, free: 73.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008024/4.103, allocations: 1.171 MB / 2.032 GB, free: 73.15 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/4.103, allocations: 3.062 kB / 2.032 GB, free: 73.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.03892/4.142, allocations: 25.62 MB / 2.057 GB, free: 68.5 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)