Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") [: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.002887/0.002887, allocations: 185.9 kB / 7.456 MB, free: 2.234 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.367/1.367, allocations: 194.2 MB / 202.1 MB, free: 8.621 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.001728/0.001727, allocations: 121.6 kB / 247.1 MB, free: 6.352 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.2074/0.2074, allocations: 39.95 MB / 331.9 MB, free: 4.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/1.022e-05, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1305, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.692/4.823, allocations: 2.612 GB / 3.049 GB, free: 146.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/4.823, allocations: 85.33 kB / 3.049 GB, free: 146.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.195/6.018, allocations: 432.9 MB / 3.472 GB, free: 57.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.219e-05/6.018, allocations: 23.44 kB / 3.472 GB, free: 57.86 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.006173/6.024, allocations: 1.757 MB / 3.474 GB, free: 57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/6.024, allocations: 7.625 kB / 3.474 GB, free: 57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/6.027, allocations: 351.4 kB / 3.474 GB, free: 56.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/6.029, allocations: 0.5839 MB / 3.474 GB, free: 56.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-05/6.029, allocations: 25.72 kB / 3.474 GB, free: 56.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/6.029, allocations: 37.41 kB / 3.475 GB, free: 56.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/6.03, allocations: 0.5371 MB / 3.475 GB, free: 56.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/6.031, allocations: 0.6562 MB / 3.476 GB, free: 56.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/6.031, allocations: 5.406 kB / 3.476 GB, free: 56.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/6.032, allocations: 0 / 3.476 GB, free: 56.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/6.032, allocations: 23.34 kB / 3.476 GB, free: 56.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07984/6.111, allocations: 36.95 MB / 3.512 GB, free: 36.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/6.112, allocations: 291 kB / 3.512 GB, free: 36.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/6.112, allocations: 195.1 kB / 3.512 GB, free: 36.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03709/6.149, allocations: 20.1 MB / 3.532 GB, free: 23.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/6.149, allocations: 40.67 kB / 3.532 GB, free: 23.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 2.855e-06/6.149, allocations: 0 / 3.532 GB, free: 23.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.02287/6.172, allocations: 3.315 MB / 3.535 GB, free: 22.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/6.172, allocations: 108.6 kB / 3.535 GB, free: 22.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/6.173, allocations: 415.4 kB / 3.536 GB, free: 22.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-05/6.173, allocations: 28.58 kB / 3.536 GB, free: 22.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/6.173, allocations: 299.5 kB / 3.536 GB, free: 21.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/6.173, allocations: 189.2 kB / 3.536 GB, free: 21.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/6.174, allocations: 0 / 3.536 GB, free: 21.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/6.174, allocations: 363 kB / 3.537 GB, free: 21.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/6.174, allocations: 292.6 kB / 3.537 GB, free: 21.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/6.175, allocations: 0.489 MB / 3.537 GB, free: 20.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/6.176, allocations: 445.2 kB / 3.538 GB, free: 20.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/6.176, allocations: 6.375 kB / 3.538 GB, free: 20.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003899/6.18, allocations: 1.381 MB / 3.539 GB, free: 20.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005241/6.181, allocations: 2.441 MB / 3.541 GB, free: 17.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/6.181, allocations: 3.906 kB / 3.541 GB, free: 17.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/6.184, allocations: 0.5748 MB / 3.542 GB, free: 17.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/6.184, allocations: 166.8 kB / 3.542 GB, free: 17.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/6.187, allocations: 1.837 MB / 3.544 GB, free: 16.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/6.188, allocations: 113.2 kB / 3.544 GB, free: 16.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/6.188, allocations: 45.84 kB / 3.544 GB, free: 16.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/6.188, allocations: 3.75 kB / 3.544 GB, free: 16.02 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003456/6.192, allocations: 1.019 MB / 3.545 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/6.192, allocations: 5.969 kB / 3.545 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/6.193, allocations: 370.6 kB / 3.545 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/6.194, allocations: 176.7 kB / 3.546 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/6.196, allocations: 1.553 MB / 3.547 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008277/6.196, allocations: 86.81 kB / 3.547 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/6.196, allocations: 43.8 kB / 3.547 GB, free: 13.89 MB / 490.7 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 (65): * Single equations (assignments): 63 * 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.0002883/6.197, allocations: 140.5 kB / 3.547 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007808/6.198, allocations: 272 kB / 3.548 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/6.201, allocations: 3.027 MB / 3.551 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/6.201, allocations: 33.89 kB / 3.551 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/6.201, allocations: 0 / 3.551 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/6.201, allocations: 3.328 kB / 3.551 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00457/6.206, allocations: 4.081 MB / 3.555 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/6.206, allocations: 4.031 kB / 3.555 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/6.206, allocations: 86.52 kB / 3.555 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/6.208, allocations: 1.045 MB / 3.556 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.538e-05/6.209, allocations: 22.98 kB / 3.556 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/6.211, allocations: 2.256 MB / 3.558 GB, free: 4.105 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/6.211, allocations: 4 kB / 3.558 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003219/6.214, allocations: 2.495 MB / 3.56 GB, free: 1.801 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/6.214, allocations: 284.3 kB / 3.561 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/6.215, allocations: 4 kB / 3.561 GB, free: 1.543 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/6.215, allocations: 77.86 kB / 3.561 GB, free: 1.484 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/6.215, allocations: 66.05 kB / 3.561 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/6.215, allocations: 31.89 kB / 3.561 GB, free: 1.418 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003898/6.216, allocations: 361.1 kB / 3.561 GB, free: 1.098 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0059/6.222, allocations: 1.5 MB / 3.563 GB, free: 15.64 MB / 0.4948 GB 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 (40): * Single equations (assignments): 33 * 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.01042/6.232, allocations: 1.976 MB / 3.565 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00415/6.236, allocations: 1.843 MB / 3.566 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/6.236, allocations: 0.6875 kB / 3.566 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/6.238, allocations: 1.175 MB / 3.568 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/6.24, allocations: 253 kB / 3.568 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2038/6.444, allocations: 15.15 MB / 3.583 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000775/6.445, allocations: 1.145 MB / 3.584 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/6.445, allocations: 0 / 3.584 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.06525/6.51, allocations: 52.81 MB / 3.635 GB, free: 102.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1)