Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") [: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 3.2.1+maint.om/package.mo): time 0.002607/0.002607, allocations: 175 kB / 7.451 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.283/1.283, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001591/0.001591, allocations: 112.4 kB / 217.7 MB, free: 8.156 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1857/0.1857, allocations: 37.97 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.027e-06/9.067e-06, allocations: 1.5 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.554/6.663, allocations: 2.501 GB / 2.89 GB, free: 109.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/6.663, allocations: 85.14 kB / 2.89 GB, free: 109.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.525/8.189, allocations: 422.9 MB / 3.303 GB, free: 41.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.764e-05/8.189, allocations: 23 kB / 3.303 GB, free: 41.05 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008391/8.197, allocations: 1.725 MB / 3.305 GB, free: 40.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/8.197, allocations: 6.906 kB / 3.305 GB, free: 40.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/8.2, allocations: 335.3 kB / 3.305 GB, free: 39.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/8.202, allocations: 0.5872 MB / 3.306 GB, free: 39.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/8.202, allocations: 26.31 kB / 3.306 GB, free: 39.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/8.202, allocations: 38.38 kB / 3.306 GB, free: 39.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001257/8.204, allocations: 0.5394 MB / 3.306 GB, free: 39.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/8.205, allocations: 0.6569 MB / 3.307 GB, free: 39.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/8.205, allocations: 7.5 kB / 3.307 GB, free: 39.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/8.205, allocations: 3.938 kB / 3.307 GB, free: 39.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/8.205, allocations: 20.09 kB / 3.307 GB, free: 39.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009983/8.215, allocations: 5.968 MB / 3.313 GB, free: 34.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008311/8.216, allocations: 319.2 kB / 3.313 GB, free: 34.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/8.216, allocations: 224.7 kB / 3.313 GB, free: 34.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4577/8.674, allocations: 81.99 MB / 3.394 GB, free: 83.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/8.674, allocations: 37.75 kB / 3.394 GB, free: 83.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 2.806e-06/8.674, allocations: 0 / 3.394 GB, free: 83.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=51): time 0.008273/8.683, allocations: 1.834 MB / 3.395 GB, free: 83.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/8.683, allocations: 107.2 kB / 3.395 GB, free: 83.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/8.683, allocations: 387.5 kB / 3.396 GB, free: 82.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/8.683, allocations: 25.7 kB / 3.396 GB, free: 82.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/8.683, allocations: 283.8 kB / 3.396 GB, free: 82.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/8.684, allocations: 173.7 kB / 3.396 GB, free: 82.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/8.684, allocations: 5.719 kB / 3.396 GB, free: 82.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/8.684, allocations: 363.3 kB / 3.397 GB, free: 82.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/8.684, allocations: 215.7 kB / 3.397 GB, free: 82.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/8.685, allocations: 411 kB / 3.397 GB, free: 82.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/8.686, allocations: 359 kB / 3.398 GB, free: 82.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/8.686, allocations: 0 / 3.398 GB, free: 82.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003145/8.689, allocations: 1.127 MB / 3.399 GB, free: 82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005981/8.69, allocations: 2.172 MB / 3.401 GB, free: 79.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/8.69, allocations: 3.875 kB / 3.401 GB, free: 79.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/8.691, allocations: 310.2 kB / 3.401 GB, free: 79.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/8.692, allocations: 150.3 kB / 3.401 GB, free: 79.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/8.693, allocations: 1.008 MB / 3.402 GB, free: 79.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/8.694, allocations: 86.77 kB / 3.402 GB, free: 79.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.939e-05/8.694, allocations: 41.41 kB / 3.402 GB, free: 79.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/8.694, allocations: 6.719 kB / 3.402 GB, free: 79.2 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002076/8.697, allocations: 0.7618 MB / 3.403 GB, free: 79.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/8.697, allocations: 3.594 kB / 3.403 GB, free: 79.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/8.698, allocations: 279.8 kB / 3.403 GB, free: 79.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/8.698, allocations: 150.2 kB / 3.404 GB, free: 79.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/8.699, allocations: 0.9182 MB / 3.404 GB, free: 78.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000895/8.7, allocations: 87.89 kB / 3.405 GB, free: 78.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/8.7, allocations: 38.91 kB / 3.405 GB, free: 78.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0002939/8.701, allocations: 120.8 kB / 3.405 GB, free: 78.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000822/8.702, allocations: 284.3 kB / 3.405 GB, free: 78.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/8.705, allocations: 2.591 MB / 3.407 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/8.705, allocations: 30.5 kB / 3.407 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/8.705, allocations: 3.781 kB / 3.407 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/8.705, allocations: 3.797 kB / 3.408 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/8.71, allocations: 3.435 MB / 3.411 GB, free: 77.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/8.71, allocations: 0 / 3.411 GB, free: 77.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007224/8.711, allocations: 159.9 kB / 3.411 GB, free: 77.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/8.711, allocations: 64.25 kB / 3.411 GB, free: 77.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/8.711, allocations: 23.41 kB / 3.411 GB, free: 77.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006244/8.712, allocations: 1.205 MB / 3.412 GB, free: 76.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/8.712, allocations: 6.188 kB / 3.412 GB, free: 76.8 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003682/8.715, allocations: 2.694 MB / 3.415 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/8.716, allocations: 258.5 kB / 3.415 GB, free: 76.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/8.716, allocations: 4.875 kB / 3.415 GB, free: 76.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005823/8.716, allocations: 69.05 kB / 3.415 GB, free: 76.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/8.717, allocations: 61.56 kB / 3.415 GB, free: 76.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/8.717, allocations: 25.05 kB / 3.415 GB, free: 76.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004626/8.717, allocations: 323.6 kB / 3.416 GB, free: 76.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008418/8.726, allocations: 1.346 MB / 3.417 GB, free: 76.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01216/8.738, allocations: 1.893 MB / 3.419 GB, free: 76.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003352/8.741, allocations: 1.592 MB / 3.42 GB, free: 76.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/8.741, allocations: 0 / 3.42 GB, free: 76.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001612/8.743, allocations: 1.104 MB / 3.421 GB, free: 76.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/8.745, allocations: 262.7 kB / 3.422 GB, free: 76.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03903/8.784, allocations: 14.79 MB / 3.436 GB, free: 75.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007526/8.785, allocations: 1.16 MB / 3.437 GB, free: 74.54 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/8.785, allocations: 0 / 3.437 GB, free: 74.54 MB / 442.7 MB Notification: Performance of Templates: time 0.06958/8.854, allocations: 44.99 MB / 3.481 GB, free: 71.39 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1)