Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008363/0.008363, allocations: 166 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.532/1.532, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001636/0.001636, allocations: 114.6 kB / 226.2 MB, free: 10.11 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.3732/0.3732, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 12 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 48.71 MB / 411.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.651/7.783, allocations: 2.502 GB / 2.904 GB, free: 60.19 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/7.784, allocations: 90.02 kB / 2.904 GB, free: 60.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.178/9.961, allocations: 427.3 MB / 3.321 GB, free: 33.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.055e-06/9.962, allocations: 0 / 3.321 GB, free: 33.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.118e-05/9.962, allocations: 16.44 kB / 3.321 GB, free: 33.14 MB / 442.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.009269/9.971, allocations: 1.786 MB / 3.323 GB, free: 32.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/9.971, allocations: 8.25 kB / 3.323 GB, free: 32.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/9.974, allocations: 313.2 kB / 3.323 GB, free: 32.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/9.975, allocations: 0.586 MB / 3.324 GB, free: 32.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/9.975, allocations: 50.77 kB / 3.324 GB, free: 32.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/9.975, allocations: 59.34 kB / 3.324 GB, free: 32.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/9.978, allocations: 0.9874 MB / 3.325 GB, free: 32.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/9.978, allocations: 1.969 kB / 3.325 GB, free: 32.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.452e-05/9.978, allocations: 28.02 kB / 3.325 GB, free: 32.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/9.978, allocations: 21.91 kB / 3.325 GB, free: 32.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/9.981, allocations: 0.9064 MB / 3.326 GB, free: 32 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005608/9.986, allocations: 4.334 MB / 3.33 GB, free: 28.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/9.989, allocations: 0.7544 MB / 3.331 GB, free: 28.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1933/10.18, allocations: 78.98 MB / 3.408 GB, free: 33.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.739e-05/10.18, allocations: 36.16 kB / 3.408 GB, free: 33.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 5.109e-06/10.18, allocations: 0 / 3.408 GB, free: 33.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.00788/10.19, allocations: 2.294 MB / 3.41 GB, free: 32.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/10.19, allocations: 111.1 kB / 3.41 GB, free: 32.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008774/10.19, allocations: 426.2 kB / 3.411 GB, free: 32.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.124e-05/10.19, allocations: 35.36 kB / 3.411 GB, free: 32.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/10.19, allocations: 341.2 kB / 3.411 GB, free: 32.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/10.19, allocations: 177.7 kB / 3.411 GB, free: 31.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/10.19, allocations: 14.62 kB / 3.411 GB, free: 31.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002242/10.19, allocations: 365.7 kB / 3.412 GB, free: 31.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/10.19, allocations: 263.3 kB / 3.412 GB, free: 31.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/10.19, allocations: 458.8 kB / 3.412 GB, free: 31.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/10.19, allocations: 309.6 kB / 3.413 GB, free: 31.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/10.19, allocations: 0 / 3.413 GB, free: 31.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002388/10.2, allocations: 0.9891 MB / 3.414 GB, free: 31.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001239/10.2, allocations: 2.354 MB / 3.416 GB, free: 28.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/10.2, allocations: 7.656 kB / 3.416 GB, free: 28.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/10.2, allocations: 430.7 kB / 3.416 GB, free: 28.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/10.2, allocations: 140.2 kB / 3.417 GB, free: 28.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/10.2, allocations: 0.932 MB / 3.418 GB, free: 28.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/10.2, allocations: 90.89 kB / 3.418 GB, free: 28.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.223e-05/10.2, allocations: 38.31 kB / 3.418 GB, free: 28.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/10.2, allocations: 5.188 kB / 3.418 GB, free: 28.21 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002091/10.21, allocations: 0.864 MB / 3.418 GB, free: 28.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/10.21, allocations: 7.594 kB / 3.418 GB, free: 28.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/10.21, allocations: 319.9 kB / 3.419 GB, free: 28.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/10.21, allocations: 152.4 kB / 3.419 GB, free: 28.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/10.21, allocations: 0.8591 MB / 3.42 GB, free: 27.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/10.21, allocations: 91.75 kB / 3.42 GB, free: 27.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/10.21, allocations: 37.06 kB / 3.42 GB, free: 27.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 () * Number of clocked 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006777/10.21, allocations: 289 kB / 3.42 GB, free: 27.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/10.21, allocations: 67.86 kB / 3.42 GB, free: 27.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/10.21, allocations: 2.735 MB / 3.423 GB, free: 27.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-05/10.21, allocations: 40.19 kB / 3.423 GB, free: 27.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/10.21, allocations: 0 / 3.423 GB, free: 27.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/10.21, allocations: 7.062 kB / 3.423 GB, free: 27.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00535/10.22, allocations: 3.737 MB / 3.427 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/10.22, allocations: 3.344 kB / 3.427 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/10.22, allocations: 140.5 kB / 3.427 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005047/10.22, allocations: 106.5 kB / 3.427 GB, free: 26.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/10.22, allocations: 17.16 kB / 3.427 GB, free: 26.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/10.22, allocations: 1.14 MB / 3.428 GB, free: 25.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/10.22, allocations: 2.25 kB / 3.428 GB, free: 25.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/10.23, allocations: 2.266 MB / 3.43 GB, free: 25.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/10.23, allocations: 344.5 kB / 3.431 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/10.23, allocations: 15.3 kB / 3.431 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/10.23, allocations: 70.44 kB / 3.431 GB, free: 25.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/10.23, allocations: 49.28 kB / 3.431 GB, free: 25.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/10.23, allocations: 24.02 kB / 3.431 GB, free: 25.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006708/10.23, allocations: 458.4 kB / 3.431 GB, free: 24.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/10.23, allocations: 0 / 3.431 GB, free: 24.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008183/10.24, allocations: 1.389 MB / 3.432 GB, free: 24.72 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01195/10.25, allocations: 1.71 MB / 3.434 GB, free: 24.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00392/10.25, allocations: 1.407 MB / 3.436 GB, free: 24.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/10.25, allocations: 4.125 kB / 3.436 GB, free: 24.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/10.25, allocations: 0.7402 MB / 3.436 GB, free: 24.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/10.26, allocations: 287.7 kB / 3.437 GB, free: 24.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5817/10.84, allocations: 123 MB / 3.557 GB, free: 75.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/10.84, allocations: 1.151 MB / 3.558 GB, free: 75.26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001519/10.84, allocations: 0.6234 MB / 3.558 GB, free: 75.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/10.84, allocations: 64.03 kB / 3.558 GB, free: 75.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.703e-06/10.84, allocations: 0 / 3.558 GB, free: 75.25 MB / 490.7 MB Notification: Performance of Templates: time 0.06481/10.91, allocations: 42.53 MB / 3.6 GB, free: 73.22 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1)