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.001584/0.001584, allocations: 187.3 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.442/1.442, 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.0016/0.0016, allocations: 115.1 kB / 247.4 MB, free: 6.195 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.1889/0.1889, allocations: 39.94 MB / 332.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.817e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.779/5.886, allocations: 2.606 GB / 3.043 GB, free: 142.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/5.886, allocations: 82.48 kB / 3.043 GB, free: 142.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.81/6.696, allocations: 229.7 MB / 3.268 GB, free: 69.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.492e-06/6.696, allocations: 0 / 3.268 GB, free: 69.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.408e-05/6.696, allocations: 14.75 kB / 3.268 GB, free: 69.26 MB / 474.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.007431/6.703, allocations: 1.271 MB / 3.269 GB, free: 68.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/6.704, allocations: 6.969 kB / 3.269 GB, free: 68.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/6.706, allocations: 250.9 kB / 3.269 GB, free: 68.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009686/6.707, allocations: 425.4 kB / 3.27 GB, free: 68.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/6.707, allocations: 15.17 kB / 3.27 GB, free: 68.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/6.707, allocations: 18.91 kB / 3.27 GB, free: 68.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005969/6.708, allocations: 336.7 kB / 3.27 GB, free: 67.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/6.708, allocations: 398.2 kB / 3.27 GB, free: 67.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/6.708, allocations: 7.625 kB / 3.27 GB, free: 67.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/6.708, allocations: 0 / 3.27 GB, free: 67.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/6.708, allocations: 13.91 kB / 3.27 GB, free: 67.75 MB / 474.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.006006/6.714, allocations: 3.895 MB / 3.274 GB, free: 64.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/6.715, allocations: 230.6 kB / 3.274 GB, free: 64.65 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/6.715, allocations: 127.3 kB / 3.275 GB, free: 64.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1009/6.816, allocations: 50.23 MB / 3.324 GB, free: 30.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/6.816, allocations: 54.31 kB / 3.324 GB, free: 30.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 2.976e-06/6.816, allocations: 0 / 3.324 GB, free: 30.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.00204/6.818, allocations: 0.5372 MB / 3.324 GB, free: 29.47 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/6.818, allocations: 110.7 kB / 3.324 GB, free: 29.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/6.818, allocations: 286.2 kB / 3.325 GB, free: 29.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/6.819, allocations: 25.7 kB / 3.325 GB, free: 29.03 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/6.819, allocations: 244 kB / 3.325 GB, free: 28.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/6.819, allocations: 78.84 kB / 3.325 GB, free: 28.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/6.819, allocations: 0 / 3.325 GB, free: 28.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.118e-05/6.819, allocations: 350.7 kB / 3.325 GB, free: 28.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/6.819, allocations: 95.98 kB / 3.325 GB, free: 28.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/6.819, allocations: 229.2 kB / 3.326 GB, free: 27.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/6.82, allocations: 224.7 kB / 3.326 GB, free: 27.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/6.82, allocations: 0 / 3.326 GB, free: 27.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001218/6.821, allocations: 460.7 kB / 3.326 GB, free: 27.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003252/6.822, allocations: 1.49 MB / 3.328 GB, free: 25.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/6.822, allocations: 7.984 kB / 3.328 GB, free: 25.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/6.822, allocations: 4 kB / 3.328 GB, free: 25.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/6.822, allocations: 119.8 kB / 3.328 GB, free: 25.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/6.822, allocations: 8 kB / 3.328 GB, free: 25.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/6.823, allocations: 67.64 kB / 3.328 GB, free: 25.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/6.823, allocations: 23.98 kB / 3.328 GB, free: 25.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/6.823, allocations: 4 kB / 3.328 GB, free: 25.47 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009333/6.824, allocations: 359.9 kB / 3.328 GB, free: 25.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/6.824, allocations: 8.094 kB / 3.328 GB, free: 25.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/6.824, allocations: 8 kB / 3.328 GB, free: 25.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/6.824, allocations: 115.9 kB / 3.328 GB, free: 24.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/6.824, allocations: 7.938 kB / 3.328 GB, free: 24.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/6.825, allocations: 63.7 kB / 3.328 GB, free: 24.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/6.825, allocations: 20 kB / 3.328 GB, free: 24.9 MB / 474.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 () * 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.0001095/6.825, allocations: 116.8 kB / 3.329 GB, free: 24.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/6.825, allocations: 31.62 kB / 3.329 GB, free: 24.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/6.827, allocations: 1.698 MB / 3.33 GB, free: 23.03 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/6.827, allocations: 27.95 kB / 3.33 GB, free: 23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/6.827, allocations: 0 / 3.33 GB, free: 23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/6.827, allocations: 7.938 kB / 3.33 GB, free: 23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/6.828, allocations: 0.8549 MB / 3.331 GB, free: 22.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/6.828, allocations: 0 / 3.331 GB, free: 22.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/6.828, allocations: 91.86 kB / 3.331 GB, free: 22.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/6.828, allocations: 0 / 3.331 GB, free: 22.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/6.828, allocations: 8 kB / 3.331 GB, free: 22.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/6.828, allocations: 0 / 3.331 GB, free: 22.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/6.828, allocations: 0 / 3.331 GB, free: 22.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/6.829, allocations: 0.9823 MB / 3.332 GB, free: 21.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/6.83, allocations: 243.5 kB / 3.332 GB, free: 20.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/6.83, allocations: 0 / 3.332 GB, free: 20.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/6.83, allocations: 35.97 kB / 3.332 GB, free: 20.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/6.83, allocations: 39.94 kB / 3.332 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/6.83, allocations: 12 kB / 3.332 GB, free: 20.67 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002612/6.83, allocations: 294.9 kB / 3.333 GB, free: 20.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/6.83, allocations: 0 / 3.333 GB, free: 20.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005067/6.835, allocations: 1.155 MB / 3.334 GB, free: 19.23 MB / 474.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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008046/6.843, allocations: 1.532 MB / 3.335 GB, free: 17.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/6.845, allocations: 0.6616 MB / 3.336 GB, free: 17.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/6.845, allocations: 8 kB / 3.336 GB, free: 17.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/6.845, allocations: 433.2 kB / 3.336 GB, free: 16.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/6.846, allocations: 181.5 kB / 3.337 GB, free: 16.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4215/7.268, allocations: 54.41 MB / 3.39 GB, free: 78.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/7.268, allocations: 0.9795 MB / 3.391 GB, free: 78.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001188/7.269, allocations: 0.5396 MB / 3.391 GB, free: 78.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/7.27, allocations: 47.39 kB / 3.391 GB, free: 78.19 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/7.27, allocations: 0 / 3.391 GB, free: 78.19 MB / 490.7 MB Notification: Performance of Templates: time 0.04135/7.311, allocations: 29.78 MB / 3.42 GB, free: 77.08 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)