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.001618/0.001618, allocations: 182.5 kB / 12.74 MB, free: 2.582 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.791/1.791, allocations: 194.3 MB / 207.5 MB, free: 3.445 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.001732/0.001732, allocations: 111.3 kB / 252.6 MB, free: 4.781 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.2503/0.2503, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.901e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1387, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.119/6.258, allocations: 2.613 GB / 3.057 GB, free: 54.38 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/6.258, allocations: 87.58 kB / 3.057 GB, free: 54.33 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313/7.571, allocations: 436.9 MB / 3.484 GB, free: 10.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/7.571, allocations: 4 kB / 3.484 GB, free: 10.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.485e-05/7.571, allocations: 18.34 kB / 3.484 GB, free: 10.66 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.00596/7.577, allocations: 1.749 MB / 3.486 GB, free: 8.871 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/7.577, allocations: 12.03 kB / 3.486 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/7.579, allocations: 328.8 kB / 3.486 GB, free: 8.539 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/7.58, allocations: 0.5842 MB / 3.486 GB, free: 7.926 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/7.58, allocations: 45.31 kB / 3.487 GB, free: 7.879 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.17e-05/7.58, allocations: 56 kB / 3.487 GB, free: 7.824 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/7.582, allocations: 0.9648 MB / 3.488 GB, free: 6.797 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/7.582, allocations: 4 kB / 3.488 GB, free: 6.793 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/7.582, allocations: 24 kB / 3.488 GB, free: 6.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/7.582, allocations: 21.31 kB / 3.488 GB, free: 6.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/7.584, allocations: 0.813 MB / 3.488 GB, free: 5.938 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.003496/7.587, allocations: 4.325 MB / 3.493 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/7.589, allocations: 0.6812 MB / 3.493 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/7.589, allocations: 222.1 kB / 3.493 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4494/8.039, allocations: 79.45 MB / 3.571 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/8.039, allocations: 37.66 kB / 3.571 GB, free: 24.69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.234e-06/8.039, allocations: 0 / 3.571 GB, free: 24.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.004753/8.044, allocations: 1.828 MB / 3.573 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/8.044, allocations: 110.1 kB / 3.573 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/8.044, allocations: 414.7 kB / 3.573 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/8.044, allocations: 37.64 kB / 3.573 GB, free: 24.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/8.044, allocations: 343.5 kB / 3.574 GB, free: 23.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/8.044, allocations: 180.1 kB / 3.574 GB, free: 23.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/8.045, allocations: 15.5 kB / 3.574 GB, free: 23.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001473/8.045, allocations: 365.8 kB / 3.574 GB, free: 23.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/8.045, allocations: 187.5 kB / 3.574 GB, free: 23.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/8.045, allocations: 394.1 kB / 3.575 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/8.046, allocations: 242.9 kB / 3.575 GB, free: 23.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/8.046, allocations: 0 / 3.575 GB, free: 23.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00145/8.047, allocations: 0.8409 MB / 3.576 GB, free: 23.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00102/8.048, allocations: 2.355 MB / 3.578 GB, free: 20.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/8.048, allocations: 3.719 kB / 3.578 GB, free: 20.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/8.05, allocations: 398.2 kB / 3.579 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/8.05, allocations: 140.8 kB / 3.579 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009449/8.051, allocations: 0.8753 MB / 3.58 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/8.052, allocations: 94.16 kB / 3.58 GB, free: 20.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/8.052, allocations: 42.88 kB / 3.58 GB, free: 20.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/8.052, allocations: 5.469 kB / 3.58 GB, free: 20.13 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001274/8.054, allocations: 0.7099 MB / 3.58 GB, free: 20.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/8.054, allocations: 7.406 kB / 3.58 GB, free: 20.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/8.055, allocations: 287.6 kB / 3.581 GB, free: 20.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/8.055, allocations: 154.7 kB / 3.581 GB, free: 20.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/8.057, allocations: 0.8051 MB / 3.582 GB, free: 35.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/8.058, allocations: 91.25 kB / 3.582 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/8.058, allocations: 34.23 kB / 3.582 GB, free: 35.55 MB / 0.5105 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.0002525/8.058, allocations: 157 kB / 3.582 GB, free: 35.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/8.058, allocations: 62.31 kB / 3.582 GB, free: 35.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/8.061, allocations: 2.647 MB / 3.585 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/8.061, allocations: 38.83 kB / 3.585 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/8.061, allocations: 0 / 3.585 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/8.061, allocations: 3.375 kB / 3.585 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/8.065, allocations: 3.65 MB / 3.588 GB, free: 34.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/8.065, allocations: 0 / 3.588 GB, free: 34.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/8.065, allocations: 146.5 kB / 3.588 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003316/8.065, allocations: 101.6 kB / 3.588 GB, free: 34.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/8.066, allocations: 21.31 kB / 3.588 GB, free: 34.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007191/8.066, allocations: 1.13 MB / 3.589 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/8.066, allocations: 1.859 kB / 3.589 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/8.068, allocations: 2.086 MB / 3.592 GB, free: 33.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/8.069, allocations: 340.4 kB / 3.592 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.084e-05/8.069, allocations: 19.03 kB / 3.592 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/8.069, allocations: 64.27 kB / 3.592 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/8.069, allocations: 51.17 kB / 3.592 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/8.069, allocations: 24.78 kB / 3.592 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004724/8.07, allocations: 440.8 kB / 3.592 GB, free: 33.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/8.07, allocations: 3.969 kB / 3.592 GB, free: 33.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005083/8.075, allocations: 1.39 MB / 3.594 GB, free: 33.06 MB / 0.5105 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 () * 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.006787/8.082, allocations: 1.732 MB / 3.595 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002119/8.084, allocations: 1.221 MB / 3.597 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/8.084, allocations: 3.281 kB / 3.597 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007591/8.085, allocations: 0.6788 MB / 3.597 GB, free: 32.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/8.086, allocations: 287.9 kB / 3.598 GB, free: 32.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4634/8.55, allocations: 123.7 MB / 3.718 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/8.55, allocations: 1.153 MB / 3.72 GB, free: 78.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001196/8.551, allocations: 0.644 MB / 3.72 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/8.552, allocations: 59.66 kB / 3.72 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/8.552, allocations: 0 / 3.72 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.0547/8.606, allocations: 45.29 MB / 3.764 GB, free: 77.26 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)