Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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/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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.001819/0.001819, allocations: 171.7 kB / 7.456 MB, free: 2.16 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5952/0.5952, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.131/1.131, allocations: 221.3 MB / 395 MB, free: 10.24 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.0009068/0.0009065, allocations: 95.61 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.622e-06, allocations: 2.781 kB / 0.5528 GB, free: 89.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7201/0.8267, allocations: 395.9 MB / 1.02 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001683/0.8269, allocations: 90.2 kB / 1.02 GB, free: 214 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.402/2.229, allocations: 0.5583 GB / 1.578 GB, free: 99.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00014/2.229, allocations: 43.11 kB / 1.578 GB, free: 99.28 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003328/2.232, allocations: 1.864 MB / 1.58 GB, free: 98.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/2.232, allocations: 11.06 kB / 1.58 GB, free: 98.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00409/2.236, allocations: 0.6543 MB / 1.581 GB, free: 98.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/2.239, allocations: 1.795 MB / 1.583 GB, free: 97.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/2.239, allocations: 85.94 kB / 1.583 GB, free: 97.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/2.239, allocations: 73.34 kB / 1.583 GB, free: 97.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001591/2.241, allocations: 1.001 MB / 1.584 GB, free: 97.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/2.243, allocations: 1.276 MB / 1.585 GB, free: 97.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/2.243, allocations: 2.438 kB / 1.585 GB, free: 97.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/2.243, allocations: 3.5 kB / 1.585 GB, free: 97.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/2.243, allocations: 57.52 kB / 1.585 GB, free: 97.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00825/2.251, allocations: 7.294 MB / 1.592 GB, free: 94.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/2.252, allocations: 0.5179 MB / 1.593 GB, free: 94.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/2.252, allocations: 304 kB / 1.593 GB, free: 94.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009049/2.253, allocations: 1.267 MB / 1.594 GB, free: 92.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/2.253, allocations: 44.72 kB / 1.594 GB, free: 92.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=64): time 2.314e-06/2.253, allocations: 0 / 1.594 GB, free: 92.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=64): time 0.001629/2.255, allocations: 0.8083 MB / 1.595 GB, free: 92.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/2.255, allocations: 113.5 kB / 1.595 GB, free: 92.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/2.256, allocations: 0.9613 MB / 1.596 GB, free: 92.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/2.256, allocations: 35.22 kB / 1.596 GB, free: 92.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/2.256, allocations: 0.5215 MB / 1.597 GB, free: 91.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/2.257, allocations: 218.8 kB / 1.597 GB, free: 91.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/2.257, allocations: 3 kB / 1.597 GB, free: 91.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.418e-05/2.257, allocations: 332 kB / 1.597 GB, free: 91.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/2.257, allocations: 289.8 kB / 1.597 GB, free: 91.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/2.258, allocations: 0.5579 MB / 1.598 GB, free: 91.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009916/2.259, allocations: 413.8 kB / 1.598 GB, free: 91.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/2.259, allocations: 0 / 1.598 GB, free: 91.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001962/2.261, allocations: 1.075 MB / 1.599 GB, free: 91.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000334/2.261, allocations: 2.452 MB / 1.602 GB, free: 88.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/2.261, allocations: 10.62 kB / 1.602 GB, free: 88.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000748/2.262, allocations: 356.4 kB / 1.602 GB, free: 88.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/2.263, allocations: 256.5 kB / 1.602 GB, free: 88.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/2.264, allocations: 1.092 MB / 1.603 GB, free: 87.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/2.266, allocations: 236 kB / 1.604 GB, free: 87.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/2.266, allocations: 52.16 kB / 1.604 GB, free: 87.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/2.266, allocations: 3.781 kB / 1.604 GB, free: 87.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0018/2.268, allocations: 0.9181 MB / 1.605 GB, free: 87.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/2.268, allocations: 10.97 kB / 1.605 GB, free: 87.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006636/2.269, allocations: 360 kB / 1.605 GB, free: 87.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/2.27, allocations: 253.6 kB / 1.605 GB, free: 87.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/2.271, allocations: 1.097 MB / 1.606 GB, free: 87.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/2.273, allocations: 189.6 kB / 1.606 GB, free: 87.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9e-05/2.273, allocations: 55.53 kB / 1.606 GB, free: 87.3 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: 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002081/2.273, allocations: 135.5 kB / 1.607 GB, free: 87.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/2.274, allocations: 126.2 kB / 1.607 GB, free: 87.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/2.275, allocations: 0.9192 MB / 1.608 GB, free: 87.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/2.275, allocations: 9.766 kB / 1.608 GB, free: 87.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/2.275, allocations: 0 / 1.608 GB, free: 87.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/2.277, allocations: 0.8126 MB / 1.608 GB, free: 86.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/2.281, allocations: 2.86 MB / 1.611 GB, free: 85.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/2.281, allocations: 3.562 kB / 1.611 GB, free: 85.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009295/2.282, allocations: 160.4 kB / 1.611 GB, free: 85.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006707/2.283, allocations: 352.1 kB / 1.612 GB, free: 85.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/2.283, allocations: 17.88 kB / 1.612 GB, free: 85.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/2.285, allocations: 1.217 MB / 1.613 GB, free: 85.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/2.285, allocations: 9.156 kB / 1.613 GB, free: 85.41 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001611/2.286, allocations: 1.222 MB / 1.614 GB, free: 84.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/2.287, allocations: 360.8 kB / 1.614 GB, free: 84.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/2.287, allocations: 7.828 kB / 1.614 GB, free: 84.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/2.289, allocations: 130.3 kB / 1.615 GB, free: 84.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/2.289, allocations: 52.44 kB / 1.615 GB, free: 84.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/2.289, allocations: 46.58 kB / 1.615 GB, free: 84.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0007864/2.29, allocations: 0.7327 MB / 1.615 GB, free: 84.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002314/2.292, allocations: 0.9857 MB / 1.616 GB, free: 84.39 MB / 0.698 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/2.293, allocations: 0.8771 MB / 1.617 GB, free: 84.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00189/2.295, allocations: 1.251 MB / 1.618 GB, free: 84.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/2.295, allocations: 2.188 kB / 1.618 GB, free: 84.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/2.296, allocations: 461.3 kB / 1.619 GB, free: 84.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/2.298, allocations: 0.5491 MB / 1.619 GB, free: 84.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/2.303, allocations: 1.949 MB / 1.621 GB, free: 83.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008434/2.304, allocations: 1.382 MB / 1.623 GB, free: 82.83 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/2.304, allocations: 0 / 1.623 GB, free: 82.83 MB / 0.698 GB Notification: Performance of Templates: time 0.0629/2.367, allocations: 39 MB / 1.661 GB, free: 80.85 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)