Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00709/0.00709, allocations: 175.1 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.911/1.911, allocations: 194.5 MB / 210.3 MB, free: 8.516 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.00175/0.00175, allocations: 108.6 kB / 255.6 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2458/0.2458, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004635, allocations: 15.17 kB / 406.2 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1423, allocations: 54.87 MB / 461 MB, free: 3.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.439/7.582, allocations: 2.613 GB / 3.063 GB, free: 133.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/7.582, allocations: 94.06 kB / 3.063 GB, free: 133.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.707/9.289, allocations: 438.2 MB / 3.491 GB, free: 49.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.644e-06/9.289, allocations: 2.312 kB / 3.491 GB, free: 49.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.438e-05/9.289, allocations: 19.55 kB / 3.491 GB, free: 49.27 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.008546/9.298, allocations: 1.825 MB / 3.493 GB, free: 48.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/9.298, allocations: 7.281 kB / 3.493 GB, free: 48.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/9.301, allocations: 334.9 kB / 3.493 GB, free: 48.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/9.302, allocations: 0.5831 MB / 3.494 GB, free: 47.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/9.302, allocations: 53.97 kB / 3.494 GB, free: 47.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/9.302, allocations: 55.25 kB / 3.494 GB, free: 47.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/9.305, allocations: 0.9885 MB / 3.495 GB, free: 47.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/9.305, allocations: 11.12 kB / 3.495 GB, free: 47.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/9.305, allocations: 26.72 kB / 3.495 GB, free: 47.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/9.305, allocations: 21.22 kB / 3.495 GB, free: 47.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/9.307, allocations: 0.899 MB / 3.496 GB, free: 47 MB / 490.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.004696/9.312, allocations: 4.335 MB / 3.5 GB, free: 43.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/9.314, allocations: 0.7551 MB / 3.501 GB, free: 43.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5558/9.87, allocations: 79 MB / 3.578 GB, free: 65.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/9.87, allocations: 40.5 kB / 3.578 GB, free: 65.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.878e-06/9.87, allocations: 3.938 kB / 3.578 GB, free: 65.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.007434/9.877, allocations: 2.276 MB / 3.58 GB, free: 64.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/9.877, allocations: 112.7 kB / 3.58 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007212/9.878, allocations: 432 kB / 3.581 GB, free: 64.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/9.878, allocations: 36.61 kB / 3.581 GB, free: 64.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/9.878, allocations: 336.6 kB / 3.581 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/9.878, allocations: 181.8 kB / 3.581 GB, free: 64.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/9.878, allocations: 13.09 kB / 3.581 GB, free: 64.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001275/9.879, allocations: 371.6 kB / 3.581 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/9.879, allocations: 264 kB / 3.582 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007875/9.88, allocations: 458.2 kB / 3.582 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007335/9.881, allocations: 307.9 kB / 3.582 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/9.881, allocations: 5.25 kB / 3.582 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002779/9.884, allocations: 0.9911 MB / 3.583 GB, free: 63.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006181/9.884, allocations: 2.354 MB / 3.586 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/9.884, allocations: 6.188 kB / 3.586 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/9.886, allocations: 426.7 kB / 3.586 GB, free: 61.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/9.887, allocations: 140.8 kB / 3.586 GB, free: 61.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/9.888, allocations: 0.9294 MB / 3.587 GB, free: 60.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/9.889, allocations: 89.36 kB / 3.587 GB, free: 60.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.234e-05/9.89, allocations: 36.81 kB / 3.587 GB, free: 60.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/9.89, allocations: 5.062 kB / 3.587 GB, free: 60.82 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002638/9.892, allocations: 0.8624 MB / 3.588 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/9.892, allocations: 6.406 kB / 3.588 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/9.894, allocations: 324.1 kB / 3.588 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/9.894, allocations: 150.3 kB / 3.589 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/9.896, allocations: 0.8629 MB / 3.589 GB, free: 60.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009145/9.896, allocations: 91.34 kB / 3.589 GB, free: 60.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/9.897, allocations: 35.2 kB / 3.59 GB, free: 60.25 MB / 0.4948 GB 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.0006709/9.897, allocations: 287.5 kB / 3.59 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/9.897, allocations: 64.2 kB / 3.59 GB, free: 60.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/9.901, allocations: 2.738 MB / 3.593 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/9.901, allocations: 35.98 kB / 3.593 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/9.901, allocations: 6.547 kB / 3.593 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/9.901, allocations: 4.641 kB / 3.593 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/9.906, allocations: 3.74 MB / 3.596 GB, free: 59.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/9.906, allocations: 0 / 3.596 GB, free: 59.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/9.906, allocations: 146.2 kB / 3.596 GB, free: 59.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/9.907, allocations: 103.9 kB / 3.596 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/9.907, allocations: 16.62 kB / 3.596 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006545/9.907, allocations: 1.136 MB / 3.598 GB, free: 58.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/9.907, allocations: 0.5156 kB / 3.598 GB, free: 58.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/9.91, allocations: 2.273 MB / 3.6 GB, free: 58.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006459/9.911, allocations: 340.6 kB / 3.6 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/9.911, allocations: 13.81 kB / 3.6 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/9.912, allocations: 75.2 kB / 3.6 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/9.912, allocations: 52.66 kB / 3.6 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/9.912, allocations: 17.47 kB / 3.6 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006691/9.913, allocations: 461.9 kB / 3.601 GB, free: 57.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/9.913, allocations: 7.219 kB / 3.601 GB, free: 57.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00756/9.92, allocations: 1.396 MB / 3.602 GB, free: 57.71 MB / 0.4948 GB 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.01036/9.931, allocations: 1.712 MB / 3.604 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003392/9.934, allocations: 1.413 MB / 3.605 GB, free: 57.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/9.934, allocations: 1.641 kB / 3.605 GB, free: 57.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/9.935, allocations: 0.7329 MB / 3.606 GB, free: 57.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/9.937, allocations: 297.6 kB / 3.606 GB, free: 57.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2028/10.14, allocations: 124.8 MB / 3.728 GB, free: 23.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/10.14, allocations: 1.155 MB / 3.729 GB, free: 22.97 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00124/10.14, allocations: 0.6297 MB / 3.73 GB, free: 22.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/10.14, allocations: 67.23 kB / 3.73 GB, free: 22.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/10.14, allocations: 0 / 3.73 GB, free: 22.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.4669/10.61, allocations: 42.71 MB / 3.772 GB, free: 68.16 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1)