Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") [: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.001044/0.001044, allocations: 186.6 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4504/0.4504, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.29/1.29, allocations: 221.4 MB / 342.8 MB, free: 5.105 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.001035/0.001035, allocations: 95.61 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.545e-06/7.575e-06, allocations: 4 kB / 493.9 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3793, allocations: 72.3 MB / 0.5529 GB, free: 73.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.609/0.9884, allocations: 386.6 MB / 0.9304 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.9887, allocations: 87.14 kB / 0.9305 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.876/2.865, allocations: 0.5606 GB / 1.491 GB, free: 71.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001446/2.865, allocations: 44.83 kB / 1.491 GB, free: 71.48 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003666/2.869, allocations: 1.868 MB / 1.493 GB, free: 70.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/2.869, allocations: 10 kB / 1.493 GB, free: 70.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005024/2.874, allocations: 0.7119 MB / 1.494 GB, free: 70.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/2.877, allocations: 1.798 MB / 1.495 GB, free: 70.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.812e-05/2.877, allocations: 83.38 kB / 1.495 GB, free: 70.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/2.877, allocations: 73.27 kB / 1.496 GB, free: 70.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001859/2.879, allocations: 1.041 MB / 1.497 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/2.881, allocations: 1.297 MB / 1.498 GB, free: 69.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/2.881, allocations: 0 / 1.498 GB, free: 69.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/2.881, allocations: 7.031 kB / 1.498 GB, free: 69.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/2.881, allocations: 51.09 kB / 1.498 GB, free: 69.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/2.891, allocations: 7.377 MB / 1.505 GB, free: 66.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/2.892, allocations: 0.5505 MB / 1.506 GB, free: 66.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004496/2.893, allocations: 331.7 kB / 1.506 GB, free: 66.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/2.894, allocations: 1.266 MB / 1.507 GB, free: 64.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/2.894, allocations: 47.06 kB / 1.507 GB, free: 64.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=66): time 3.537e-06/2.894, allocations: 0 / 1.507 GB, free: 64.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66): time 0.002414/2.896, allocations: 0.8736 MB / 1.508 GB, free: 64.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/2.896, allocations: 113.2 kB / 1.508 GB, free: 64.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/2.898, allocations: 0.9658 MB / 1.509 GB, free: 64.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000139/2.898, allocations: 25.7 kB / 1.509 GB, free: 64.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/2.899, allocations: 0.5215 MB / 1.51 GB, free: 64.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/2.899, allocations: 224.1 kB / 1.51 GB, free: 63.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/2.899, allocations: 0 / 1.51 GB, free: 63.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/2.899, allocations: 340.2 kB / 1.51 GB, free: 63.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/2.899, allocations: 301.9 kB / 1.51 GB, free: 63.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/2.9, allocations: 0.5795 MB / 1.511 GB, free: 63.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/2.901, allocations: 417.8 kB / 1.511 GB, free: 63.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/2.901, allocations: 3.625 kB / 1.511 GB, free: 63.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002443/2.904, allocations: 1.126 MB / 1.513 GB, free: 63.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004275/2.904, allocations: 2.453 MB / 1.515 GB, free: 60.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/2.904, allocations: 8.125 kB / 1.515 GB, free: 60.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/2.905, allocations: 441.6 kB / 1.515 GB, free: 60.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/2.907, allocations: 247.7 kB / 1.516 GB, free: 60.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/2.908, allocations: 1.164 MB / 1.517 GB, free: 60.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/2.911, allocations: 234.7 kB / 1.517 GB, free: 60.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/2.911, allocations: 54.34 kB / 1.517 GB, free: 60.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/2.911, allocations: 7.219 kB / 1.517 GB, free: 60.05 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00212/2.913, allocations: 0.968 MB / 1.518 GB, free: 60.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/2.913, allocations: 7.625 kB / 1.518 GB, free: 60.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000909/2.914, allocations: 445.1 kB / 1.518 GB, free: 60.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/2.915, allocations: 246 kB / 1.519 GB, free: 60.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/2.917, allocations: 1.168 MB / 1.52 GB, free: 59.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/2.919, allocations: 203.4 kB / 1.52 GB, free: 59.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/2.919, allocations: 51.78 kB / 1.52 GB, free: 59.44 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0002795/2.92, allocations: 129 kB / 1.52 GB, free: 59.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/2.92, allocations: 125.2 kB / 1.52 GB, free: 59.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/2.924, allocations: 1.061 MB / 1.521 GB, free: 59.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/2.924, allocations: 8.969 kB / 1.521 GB, free: 59.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/2.924, allocations: 0 / 1.521 GB, free: 59.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003444/2.927, allocations: 0.9428 MB / 1.522 GB, free: 59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005737/2.933, allocations: 2.964 MB / 1.525 GB, free: 58.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/2.933, allocations: 3.875 kB / 1.525 GB, free: 58.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009764/2.934, allocations: 163 kB / 1.525 GB, free: 58.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009435/2.935, allocations: 436.3 kB / 1.526 GB, free: 58.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/2.935, allocations: 15.69 kB / 1.526 GB, free: 58.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/2.937, allocations: 1.155 MB / 1.527 GB, free: 57.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/2.937, allocations: 3.438 kB / 1.527 GB, free: 57.54 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002086/2.939, allocations: 1.282 MB / 1.528 GB, free: 56.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/2.939, allocations: 369.2 kB / 1.528 GB, free: 56.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/2.94, allocations: 9.875 kB / 1.528 GB, free: 56.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/2.941, allocations: 139.2 kB / 1.529 GB, free: 56.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/2.942, allocations: 52.22 kB / 1.529 GB, free: 56.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.031e-05/2.942, allocations: 48.27 kB / 1.529 GB, free: 56.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.00101/2.943, allocations: 0.741 MB / 1.529 GB, free: 56.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002927/2.946, allocations: 0.9874 MB / 1.53 GB, free: 56.51 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/2.947, allocations: 0.8826 MB / 1.531 GB, free: 56.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002362/2.95, allocations: 1.293 MB / 1.533 GB, free: 56.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/2.95, allocations: 6.094 kB / 1.533 GB, free: 56.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006374/2.95, allocations: 388 kB / 1.533 GB, free: 56.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/2.953, allocations: 0.5479 MB / 1.533 GB, free: 56.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/2.958, allocations: 1.842 MB / 1.535 GB, free: 55.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009523/2.959, allocations: 1.377 MB / 1.537 GB, free: 54.95 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/2.959, allocations: 0 / 1.537 GB, free: 54.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.05378/3.012, allocations: 40.35 MB / 1.576 GB, free: 52.79 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)