Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00723/0.00723, allocations: 176.2 kB / 15.12 MB, free: 5.973 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.584/1.584, allocations: 194.5 MB / 210.3 MB, free: 7.629 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.001683/0.001683, allocations: 128.5 kB / 255.6 MB, free: 10.23 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.2255/0.2255, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004277, allocations: 11.03 kB / 406.2 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 54.88 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.181/6.312, allocations: 2.606 GB / 3.057 GB, free: 141 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/6.312, allocations: 88.48 kB / 3.057 GB, free: 141 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7003/7.013, allocations: 233.3 MB / 3.285 GB, free: 69.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/7.013, allocations: 3.938 kB / 3.285 GB, free: 69.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.712e-05/7.013, allocations: 11.75 kB / 3.285 GB, free: 69.04 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004489/7.017, allocations: 1.313 MB / 3.286 GB, free: 68.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/7.017, allocations: 11.91 kB / 3.286 GB, free: 68.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/7.019, allocations: 251.3 kB / 3.286 GB, free: 68.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/7.02, allocations: 425.3 kB / 3.286 GB, free: 67.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/7.02, allocations: 35.14 kB / 3.287 GB, free: 67.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/7.02, allocations: 26.16 kB / 3.287 GB, free: 67.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/7.022, allocations: 0.6251 MB / 3.287 GB, free: 67.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/7.022, allocations: 0 / 3.287 GB, free: 67.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/7.022, allocations: 11.91 kB / 3.287 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/7.022, allocations: 15.36 kB / 3.287 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/7.023, allocations: 0.5887 MB / 3.288 GB, free: 67.41 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.002352/7.025, allocations: 2.56 MB / 3.29 GB, free: 65.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/7.027, allocations: 449.8 kB / 3.291 GB, free: 65.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09265/7.119, allocations: 51.36 MB / 3.341 GB, free: 30.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/7.119, allocations: 38.52 kB / 3.341 GB, free: 29.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/7.119, allocations: 0 / 3.341 GB, free: 29.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002485/7.122, allocations: 0.8148 MB / 3.342 GB, free: 29.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/7.122, allocations: 106.8 kB / 3.342 GB, free: 29.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/7.122, allocations: 318.5 kB / 3.342 GB, free: 28.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/7.122, allocations: 33.7 kB / 3.342 GB, free: 28.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/7.123, allocations: 233.9 kB / 3.342 GB, free: 28.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/7.123, allocations: 85.39 kB / 3.342 GB, free: 28.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/7.123, allocations: 12 kB / 3.342 GB, free: 28.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/7.123, allocations: 349.5 kB / 3.343 GB, free: 28.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/7.123, allocations: 151.7 kB / 3.343 GB, free: 28.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/7.123, allocations: 289.7 kB / 3.343 GB, free: 27.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/7.124, allocations: 189 kB / 3.343 GB, free: 27.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/7.124, allocations: 4 kB / 3.343 GB, free: 27.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009021/7.125, allocations: 0.4924 MB / 3.344 GB, free: 27.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003237/7.125, allocations: 1.49 MB / 3.345 GB, free: 25.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/7.125, allocations: 4 kB / 3.345 GB, free: 25.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/7.125, allocations: 8 kB / 3.345 GB, free: 25.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/7.125, allocations: 121.1 kB / 3.345 GB, free: 25.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/7.126, allocations: 7.938 kB / 3.345 GB, free: 25.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/7.126, allocations: 78.97 kB / 3.345 GB, free: 25.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/7.126, allocations: 23.66 kB / 3.346 GB, free: 25.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/7.126, allocations: 4 kB / 3.346 GB, free: 25.39 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008043/7.127, allocations: 444.6 kB / 3.346 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/7.127, allocations: 4 kB / 3.346 GB, free: 25.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/7.127, allocations: 4 kB / 3.346 GB, free: 25.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/7.127, allocations: 120.9 kB / 3.346 GB, free: 24.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/7.127, allocations: 7.938 kB / 3.346 GB, free: 24.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/7.128, allocations: 71.36 kB / 3.346 GB, free: 24.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/7.128, allocations: 20 kB / 3.346 GB, free: 24.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000229/7.128, allocations: 240.8 kB / 3.346 GB, free: 24.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/7.128, allocations: 35.62 kB / 3.346 GB, free: 24.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/7.13, allocations: 1.976 MB / 3.348 GB, free: 22.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/7.13, allocations: 26.45 kB / 3.348 GB, free: 22.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/7.13, allocations: 0 / 3.348 GB, free: 22.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/7.13, allocations: 3.469 kB / 3.348 GB, free: 22.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/7.131, allocations: 1.028 MB / 3.349 GB, free: 21.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/7.131, allocations: 0 / 3.349 GB, free: 21.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/7.131, allocations: 90.92 kB / 3.349 GB, free: 21.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/7.131, allocations: 4 kB / 3.349 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/7.131, allocations: 8 kB / 3.349 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/7.131, allocations: 0 / 3.349 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/7.131, allocations: 0 / 3.349 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/7.132, allocations: 1.121 MB / 3.351 GB, free: 20.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/7.133, allocations: 250.6 kB / 3.351 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/7.133, allocations: 4 kB / 3.351 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/7.133, allocations: 52.55 kB / 3.351 GB, free: 20.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/7.133, allocations: 28.7 kB / 3.351 GB, free: 20.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/7.133, allocations: 15.33 kB / 3.351 GB, free: 20.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002834/7.133, allocations: 306.1 kB / 3.351 GB, free: 20.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/7.133, allocations: 0 / 3.351 GB, free: 20.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004565/7.138, allocations: 1.19 MB / 3.352 GB, free: 19 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00696/7.145, allocations: 1.467 MB / 3.354 GB, free: 17.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001785/7.147, allocations: 0.868 MB / 3.355 GB, free: 17.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/7.147, allocations: 0 / 3.355 GB, free: 17.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005291/7.147, allocations: 0.5272 MB / 3.355 GB, free: 16.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009956/7.148, allocations: 201.1 kB / 3.355 GB, free: 16.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3452/7.493, allocations: 77.18 MB / 3.431 GB, free: 69.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/7.494, allocations: 0.999 MB / 3.432 GB, free: 68.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001307/7.495, allocations: 0.5183 MB / 3.432 GB, free: 68.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/7.496, allocations: 47.89 kB / 3.432 GB, free: 68.55 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/7.496, allocations: 0 / 3.432 GB, free: 68.55 MB / 490.7 MB Notification: Performance of Templates: time 0.06795/7.563, allocations: 32.47 MB / 3.464 GB, free: 66.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1)