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.001075/0.001075, allocations: 187.4 kB / 7.654 MB, free: 1.402 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.639/1.639, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001757/0.001757, allocations: 113.7 kB / 247.4 MB, free: 6.199 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.21/0.21, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.843e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09796, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.617/5.715, allocations: 2.612 GB / 3.05 GB, free: 54.06 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/5.715, allocations: 82.27 kB / 3.05 GB, free: 54.02 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302/7.018, allocations: 432.7 MB / 3.472 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.303e-06/7.018, allocations: 0 / 3.472 GB, free: 2.133 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.953e-05/7.018, allocations: 19.91 kB / 3.472 GB, free: 2.117 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.007379/7.025, allocations: 1.753 MB / 3.474 GB, free: 324 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/7.025, allocations: 8.031 kB / 3.474 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3224/7.348, allocations: 329.4 kB / 3.474 GB, free: 56.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/7.349, allocations: 0.5788 MB / 3.475 GB, free: 56.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/7.349, allocations: 25.69 kB / 3.475 GB, free: 56.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/7.349, allocations: 38.47 kB / 3.475 GB, free: 56.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001195/7.351, allocations: 0.532 MB / 3.475 GB, free: 56.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/7.352, allocations: 0.6476 MB / 3.476 GB, free: 56.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/7.352, allocations: 5.688 kB / 3.476 GB, free: 56.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/7.352, allocations: 4.312 kB / 3.476 GB, free: 56.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/7.352, allocations: 22.31 kB / 3.476 GB, free: 56.37 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01102/7.363, allocations: 7.057 MB / 3.483 GB, free: 51.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007425/7.364, allocations: 397.9 kB / 3.483 GB, free: 51.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/7.364, allocations: 203 kB / 3.484 GB, free: 51.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1649/7.529, allocations: 78.04 MB / 3.56 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/7.529, allocations: 34.06 kB / 3.56 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 2.395e-06/7.529, allocations: 0 / 3.56 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.00758/7.536, allocations: 1.78 MB / 3.562 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/7.537, allocations: 110.6 kB / 3.562 GB, free: 24.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007009/7.537, allocations: 391.4 kB / 3.562 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/7.537, allocations: 25.7 kB / 3.562 GB, free: 24.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/7.538, allocations: 346.2 kB / 3.562 GB, free: 24.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/7.538, allocations: 168.8 kB / 3.563 GB, free: 23.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/7.538, allocations: 0 / 3.563 GB, free: 23.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002067/7.538, allocations: 365.1 kB / 3.563 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/7.538, allocations: 181.9 kB / 3.563 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/7.539, allocations: 383 kB / 3.563 GB, free: 23.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/7.54, allocations: 322.8 kB / 3.564 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/7.54, allocations: 3.953 kB / 3.564 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002321/7.542, allocations: 0.8755 MB / 3.565 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009419/7.543, allocations: 2.352 MB / 3.567 GB, free: 20.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/7.543, allocations: 5.281 kB / 3.567 GB, free: 20.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/7.544, allocations: 305.7 kB / 3.567 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/7.545, allocations: 143.4 kB / 3.567 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/7.546, allocations: 0.9594 MB / 3.568 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008993/7.547, allocations: 89.53 kB / 3.568 GB, free: 20.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.013e-05/7.547, allocations: 35.52 kB / 3.568 GB, free: 20.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/7.547, allocations: 3.906 kB / 3.568 GB, free: 20.28 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001931/7.549, allocations: 0.7271 MB / 3.569 GB, free: 20.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/7.549, allocations: 7.125 kB / 3.569 GB, free: 20.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009628/7.55, allocations: 261.1 kB / 3.569 GB, free: 20.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/7.551, allocations: 151.8 kB / 3.57 GB, free: 20.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008824/7.552, allocations: 0.8438 MB / 3.57 GB, free: 19.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007511/7.552, allocations: 68.92 kB / 3.57 GB, free: 19.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/7.553, allocations: 36.97 kB / 3.57 GB, free: 19.69 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 () * 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.0002723/7.553, allocations: 126 kB / 3.571 GB, free: 19.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/7.553, allocations: 63.78 kB / 3.571 GB, free: 19.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/7.556, allocations: 2.248 MB / 3.573 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/7.556, allocations: 31.41 kB / 3.573 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/7.556, allocations: 0 / 3.573 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/7.556, allocations: 3.703 kB / 3.573 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/7.56, allocations: 3.07 MB / 3.576 GB, free: 18.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/7.56, allocations: 0 / 3.576 GB, free: 18.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/7.561, allocations: 145.8 kB / 3.576 GB, free: 18.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/7.561, allocations: 94.92 kB / 3.576 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/7.561, allocations: 6.906 kB / 3.576 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008647/7.562, allocations: 1.161 MB / 3.577 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/7.562, allocations: 3.328 kB / 3.577 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/7.564, allocations: 1.842 MB / 3.579 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/7.565, allocations: 336.2 kB / 3.579 GB, free: 17.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/7.565, allocations: 8.766 kB / 3.579 GB, free: 17.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/7.566, allocations: 57.14 kB / 3.579 GB, free: 17.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/7.566, allocations: 53.7 kB / 3.579 GB, free: 17.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/7.566, allocations: 16.09 kB / 3.579 GB, free: 17.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005338/7.567, allocations: 438 kB / 3.58 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.567, allocations: 0 / 3.58 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006896/7.574, allocations: 1.35 MB / 3.581 GB, free: 17.29 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: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01042/7.584, allocations: 1.821 MB / 3.583 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002826/7.587, allocations: 1.094 MB / 3.584 GB, free: 17.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/7.587, allocations: 0.6875 kB / 3.584 GB, free: 17.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/7.588, allocations: 0.5821 MB / 3.585 GB, free: 17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/7.59, allocations: 268.4 kB / 3.585 GB, free: 16.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1738/7.764, allocations: 85.95 MB / 3.669 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/7.764, allocations: 1.114 MB / 3.67 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001438/7.766, allocations: 0.6718 MB / 3.671 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/7.766, allocations: 55.42 kB / 3.671 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/7.766, allocations: 4 kB / 3.671 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of Templates: time 0.3664/8.132, allocations: 38.33 MB / 3.708 GB, free: 83.68 MB / 0.5105 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)