Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.001911/0.001911, allocations: 186.5 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6023/0.6023, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.113/1.113, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008046/0.0008047, allocations: 97.14 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.753e-06, allocations: 2.656 kB / 0.5528 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 82.31 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7275/0.8365, allocations: 396.5 MB / 1.02 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.8368, allocations: 85.61 kB / 1.021 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.386/2.223, allocations: 0.5587 GB / 1.579 GB, free: 105.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001267/2.223, allocations: 45.45 kB / 1.579 GB, free: 105.2 MB / 0.698 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.003143/2.226, allocations: 1.914 MB / 1.581 GB, free: 104.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/2.226, allocations: 7.531 kB / 1.581 GB, free: 104.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004109/2.23, allocations: 0.6653 MB / 1.582 GB, free: 104.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/2.233, allocations: 1.81 MB / 1.584 GB, free: 103.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/2.233, allocations: 83.94 kB / 1.584 GB, free: 103.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/2.233, allocations: 74.25 kB / 1.584 GB, free: 103.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001627/2.235, allocations: 1.021 MB / 1.585 GB, free: 103.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/2.237, allocations: 1.292 MB / 1.586 GB, free: 103.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/2.237, allocations: 3 kB / 1.586 GB, free: 103.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/2.237, allocations: 6.188 kB / 1.586 GB, free: 103.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/2.237, allocations: 50.73 kB / 1.586 GB, free: 103.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008303/2.245, allocations: 7.074 MB / 1.593 GB, free: 100.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/2.246, allocations: 490.2 kB / 1.593 GB, free: 100.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/2.246, allocations: 311.3 kB / 1.594 GB, free: 100.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000918/2.247, allocations: 1.27 MB / 1.595 GB, free: 98.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005875/2.248, allocations: 0.4963 MB / 1.595 GB, free: 98.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 2.996e-06/2.248, allocations: 0 / 1.595 GB, free: 98.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.001769/2.25, allocations: 0.8353 MB / 1.596 GB, free: 98.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/2.25, allocations: 477.2 kB / 1.597 GB, free: 98.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/2.251, allocations: 0.9952 MB / 1.598 GB, free: 97.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.396e-05/2.251, allocations: 33.36 kB / 1.598 GB, free: 97.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/2.251, allocations: 0.5283 MB / 1.598 GB, free: 97.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/2.251, allocations: 219.5 kB / 1.598 GB, free: 97.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/2.251, allocations: 1.875 kB / 1.598 GB, free: 97.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/2.251, allocations: 342.2 kB / 1.599 GB, free: 97.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/2.252, allocations: 314.6 kB / 1.599 GB, free: 97.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/2.252, allocations: 0.625 MB / 1.6 GB, free: 96.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/2.254, allocations: 422.9 kB / 1.6 GB, free: 96.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/2.254, allocations: 3.875 kB / 1.6 GB, free: 96.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00344/2.257, allocations: 1.174 MB / 1.601 GB, free: 96.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003194/2.257, allocations: 2.459 MB / 1.604 GB, free: 94.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/2.257, allocations: 7.812 kB / 1.604 GB, free: 94.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005853/2.258, allocations: 274.5 kB / 1.604 GB, free: 94.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/2.259, allocations: 273.3 kB / 1.604 GB, free: 94.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009395/2.26, allocations: 0.9011 MB / 1.605 GB, free: 93.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/2.262, allocations: 243.8 kB / 1.605 GB, free: 93.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/2.263, allocations: 62.92 kB / 1.605 GB, free: 93.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/2.263, allocations: 3.594 kB / 1.605 GB, free: 93.54 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003266/2.266, allocations: 1.032 MB / 1.606 GB, free: 93.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/2.266, allocations: 7.344 kB / 1.606 GB, free: 93.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/2.266, allocations: 263.1 kB / 1.607 GB, free: 93.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/2.268, allocations: 279.6 kB / 1.607 GB, free: 93.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008707/2.269, allocations: 0.897 MB / 1.608 GB, free: 92.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/2.271, allocations: 211.1 kB / 1.608 GB, free: 92.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/2.271, allocations: 59.41 kB / 1.608 GB, free: 92.94 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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.0002339/2.271, allocations: 134.9 kB / 1.608 GB, free: 92.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/2.271, allocations: 129.4 kB / 1.608 GB, free: 92.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/2.274, allocations: 0.9296 MB / 1.609 GB, free: 92.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/2.274, allocations: 14.66 kB / 1.609 GB, free: 92.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/2.274, allocations: 7.906 kB / 1.609 GB, free: 92.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002224/2.276, allocations: 0.817 MB / 1.61 GB, free: 92.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/2.281, allocations: 3.092 MB / 1.613 GB, free: 91.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/2.281, allocations: 3.75 kB / 1.613 GB, free: 91.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009783/2.282, allocations: 172.5 kB / 1.613 GB, free: 91.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/2.283, allocations: 272 kB / 1.613 GB, free: 91.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/2.283, allocations: 21.53 kB / 1.613 GB, free: 91.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008952/2.284, allocations: 0.8992 MB / 1.614 GB, free: 90.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/2.284, allocations: 13.89 kB / 1.614 GB, free: 90.95 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003145/2.287, allocations: 1.747 MB / 1.616 GB, free: 90.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/2.287, allocations: 374.1 kB / 1.616 GB, free: 90.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/2.288, allocations: 11.86 kB / 1.616 GB, free: 90.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/2.289, allocations: 148.4 kB / 1.617 GB, free: 90.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/2.289, allocations: 56.56 kB / 1.617 GB, free: 90.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/2.289, allocations: 43.23 kB / 1.617 GB, free: 90.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0008739/2.29, allocations: 0.7519 MB / 1.617 GB, free: 90.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002417/2.293, allocations: 0.9955 MB / 1.618 GB, free: 89.85 MB / 0.698 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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.001318/2.294, allocations: 0.8881 MB / 1.619 GB, free: 89.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002019/2.296, allocations: 1.34 MB / 1.621 GB, free: 89.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/2.296, allocations: 3.812 kB / 1.621 GB, free: 89.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006219/2.297, allocations: 395.5 kB / 1.621 GB, free: 89.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/2.299, allocations: 0.5648 MB / 1.621 GB, free: 89.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/2.304, allocations: 2.133 MB / 1.624 GB, free: 88.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009072/2.305, allocations: 1.392 MB / 1.625 GB, free: 88.2 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/2.305, allocations: 3.5 kB / 1.625 GB, free: 88.2 MB / 0.698 GB Notification: Performance of Templates: time 0.05688/2.362, allocations: 39.98 MB / 1.664 GB, free: 84.41 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)