Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.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.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") [: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.002204/0.002204, allocations: 183.4 kB / 7.458 MB, free: 2.484 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.154/1.154, allocations: 194.2 MB / 202.1 MB, free: 8.668 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.00164/0.00164, allocations: 124.4 kB / 247.1 MB, free: 6.355 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.168/0.168, allocations: 39.95 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.009e-06/5.029e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.037/5.144, allocations: 2.595 GB / 3.032 GB, free: 150.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/5.145, allocations: 82.3 kB / 3.032 GB, free: 150.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.707/7.852, allocations: 0.8097 GB / 3.842 GB, free: 42.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000169/7.852, allocations: 37.91 kB / 3.842 GB, free: 42.58 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.0119/7.864, allocations: 2.611 MB / 3.844 GB, free: 41.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/7.864, allocations: 11.5 kB / 3.844 GB, free: 41.31 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00418/7.868, allocations: 495.1 kB / 3.845 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/7.871, allocations: 0.9994 MB / 3.846 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/7.871, allocations: 59.56 kB / 3.846 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000384/7.872, allocations: 76 kB / 3.846 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002534/7.874, allocations: 1.142 MB / 3.847 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/7.877, allocations: 1.378 MB / 3.848 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/7.877, allocations: 8.219 kB / 3.848 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/7.878, allocations: 5.125 kB / 3.848 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.379e-05/7.878, allocations: 54.67 kB / 3.848 GB, free: 40.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5829/8.461, allocations: 134.7 MB / 3.98 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/8.461, allocations: 0.5556 MB / 3.98 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004835/8.462, allocations: 365.1 kB / 3.981 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006243/8.468, allocations: 4.1 MB / 3.985 GB, free: 98.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/8.468, allocations: 50.84 kB / 3.985 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=81): time 3.075e-06/8.468, allocations: 0 / 3.985 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=123): time 0.0198/8.488, allocations: 5.885 MB / 3.991 GB, free: 96.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/8.488, allocations: 121 kB / 3.991 GB, free: 96.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/8.489, allocations: 0.6983 MB / 3.991 GB, free: 96.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/8.489, allocations: 25.7 kB / 3.991 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/8.49, allocations: 0.5655 MB / 3.992 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003632/8.49, allocations: 402.6 kB / 3.992 GB, free: 96.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.373e-05/8.49, allocations: 0 / 3.992 GB, free: 96.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001031/8.49, allocations: 365.8 kB / 3.993 GB, free: 95.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009021/8.491, allocations: 0.5649 MB / 3.993 GB, free: 95.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/8.492, allocations: 0.9831 MB / 3.994 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/8.494, allocations: 0.6897 MB / 3.995 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/8.494, allocations: 3.438 kB / 3.995 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01013/8.504, allocations: 3.142 MB / 3.998 GB, free: 95.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00114/8.505, allocations: 5.039 MB / 4.003 GB, free: 89.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/8.505, allocations: 13.31 kB / 4.003 GB, free: 89.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006081/8.511, allocations: 1.253 MB / 4.004 GB, free: 89.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/8.512, allocations: 265.7 kB / 4.004 GB, free: 89.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008454/8.521, allocations: 6.118 MB / 4.01 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/8.523, allocations: 187.9 kB / 4.01 GB, free: 85.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/8.524, allocations: 91.78 kB / 4.011 GB, free: 85.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/8.524, allocations: 3.719 kB / 4.011 GB, free: 85.66 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006261/8.53, allocations: 2.035 MB / 4.013 GB, free: 85.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.084e-05/8.53, allocations: 14.72 kB / 4.013 GB, free: 85.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004001/8.534, allocations: 0.9285 MB / 4.013 GB, free: 85.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009825/8.535, allocations: 304.6 kB / 4.014 GB, free: 85.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006153/8.541, allocations: 5.679 MB / 4.019 GB, free: 81.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/8.543, allocations: 166.1 kB / 4.019 GB, free: 81.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/8.543, allocations: 90.36 kB / 4.02 GB, free: 81.31 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpPolynomial.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpPolynomial.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpQuadraticLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpQuadraticLinear.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpLinear.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.pumpLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,Source.medium.phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 122 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 6,2 8,2 6,2 8,2 6,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.000728/8.544, allocations: 160.3 kB / 4.02 GB, free: 81.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/8.545, allocations: 445.9 kB / 4.02 GB, free: 81.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00747/8.553, allocations: 4.144 MB / 4.024 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/8.553, allocations: 30.61 kB / 4.024 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/8.553, allocations: 2 kB / 4.024 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/8.553, allocations: 7.5 kB / 4.024 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/8.564, allocations: 6.506 MB / 4.031 GB, free: 79.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/8.564, allocations: 0 / 4.031 GB, free: 79.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006449/8.565, allocations: 144.3 kB / 4.031 GB, free: 79.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005166/8.57, allocations: 1.819 MB / 4.032 GB, free: 79.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/8.57, allocations: 27.12 kB / 4.033 GB, free: 79.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007963/8.578, allocations: 8.32 MB / 4.041 GB, free: 74.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/8.578, allocations: 5.688 kB / 4.041 GB, free: 74.27 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006957/8.585, allocations: 3.595 MB / 4.044 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/8.587, allocations: 410.8 kB / 4.045 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005087/8.587, allocations: 7.156 kB / 4.045 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/8.589, allocations: 169.5 kB / 4.045 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/8.589, allocations: 117.6 kB / 4.045 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/8.59, allocations: 60.39 kB / 4.045 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001429/8.591, allocations: 0.5614 MB / 4.045 GB, free: 73.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0121/8.603, allocations: 1.943 MB / 4.047 GB, free: 73.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 17 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 10,2 6,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01354/8.617, allocations: 2.515 MB / 4.05 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01002/8.627, allocations: 3.256 MB / 4.053 GB, free: 73.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/8.627, allocations: 3.531 kB / 4.053 GB, free: 73.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003583/8.63, allocations: 1.846 MB / 4.055 GB, free: 72.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/8.633, allocations: 451.8 kB / 4.055 GB, free: 72.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04177/8.675, allocations: 16.14 MB / 4.071 GB, free: 72.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/8.677, allocations: 1.498 MB / 4.072 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/8.677, allocations: 0 / 4.072 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.104/8.781, allocations: 73.36 MB / 4.144 GB, free: 58.8 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1)