Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.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.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.004871/0.004872, allocations: 178.9 kB / 7.451 MB, free: 2.512 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.535/1.535, 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.001926/0.001926, allocations: 99.88 kB / 217.7 MB, free: 8.164 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.2228/0.2228, allocations: 37.98 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.925e-06, allocations: 2.406 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1224, allocations: 48.72 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.908/5.03, allocations: 2.484 GB / 2.873 GB, free: 28.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/5.03, allocations: 86.14 kB / 2.873 GB, free: 28.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.003/8.034, allocations: 0.788 GB / 3.661 GB, free: 43.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001941/8.034, allocations: 41.23 kB / 3.661 GB, free: 43.28 MB / 458.7 MB 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.01164/8.045, allocations: 2.525 MB / 3.663 GB, free: 42 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/8.045, allocations: 11.44 kB / 3.663 GB, free: 42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/8.05, allocations: 482.6 kB / 3.664 GB, free: 41.92 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/8.053, allocations: 1.001 MB / 3.665 GB, free: 41.58 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/8.053, allocations: 54.91 kB / 3.665 GB, free: 41.58 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004912/8.054, allocations: 71.53 kB / 3.665 GB, free: 41.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003076/8.057, allocations: 1.142 MB / 3.666 GB, free: 41.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00337/8.06, allocations: 1.398 MB / 3.668 GB, free: 41.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/8.061, allocations: 3.938 kB / 3.668 GB, free: 41.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/8.061, allocations: 3.062 kB / 3.668 GB, free: 41.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.959e-05/8.061, allocations: 55.94 kB / 3.668 GB, free: 41.17 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6324/8.693, allocations: 134.6 MB / 3.799 GB, free: 67.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/8.695, allocations: 0.5516 MB / 3.8 GB, free: 67.95 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007142/8.695, allocations: 364.3 kB / 3.8 GB, free: 67.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007339/8.703, allocations: 4.067 MB / 3.804 GB, free: 64.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/8.703, allocations: 45.06 kB / 3.804 GB, free: 64.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 3.928e-06/8.703, allocations: 0 / 3.804 GB, free: 64.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=123): time 0.027/8.73, allocations: 5.879 MB / 3.81 GB, free: 62.83 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/8.73, allocations: 116.5 kB / 3.81 GB, free: 62.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/8.732, allocations: 0.6983 MB / 3.81 GB, free: 62.55 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003511/8.732, allocations: 28.83 kB / 3.811 GB, free: 62.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005996/8.733, allocations: 0.5664 MB / 3.811 GB, free: 62.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006802/8.734, allocations: 400.9 kB / 3.811 GB, free: 62.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/8.734, allocations: 0 / 3.811 GB, free: 62.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/8.734, allocations: 369.7 kB / 3.812 GB, free: 61.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/8.736, allocations: 0.5678 MB / 3.812 GB, free: 61.72 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/8.737, allocations: 0.9818 MB / 3.813 GB, free: 61.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/8.74, allocations: 0.6912 MB / 3.814 GB, free: 61.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.191e-05/8.74, allocations: 3.812 kB / 3.814 GB, free: 61.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01666/8.757, allocations: 3.147 MB / 3.817 GB, free: 60.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001549/8.758, allocations: 5.034 MB / 3.822 GB, free: 55.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.337e-05/8.759, allocations: 15.89 kB / 3.822 GB, free: 55.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008914/8.767, allocations: 1.25 MB / 3.823 GB, free: 55.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/8.769, allocations: 258 kB / 3.823 GB, free: 55.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/8.781, allocations: 6.122 MB / 3.829 GB, free: 51.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/8.785, allocations: 181.2 kB / 3.83 GB, free: 51.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006454/8.786, allocations: 91.47 kB / 3.83 GB, free: 51.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/8.786, allocations: 7.031 kB / 3.83 GB, free: 51.35 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009496/8.796, allocations: 2.037 MB / 3.832 GB, free: 51.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.384e-05/8.796, allocations: 10.25 kB / 3.832 GB, free: 51.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005393/8.801, allocations: 0.9289 MB / 3.833 GB, free: 51.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/8.803, allocations: 300.2 kB / 3.833 GB, free: 51.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008693/8.811, allocations: 5.689 MB / 3.838 GB, free: 46.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/8.814, allocations: 169 kB / 3.839 GB, free: 46.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004398/8.815, allocations: 75.69 kB / 3.839 GB, free: 46.91 MB / 474.7 MB 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.001028/8.816, allocations: 170.2 kB / 3.839 GB, free: 46.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002299/8.818, allocations: 443.8 kB / 3.839 GB, free: 46.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/8.829, allocations: 4.136 MB / 3.843 GB, free: 46.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.316e-05/8.829, allocations: 36.78 kB / 3.843 GB, free: 46.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.112e-05/8.829, allocations: 4 kB / 3.843 GB, free: 46.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/8.829, allocations: 9.938 kB / 3.843 GB, free: 46.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/8.845, allocations: 6.489 MB / 3.85 GB, free: 45.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/8.845, allocations: 4.25 kB / 3.85 GB, free: 45.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008917/8.846, allocations: 145.8 kB / 3.85 GB, free: 45.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00699/8.853, allocations: 1.827 MB / 3.852 GB, free: 45.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/8.853, allocations: 23.48 kB / 3.852 GB, free: 45.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/8.865, allocations: 8.329 MB / 3.86 GB, free: 39.74 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/8.865, allocations: 3.469 kB / 3.86 GB, free: 39.74 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01026/8.875, allocations: 3.597 MB / 3.863 GB, free: 39.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/8.877, allocations: 411.3 kB / 3.864 GB, free: 39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008294/8.878, allocations: 6.109 kB / 3.864 GB, free: 39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002915/8.881, allocations: 159.6 kB / 3.864 GB, free: 38.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000436/8.881, allocations: 121.1 kB / 3.864 GB, free: 38.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003091/8.882, allocations: 66.08 kB / 3.864 GB, free: 38.97 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002062/8.884, allocations: 0.5535 MB / 3.865 GB, free: 38.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01722/8.901, allocations: 1.927 MB / 3.866 GB, free: 38.8 MB / 474.7 MB 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.0206/8.922, allocations: 2.5 MB / 3.869 GB, free: 38.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01522/8.937, allocations: 3.257 MB / 3.872 GB, free: 38.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-05/8.937, allocations: 0 / 3.872 GB, free: 38.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005849/8.943, allocations: 1.837 MB / 3.874 GB, free: 38.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004778/8.948, allocations: 457.2 kB / 3.874 GB, free: 38.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06798/9.016, allocations: 15.76 MB / 3.89 GB, free: 36.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/9.018, allocations: 1.498 MB / 3.891 GB, free: 36.21 MB / 474.7 MB Notification: Performance of SimCode: time 1.242e-06/9.018, allocations: 0 / 3.891 GB, free: 36.21 MB / 474.7 MB Notification: Performance of Templates: time 0.4678/9.486, allocations: 73.02 MB / 3.962 GB, free: 93.71 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1)