Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") [: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.004514/0.004514, allocations: 175.5 kB / 7.451 MB, free: 2.504 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.38/1.38, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001755/0.001755, allocations: 119.8 kB / 217.7 MB, free: 8.137 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.1583/0.1583, allocations: 37.98 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.857e-06/8.897e-06, allocations: 0 / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 48.71 MB / 398.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.238/6.358, allocations: 2.484 GB / 2.873 GB, free: 14.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/6.359, allocations: 79.95 kB / 2.873 GB, free: 14.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.78/8.138, allocations: 404.2 MB / 3.268 GB, free: 46.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.251e-05/8.138, allocations: 17.31 kB / 3.268 GB, free: 46.69 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007976/8.146, allocations: 1.611 MB / 3.27 GB, free: 45.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/8.147, allocations: 11.47 kB / 3.27 GB, free: 45.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/8.15, allocations: 304.3 kB / 3.27 GB, free: 45.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/8.151, allocations: 0.5424 MB / 3.27 GB, free: 45.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/8.151, allocations: 21.31 kB / 3.27 GB, free: 45.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/8.152, allocations: 33.45 kB / 3.271 GB, free: 45.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001293/8.153, allocations: 0.5147 MB / 3.271 GB, free: 45.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/8.154, allocations: 0.6352 MB / 3.272 GB, free: 45.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/8.154, allocations: 0 / 3.272 GB, free: 45.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.571e-05/8.154, allocations: 3.156 kB / 3.272 GB, free: 45.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/8.154, allocations: 20.34 kB / 3.272 GB, free: 45.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08871/8.243, allocations: 36.8 MB / 3.308 GB, free: 26.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007571/8.244, allocations: 344.8 kB / 3.308 GB, free: 25.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/8.244, allocations: 186.4 kB / 3.308 GB, free: 25.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04503/8.289, allocations: 20.06 MB / 3.328 GB, free: 28.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/8.289, allocations: 38.45 kB / 3.328 GB, free: 28.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 3.667e-06/8.289, allocations: 0 / 3.328 GB, free: 28.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.01034/8.3, allocations: 2.404 MB / 3.33 GB, free: 27.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/8.3, allocations: 111.7 kB / 3.33 GB, free: 27.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008415/8.301, allocations: 364.8 kB / 3.331 GB, free: 27.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/8.301, allocations: 25.7 kB / 3.331 GB, free: 27.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/8.301, allocations: 290 kB / 3.331 GB, free: 27.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/8.301, allocations: 184.1 kB / 3.331 GB, free: 27.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/8.301, allocations: 0 / 3.331 GB, free: 27.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002174/8.302, allocations: 361.3 kB / 3.331 GB, free: 26.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/8.302, allocations: 236.4 kB / 3.332 GB, free: 26.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/8.303, allocations: 444.2 kB / 3.332 GB, free: 26.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/8.304, allocations: 360.5 kB / 3.332 GB, free: 26.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/8.304, allocations: 1.156 kB / 3.332 GB, free: 26.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004739/8.309, allocations: 1.343 MB / 3.334 GB, free: 26.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00127/8.31, allocations: 2.352 MB / 3.336 GB, free: 24.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/8.31, allocations: 5.656 kB / 3.336 GB, free: 24.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00249/8.313, allocations: 429.4 kB / 3.336 GB, free: 24.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/8.313, allocations: 148.3 kB / 3.337 GB, free: 24.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/8.316, allocations: 1.632 MB / 3.338 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/8.317, allocations: 92.97 kB / 3.338 GB, free: 23.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/8.317, allocations: 42.34 kB / 3.338 GB, free: 23.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/8.317, allocations: 4.672 kB / 3.338 GB, free: 23.02 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003679/8.321, allocations: 0.9557 MB / 3.339 GB, free: 22.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/8.321, allocations: 11.69 kB / 3.339 GB, free: 22.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/8.323, allocations: 353.4 kB / 3.34 GB, free: 22.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/8.323, allocations: 145.9 kB / 3.34 GB, free: 22.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/8.326, allocations: 1.562 MB / 3.341 GB, free: 21.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/8.327, allocations: 81.98 kB / 3.341 GB, free: 21.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/8.327, allocations: 39.34 kB / 3.341 GB, free: 21.86 MB / 442.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (62): * 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: 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,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.000665/8.328, allocations: 131.7 kB / 3.341 GB, free: 21.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/8.329, allocations: 271.8 kB / 3.342 GB, free: 21.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004953/8.334, allocations: 2.629 MB / 3.344 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/8.334, allocations: 29.72 kB / 3.344 GB, free: 21.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/8.334, allocations: 7.875 kB / 3.344 GB, free: 21.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/8.334, allocations: 3.75 kB / 3.344 GB, free: 21.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006764/8.341, allocations: 3.762 MB / 3.348 GB, free: 18.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/8.341, allocations: 0 / 3.348 GB, free: 18.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/8.341, allocations: 86.08 kB / 3.348 GB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001875/8.343, allocations: 0.5778 MB / 3.349 GB, free: 17.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/8.343, allocations: 14.55 kB / 3.349 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/8.345, allocations: 1.793 MB / 3.35 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/8.345, allocations: 7.656 kB / 3.35 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003976/8.349, allocations: 2.281 MB / 3.353 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006156/8.35, allocations: 265 kB / 3.353 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/8.35, allocations: 0 / 3.353 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007482/8.351, allocations: 73.58 kB / 3.353 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/8.351, allocations: 56.41 kB / 3.353 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/8.351, allocations: 27.8 kB / 3.353 GB, free: 13.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0005306/8.352, allocations: 336.5 kB / 3.353 GB, free: 13.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008438/8.36, allocations: 1.334 MB / 3.355 GB, free: 11.95 MB / 442.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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 8,2 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.01321/8.373, allocations: 1.857 MB / 3.356 GB, free: 10.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004613/8.378, allocations: 1.67 MB / 3.358 GB, free: 8.926 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/8.378, allocations: 0 / 3.358 GB, free: 8.926 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/8.38, allocations: 1.058 MB / 3.359 GB, free: 7.938 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/8.382, allocations: 243.7 kB / 3.359 GB, free: 7.758 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2635/8.645, allocations: 14.98 MB / 3.374 GB, free: 90.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/8.646, allocations: 1.128 MB / 3.375 GB, free: 89.44 MB / 442.7 MB Notification: Performance of SimCode: time 1.233e-06/8.646, allocations: 0 / 3.375 GB, free: 89.44 MB / 442.7 MB Notification: Performance of Templates: time 0.06733/8.713, allocations: 45.82 MB / 3.42 GB, free: 88.41 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1)