Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") [: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.001234/0.001234, allocations: 195 kB / 7.465 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.192/1.192, allocations: 194.2 MB / 202.1 MB, free: 14.39 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001674/0.001674, allocations: 110.2 kB / 247.1 MB, free: 0.5312 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1733/0.1733, allocations: 39.93 MB / 331.9 MB, free: 11.59 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.745e-06, allocations: 0 / 392.8 MB, free: 48.37 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 54.86 MB / 447.7 MB, free: 9.438 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.085/5.198, allocations: 2.617 GB / 3.054 GB, free: 32.44 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/5.198, allocations: 87.3 kB / 3.054 GB, free: 32.36 MB / 482.8 MB Notification: Performance of FrontEnd: time 1.544/6.742, allocations: 433.9 MB / 3.478 GB, free: 51.82 MB / 482.8 MB Notification: Performance of Transformations before backend: time 4.496e-05/6.742, allocations: 21.61 kB / 3.478 GB, free: 51.82 MB / 482.8 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.005826/6.747, allocations: 1.778 MB / 3.48 GB, free: 51.12 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/6.748, allocations: 9.906 kB / 3.48 GB, free: 51.12 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/6.75, allocations: 374.5 kB / 3.48 GB, free: 51.09 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/6.751, allocations: 0.5896 MB / 3.481 GB, free: 50.85 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/6.751, allocations: 20.94 kB / 3.481 GB, free: 50.85 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/6.751, allocations: 35 kB / 3.481 GB, free: 50.85 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008453/6.752, allocations: 0.5492 MB / 3.481 GB, free: 50.85 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008651/6.753, allocations: 0.6731 MB / 3.482 GB, free: 50.65 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/6.753, allocations: 2.156 kB / 3.482 GB, free: 50.65 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/6.753, allocations: 3.781 kB / 3.482 GB, free: 50.65 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/6.753, allocations: 26.5 kB / 3.482 GB, free: 50.65 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07366/6.827, allocations: 37.06 MB / 3.518 GB, free: 31.8 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/6.827, allocations: 317.3 kB / 3.518 GB, free: 31.77 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/6.828, allocations: 202 kB / 3.519 GB, free: 31.76 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03442/6.862, allocations: 20.35 MB / 3.538 GB, free: 18.14 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/6.862, allocations: 37.69 kB / 3.538 GB, free: 18.1 MB / 482.8 MB Notification: Performance of pre-optimization done (n=42): time 2.996e-06/6.862, allocations: 3.969 kB / 3.538 GB, free: 18.1 MB / 482.8 MB Notification: Performance of matching and sorting (n=58): time 0.0227/6.885, allocations: 3.356 MB / 3.542 GB, free: 17.32 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/6.885, allocations: 107.2 kB / 3.542 GB, free: 17.2 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006133/6.886, allocations: 408.5 kB / 3.542 GB, free: 17.07 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/6.886, allocations: 25.7 kB / 3.542 GB, free: 17.04 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/6.886, allocations: 301.8 kB / 3.543 GB, free: 16.84 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/6.886, allocations: 193.2 kB / 3.543 GB, free: 16.71 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/6.886, allocations: 4 kB / 3.543 GB, free: 16.71 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0001181/6.886, allocations: 370.7 kB / 3.543 GB, free: 16.39 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/6.887, allocations: 301.9 kB / 3.543 GB, free: 16.39 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/6.887, allocations: 0.4999 MB / 3.544 GB, free: 16.15 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/6.889, allocations: 461.4 kB / 3.544 GB, free: 16.13 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/6.889, allocations: 0 / 3.544 GB, free: 16.13 MB / 482.8 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003669/6.893, allocations: 1.408 MB / 3.546 GB, free: 16.03 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009686/6.894, allocations: 2.437 MB / 3.548 GB, free: 29.47 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/6.894, allocations: 7.938 kB / 3.548 GB, free: 29.47 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/6.896, allocations: 0.5833 MB / 3.549 GB, free: 29.43 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/6.897, allocations: 170.7 kB / 3.549 GB, free: 29.43 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/6.9, allocations: 1.832 MB / 3.551 GB, free: 28.38 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/6.901, allocations: 110.6 kB / 3.551 GB, free: 28.36 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/6.901, allocations: 49.48 kB / 3.551 GB, free: 28.36 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/6.901, allocations: 4.344 kB / 3.551 GB, free: 28.36 MB / 498.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003684/6.905, allocations: 1.046 MB / 3.552 GB, free: 28.31 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/6.905, allocations: 7.906 kB / 3.552 GB, free: 28.31 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/6.906, allocations: 363.1 kB / 3.552 GB, free: 28.29 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/6.907, allocations: 173.9 kB / 3.552 GB, free: 28.28 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/6.909, allocations: 1.571 MB / 3.554 GB, free: 27.23 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/6.911, allocations: 94.09 kB / 3.554 GB, free: 27.21 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/6.911, allocations: 44.73 kB / 3.554 GB, free: 27.21 MB / 498.8 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 (68): * Single equations (assignments): 66 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003928/6.911, allocations: 123.4 kB / 3.554 GB, free: 27.1 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009245/6.912, allocations: 274 kB / 3.554 GB, free: 27.07 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/6.916, allocations: 3.114 MB / 3.557 GB, free: 26.81 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/6.916, allocations: 33.06 kB / 3.557 GB, free: 26.81 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/6.916, allocations: 0 / 3.557 GB, free: 26.81 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/6.917, allocations: 3.844 kB / 3.557 GB, free: 26.81 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0052/6.922, allocations: 4.16 MB / 3.561 GB, free: 26.37 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/6.922, allocations: 3.094 kB / 3.561 GB, free: 26.37 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/6.922, allocations: 95.8 kB / 3.562 GB, free: 26.37 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/6.924, allocations: 1.061 MB / 3.563 GB, free: 26.29 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/6.924, allocations: 16.02 kB / 3.563 GB, free: 26.29 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/6.927, allocations: 2.257 MB / 3.565 GB, free: 25.21 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/6.927, allocations: 6.25 kB / 3.565 GB, free: 25.21 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003591/6.931, allocations: 2.544 MB / 3.567 GB, free: 24.82 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005601/6.931, allocations: 283.7 kB / 3.568 GB, free: 24.68 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/6.932, allocations: 0 / 3.568 GB, free: 24.68 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007806/6.932, allocations: 88.81 kB / 3.568 GB, free: 24.66 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/6.933, allocations: 59.14 kB / 3.568 GB, free: 24.66 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/6.933, allocations: 31.77 kB / 3.568 GB, free: 24.66 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.0004812/6.933, allocations: 368.2 kB / 3.568 GB, free: 24.57 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.006872/6.94, allocations: 1.498 MB / 3.57 GB, free: 24.36 MB / 498.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.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 (43): * Single equations (assignments): 36 * 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 9,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01023/6.95, allocations: 1.976 MB / 3.571 GB, free: 23.91 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.003614/6.954, allocations: 1.863 MB / 3.573 GB, free: 23.87 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/6.954, allocations: 0 / 3.573 GB, free: 23.87 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/6.955, allocations: 1.195 MB / 3.574 GB, free: 23.86 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/6.957, allocations: 254.7 kB / 3.575 GB, free: 23.83 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03987/6.997, allocations: 15.18 MB / 3.59 GB, free: 22.8 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/6.998, allocations: 1.162 MB / 3.591 GB, free: 22.05 MB / 498.8 MB Notification: Performance of SimCode: time 8.02e-07/6.998, allocations: 0 / 3.591 GB, free: 22.05 MB / 498.8 MB Notification: Performance of Templates: time 0.07699/7.075, allocations: 53.24 MB / 3.643 GB, free: 6.207 MB / 0.5027 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1)