Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") [: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.001313/0.001313, allocations: 191.2 kB / 7.807 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.4697/0.4697, 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.341/1.341, allocations: 221.4 MB / 342.8 MB, free: 5.121 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.0009686/0.0009686, allocations: 97.14 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.865e-06/7.885e-06, allocations: 4 kB / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3815, allocations: 72.29 MB / 0.5529 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6339/1.015, allocations: 386.5 MB / 0.9304 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/1.016, allocations: 94.81 kB / 0.9305 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.059/3.075, allocations: 0.5605 GB / 1.491 GB, free: 72.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002459/3.075, allocations: 40.97 kB / 1.491 GB, free: 72.21 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.005159/3.081, allocations: 1.85 MB / 1.493 GB, free: 71.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/3.081, allocations: 11.31 kB / 1.493 GB, free: 71.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005426/3.086, allocations: 0.709 MB / 1.494 GB, free: 71.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/3.091, allocations: 1.794 MB / 1.495 GB, free: 70.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/3.091, allocations: 96.33 kB / 1.495 GB, free: 70.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/3.091, allocations: 70.88 kB / 1.495 GB, free: 70.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002588/3.094, allocations: 1.04 MB / 1.496 GB, free: 70.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/3.096, allocations: 1.286 MB / 1.498 GB, free: 70.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/3.096, allocations: 6.781 kB / 1.498 GB, free: 70.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/3.096, allocations: 2.406 kB / 1.498 GB, free: 70.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/3.097, allocations: 50.45 kB / 1.498 GB, free: 70.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009793/3.106, allocations: 7.094 MB / 1.505 GB, free: 67.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/3.107, allocations: 0.4939 MB / 1.505 GB, free: 67.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/3.108, allocations: 332.4 kB / 1.505 GB, free: 67.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/3.109, allocations: 1.267 MB / 1.507 GB, free: 65.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/3.109, allocations: 44.31 kB / 1.507 GB, free: 65.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=64): time 2.785e-06/3.109, allocations: 0 / 1.507 GB, free: 65.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64): time 0.01027/3.119, allocations: 1.451 MB / 1.508 GB, free: 65.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/3.119, allocations: 113.7 kB / 1.508 GB, free: 65.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/3.121, allocations: 0.9737 MB / 1.509 GB, free: 65.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001826/3.121, allocations: 30.3 kB / 1.509 GB, free: 65.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/3.121, allocations: 0.5362 MB / 1.51 GB, free: 65.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/3.121, allocations: 211.2 kB / 1.51 GB, free: 65.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/3.122, allocations: 2.562 kB / 1.51 GB, free: 65.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/3.122, allocations: 339.4 kB / 1.51 GB, free: 64.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/3.122, allocations: 315.9 kB / 1.511 GB, free: 64.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/3.123, allocations: 0.5785 MB / 1.511 GB, free: 64.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/3.124, allocations: 428 kB / 1.512 GB, free: 64.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/3.124, allocations: 0 / 1.512 GB, free: 64.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01024/3.134, allocations: 1.701 MB / 1.513 GB, free: 64.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004156/3.135, allocations: 2.453 MB / 1.516 GB, free: 61.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/3.135, allocations: 6.25 kB / 1.516 GB, free: 61.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007927/3.135, allocations: 364.6 kB / 1.516 GB, free: 61.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/3.137, allocations: 264.7 kB / 1.516 GB, free: 61.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/3.138, allocations: 0.9642 MB / 1.517 GB, free: 61.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/3.141, allocations: 237.2 kB / 1.517 GB, free: 61.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/3.141, allocations: 61.41 kB / 1.517 GB, free: 61.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/3.141, allocations: 3.938 kB / 1.517 GB, free: 61.15 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009832/3.151, allocations: 1.538 MB / 1.519 GB, free: 61.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/3.151, allocations: 11.45 kB / 1.519 GB, free: 61.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008084/3.152, allocations: 369.5 kB / 1.519 GB, free: 61.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/3.153, allocations: 253.5 kB / 1.52 GB, free: 61.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/3.155, allocations: 0.9677 MB / 1.521 GB, free: 60.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/3.157, allocations: 201.2 kB / 1.521 GB, free: 60.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/3.157, allocations: 52.91 kB / 1.521 GB, free: 60.55 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 (86): * Single equations (assignments): 85 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003956/3.158, allocations: 129.6 kB / 1.521 GB, free: 60.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004383/3.158, allocations: 122.4 kB / 1.521 GB, free: 60.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/3.161, allocations: 0.9424 MB / 1.522 GB, free: 60.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/3.161, allocations: 10.88 kB / 1.522 GB, free: 60.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/3.161, allocations: 0 / 1.522 GB, free: 60.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001464/3.162, allocations: 0.83 MB / 1.523 GB, free: 60.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005029/3.167, allocations: 2.537 MB / 1.525 GB, free: 59.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/3.167, allocations: 3.938 kB / 1.525 GB, free: 59.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/3.168, allocations: 159 kB / 1.525 GB, free: 59.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007235/3.169, allocations: 355.6 kB / 1.526 GB, free: 59.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/3.169, allocations: 22.23 kB / 1.526 GB, free: 59.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/3.17, allocations: 0.9545 MB / 1.527 GB, free: 59.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/3.17, allocations: 7.562 kB / 1.527 GB, free: 59.12 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002416/3.172, allocations: 1.672 MB / 1.528 GB, free: 58.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006526/3.173, allocations: 372.2 kB / 1.529 GB, free: 58.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/3.173, allocations: 10.91 kB / 1.529 GB, free: 58.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/3.175, allocations: 131.6 kB / 1.529 GB, free: 58.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/3.175, allocations: 51.36 kB / 1.529 GB, free: 58.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.891e-05/3.175, allocations: 46.12 kB / 1.529 GB, free: 58.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0009479/3.176, allocations: 0.7378 MB / 1.53 GB, free: 58.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002724/3.179, allocations: 0.9869 MB / 1.531 GB, free: 58.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (46): * Single equations (assignments): 43 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/3.181, allocations: 0.8857 MB / 1.531 GB, free: 57.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002369/3.183, allocations: 1.288 MB / 1.533 GB, free: 57.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/3.183, allocations: 0 / 1.533 GB, free: 57.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006176/3.184, allocations: 369.4 kB / 1.533 GB, free: 57.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/3.186, allocations: 0.561 MB / 1.534 GB, free: 57.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/3.191, allocations: 2.002 MB / 1.536 GB, free: 57.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009677/3.192, allocations: 1.391 MB / 1.537 GB, free: 56.45 MB / 0.6198 GB Notification: Performance of SimCode: time 1.673e-06/3.192, allocations: 0 / 1.537 GB, free: 56.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.05217/3.244, allocations: 39.69 MB / 1.576 GB, free: 54.25 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)