Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") [: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.2+maint.om/package.mo): time 0.002798/0.002798, allocations: 182.6 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.279/1.279, allocations: 194.2 MB / 202.1 MB, free: 9.145 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0016/0.0016, allocations: 112.6 kB / 247.1 MB, free: 6.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1926/0.1926, allocations: 39.94 MB / 331.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.384e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.222/5.33, allocations: 2.612 GB / 3.049 GB, free: 125.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/5.33, allocations: 85.31 kB / 3.05 GB, free: 125 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.241/6.572, allocations: 434.1 MB / 3.473 GB, free: 40.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.264e-05/6.572, allocations: 17 kB / 3.473 GB, free: 40.71 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006685/6.578, allocations: 1.791 MB / 3.475 GB, free: 39.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/6.578, allocations: 12 kB / 3.475 GB, free: 39.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/6.582, allocations: 349 kB / 3.476 GB, free: 39.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/6.583, allocations: 0.6025 MB / 3.476 GB, free: 39.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/6.583, allocations: 25.66 kB / 3.476 GB, free: 39.15 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/6.583, allocations: 32.31 kB / 3.476 GB, free: 39.15 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001033/6.584, allocations: 0.5668 MB / 3.477 GB, free: 38.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/6.585, allocations: 0.6716 MB / 3.477 GB, free: 38.58 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/6.586, allocations: 0.9688 kB / 3.477 GB, free: 38.58 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/6.586, allocations: 2.375 kB / 3.477 GB, free: 38.58 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/6.586, allocations: 33.27 kB / 3.477 GB, free: 38.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07296/6.659, allocations: 36.95 MB / 3.513 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008221/6.659, allocations: 403.5 kB / 3.514 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/6.66, allocations: 204.8 kB / 3.514 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2046/6.864, allocations: 20.09 MB / 3.534 GB, free: 97.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/6.864, allocations: 39.69 kB / 3.534 GB, free: 97.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 2.454e-06/6.864, allocations: 3.531 kB / 3.534 GB, free: 97.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.02318/6.888, allocations: 3.695 MB / 3.537 GB, free: 97.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/6.888, allocations: 114 kB / 3.537 GB, free: 97.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/6.888, allocations: 419.3 kB / 3.538 GB, free: 97.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/6.888, allocations: 25.7 kB / 3.538 GB, free: 97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/6.888, allocations: 310.4 kB / 3.538 GB, free: 96.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/6.889, allocations: 205 kB / 3.538 GB, free: 96.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/6.889, allocations: 4.203 kB / 3.538 GB, free: 96.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/6.889, allocations: 368.5 kB / 3.539 GB, free: 96.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/6.889, allocations: 350.1 kB / 3.539 GB, free: 96.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/6.89, allocations: 0.5564 MB / 3.54 GB, free: 96.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/6.891, allocations: 0.5305 MB / 3.54 GB, free: 96.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/6.891, allocations: 0 / 3.54 GB, free: 96.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003815/6.895, allocations: 1.596 MB / 3.542 GB, free: 96.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004561/6.896, allocations: 2.438 MB / 3.544 GB, free: 93.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/6.896, allocations: 9.625 kB / 3.544 GB, free: 93.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/6.899, allocations: 0.8298 MB / 3.545 GB, free: 93.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/6.9, allocations: 181.9 kB / 3.545 GB, free: 93.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/6.903, allocations: 2.05 MB / 3.547 GB, free: 92.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/6.904, allocations: 132.6 kB / 3.547 GB, free: 92.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/6.904, allocations: 51.09 kB / 3.547 GB, free: 92.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/6.904, allocations: 9.5 kB / 3.547 GB, free: 92.46 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003038/6.907, allocations: 1.057 MB / 3.548 GB, free: 92.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/6.907, allocations: 7.938 kB / 3.548 GB, free: 92.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/6.909, allocations: 369.2 kB / 3.549 GB, free: 92.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/6.91, allocations: 207.5 kB / 3.549 GB, free: 92.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/6.911, allocations: 1.565 MB / 3.55 GB, free: 91.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009082/6.912, allocations: 103.1 kB / 3.55 GB, free: 91.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/6.912, allocations: 46.69 kB / 3.55 GB, free: 91.36 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002885/6.913, allocations: 137.3 kB / 3.551 GB, free: 91.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007367/6.913, allocations: 269.4 kB / 3.551 GB, free: 91.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/6.917, allocations: 3.196 MB / 3.554 GB, free: 91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/6.918, allocations: 23.88 kB / 3.554 GB, free: 91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/6.918, allocations: 0 / 3.554 GB, free: 91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/6.918, allocations: 3.797 kB / 3.554 GB, free: 91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/6.923, allocations: 4.396 MB / 3.558 GB, free: 90.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/6.923, allocations: 0 / 3.558 GB, free: 90.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/6.923, allocations: 86.39 kB / 3.558 GB, free: 90.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/6.926, allocations: 1.261 MB / 3.56 GB, free: 90.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/6.926, allocations: 24.64 kB / 3.56 GB, free: 90.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/6.929, allocations: 2.454 MB / 3.562 GB, free: 89.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/6.929, allocations: 0 / 3.562 GB, free: 89.47 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003889/6.933, allocations: 2.708 MB / 3.565 GB, free: 89.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/6.933, allocations: 294 kB / 3.565 GB, free: 88.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/6.933, allocations: 2.781 kB / 3.565 GB, free: 88.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000872/6.934, allocations: 96.12 kB / 3.565 GB, free: 88.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/6.935, allocations: 70.97 kB / 3.565 GB, free: 88.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.481e-05/6.935, allocations: 33.53 kB / 3.565 GB, free: 88.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004565/6.935, allocations: 378.3 kB / 3.566 GB, free: 88.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005968/6.941, allocations: 1.518 MB / 3.567 GB, free: 88.86 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 13,2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.009355/6.95, allocations: 1.976 MB / 3.569 GB, free: 88.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003486/6.954, allocations: 2.012 MB / 3.571 GB, free: 88.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/6.954, allocations: 0 / 3.571 GB, free: 88.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/6.955, allocations: 1.251 MB / 3.572 GB, free: 88.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/6.957, allocations: 263.3 kB / 3.572 GB, free: 88.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03647/6.993, allocations: 15.22 MB / 3.587 GB, free: 88.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008108/6.994, allocations: 1.165 MB / 3.588 GB, free: 87.53 MB / 490.7 MB Notification: Performance of SimCode: time 2.214e-06/6.994, allocations: 0 / 3.588 GB, free: 87.53 MB / 490.7 MB Notification: Performance of Templates: time 0.06707/7.061, allocations: 54.94 MB / 3.642 GB, free: 84.54 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1)