Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") [: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.002106/0.002106, allocations: 182.4 kB / 7.455 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.092/1.092, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001627/0.001627, allocations: 120.1 kB / 247.1 MB, free: 6.34 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.1609/0.1609, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.544e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.171/5.272, allocations: 2.612 GB / 3.049 GB, free: 81.98 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/5.272, allocations: 80.64 kB / 3.049 GB, free: 81.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.4/6.672, allocations: 433.3 MB / 3.472 GB, free: 40.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.372e-05/6.672, allocations: 19.94 kB / 3.472 GB, free: 40.38 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006917/6.679, allocations: 1.764 MB / 3.474 GB, free: 38.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/6.679, allocations: 8.031 kB / 3.474 GB, free: 38.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/6.682, allocations: 353 kB / 3.474 GB, free: 38.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/6.683, allocations: 0.5793 MB / 3.475 GB, free: 37.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/6.683, allocations: 24 kB / 3.475 GB, free: 37.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/6.684, allocations: 35.44 kB / 3.475 GB, free: 37.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001029/6.685, allocations: 0.5414 MB / 3.476 GB, free: 37.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/6.686, allocations: 0.6513 MB / 3.476 GB, free: 36.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/6.686, allocations: 3.938 kB / 3.476 GB, free: 36.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/6.686, allocations: 6.781 kB / 3.476 GB, free: 36.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/6.686, allocations: 32.88 kB / 3.476 GB, free: 36.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008783/6.695, allocations: 5.966 MB / 3.482 GB, free: 29.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/6.695, allocations: 317.4 kB / 3.482 GB, free: 29.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/6.696, allocations: 222 kB / 3.483 GB, free: 29.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3649/7.061, allocations: 82.02 MB / 3.563 GB, free: 67.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/7.061, allocations: 42.34 kB / 3.563 GB, free: 67.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 2.815e-06/7.061, allocations: 0 / 3.563 GB, free: 67.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=51): time 0.006609/7.067, allocations: 1.81 MB / 3.564 GB, free: 66.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/7.067, allocations: 111.2 kB / 3.565 GB, free: 66.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/7.068, allocations: 387.8 kB / 3.565 GB, free: 66.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/7.068, allocations: 25.7 kB / 3.565 GB, free: 66.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/7.068, allocations: 280.6 kB / 3.565 GB, free: 66.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/7.068, allocations: 169.8 kB / 3.565 GB, free: 66.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/7.068, allocations: 2.531 kB / 3.565 GB, free: 66.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/7.068, allocations: 366.1 kB / 3.566 GB, free: 66.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/7.069, allocations: 211 kB / 3.566 GB, free: 66.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/7.069, allocations: 411.8 kB / 3.566 GB, free: 65.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/7.07, allocations: 353.1 kB / 3.567 GB, free: 65.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/7.07, allocations: 3.781 kB / 3.567 GB, free: 65.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002986/7.073, allocations: 1.124 MB / 3.568 GB, free: 65.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000438/7.074, allocations: 2.179 MB / 3.57 GB, free: 63.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/7.074, allocations: 10.94 kB / 3.57 GB, free: 63.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/7.075, allocations: 296.7 kB / 3.57 GB, free: 63.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/7.075, allocations: 141.3 kB / 3.57 GB, free: 63.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/7.077, allocations: 1.024 MB / 3.571 GB, free: 62.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008383/7.078, allocations: 86.02 kB / 3.571 GB, free: 62.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/7.078, allocations: 38.77 kB / 3.571 GB, free: 62.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.405e-06/7.078, allocations: 3.625 kB / 3.571 GB, free: 62.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001893/7.08, allocations: 0.7515 MB / 3.572 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/7.08, allocations: 7.375 kB / 3.572 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009886/7.081, allocations: 277.4 kB / 3.572 GB, free: 62.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/7.081, allocations: 152.8 kB / 3.573 GB, free: 62.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/7.082, allocations: 0.9142 MB / 3.573 GB, free: 62.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000717/7.083, allocations: 82.75 kB / 3.574 GB, free: 62.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/7.083, allocations: 36.34 kB / 3.574 GB, free: 62.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001884/7.083, allocations: 124.5 kB / 3.574 GB, free: 62.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007775/7.084, allocations: 273.5 kB / 3.574 GB, free: 62.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/7.087, allocations: 2.575 MB / 3.576 GB, free: 61.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/7.087, allocations: 31.77 kB / 3.577 GB, free: 61.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/7.087, allocations: 2.062 kB / 3.577 GB, free: 61.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/7.087, allocations: 4.672 kB / 3.577 GB, free: 61.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/7.091, allocations: 3.424 MB / 3.58 GB, free: 61.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/7.091, allocations: 0 / 3.58 GB, free: 61.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/7.092, allocations: 156.7 kB / 3.58 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002228/7.092, allocations: 61.44 kB / 3.58 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/7.092, allocations: 13.31 kB / 3.58 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005552/7.093, allocations: 1.219 MB / 3.581 GB, free: 60.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/7.093, allocations: 3.609 kB / 3.581 GB, free: 60.42 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003413/7.096, allocations: 2.683 MB / 3.584 GB, free: 60.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/7.097, allocations: 262.9 kB / 3.584 GB, free: 59.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/7.097, allocations: 2.062 kB / 3.584 GB, free: 59.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006072/7.097, allocations: 68.67 kB / 3.584 GB, free: 59.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/7.098, allocations: 53.44 kB / 3.584 GB, free: 59.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/7.098, allocations: 26.08 kB / 3.584 GB, free: 59.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003736/7.098, allocations: 325.2 kB / 3.585 GB, free: 59.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006091/7.104, allocations: 1.354 MB / 3.586 GB, free: 59.86 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009076/7.113, allocations: 1.879 MB / 3.588 GB, free: 59.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00276/7.116, allocations: 1.568 MB / 3.589 GB, free: 59.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/7.116, allocations: 0 / 3.589 GB, free: 59.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/7.117, allocations: 1.099 MB / 3.59 GB, free: 59.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/7.119, allocations: 271.1 kB / 3.591 GB, free: 59.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03573/7.155, allocations: 15.2 MB / 3.605 GB, free: 58.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007638/7.156, allocations: 1.158 MB / 3.607 GB, free: 57.87 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/7.156, allocations: 0 / 3.607 GB, free: 57.87 MB / 490.7 MB Notification: Performance of Templates: time 0.06269/7.218, allocations: 44.9 MB / 3.65 GB, free: 52.9 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1)