Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001012/0.001012, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.166/1.166, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001632/0.001632, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1566/0.1566, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.925e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08073/0.08077, allocations: 48.7 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.677/4.758, allocations: 2.496 GB / 2.892 GB, free: 7.664 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/4.758, allocations: 83.95 kB / 2.892 GB, free: 7.582 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9539/5.712, allocations: 228.3 MB / 3.115 GB, free: 74.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.934e-06/5.712, allocations: 0 / 3.115 GB, free: 74.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.799e-05/5.712, allocations: 10.19 kB / 3.115 GB, free: 74.06 MB / 442.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.004715/5.717, allocations: 1.26 MB / 3.116 GB, free: 73.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/5.717, allocations: 5.844 kB / 3.116 GB, free: 73.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/5.719, allocations: 239.2 kB / 3.116 GB, free: 73.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/5.719, allocations: 422.1 kB / 3.117 GB, free: 73.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/5.719, allocations: 33.78 kB / 3.117 GB, free: 73.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/5.719, allocations: 27.06 kB / 3.117 GB, free: 73.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/5.721, allocations: 0.6007 MB / 3.117 GB, free: 73.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/5.721, allocations: 7.578 kB / 3.117 GB, free: 73.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/5.721, allocations: 16.81 kB / 3.117 GB, free: 73.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/5.721, allocations: 7.625 kB / 3.117 GB, free: 73.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/5.722, allocations: 0.5208 MB / 3.118 GB, free: 73.05 MB / 442.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.00227/5.724, allocations: 2.548 MB / 3.12 GB, free: 71.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/5.725, allocations: 418.3 kB / 3.121 GB, free: 71.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/5.725, allocations: 141.4 kB / 3.121 GB, free: 71.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09654/5.822, allocations: 51.59 MB / 3.171 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/5.822, allocations: 38.5 kB / 3.171 GB, free: 42.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.226e-06/5.822, allocations: 0 / 3.171 GB, free: 42.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.002127/5.824, allocations: 0.6372 MB / 3.172 GB, free: 42.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/5.824, allocations: 106.2 kB / 3.172 GB, free: 42.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/5.825, allocations: 301.4 kB / 3.172 GB, free: 42.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/5.825, allocations: 33.14 kB / 3.172 GB, free: 42.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/5.825, allocations: 234.4 kB / 3.173 GB, free: 42.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/5.825, allocations: 85.77 kB / 3.173 GB, free: 42.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/5.825, allocations: 12.12 kB / 3.173 GB, free: 42.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.152e-05/5.825, allocations: 351.3 kB / 3.173 GB, free: 42.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/5.825, allocations: 106.7 kB / 3.173 GB, free: 42.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/5.825, allocations: 239.3 kB / 3.173 GB, free: 41.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/5.826, allocations: 128.3 kB / 3.173 GB, free: 41.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/5.826, allocations: 3.906 kB / 3.173 GB, free: 41.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006511/5.826, allocations: 401.8 kB / 3.174 GB, free: 41.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003552/5.827, allocations: 1.483 MB / 3.175 GB, free: 40.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/5.827, allocations: 3.438 kB / 3.175 GB, free: 40.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/5.827, allocations: 11 kB / 3.175 GB, free: 40.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/5.827, allocations: 116.7 kB / 3.175 GB, free: 40.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/5.827, allocations: 9.344 kB / 3.175 GB, free: 40.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/5.828, allocations: 76.53 kB / 3.176 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/5.828, allocations: 22.02 kB / 3.176 GB, free: 40.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/5.828, allocations: 7.219 kB / 3.176 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005319/5.828, allocations: 342.7 kB / 3.176 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/5.828, allocations: 3.906 kB / 3.176 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/5.828, allocations: 11.66 kB / 3.176 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/5.829, allocations: 121.3 kB / 3.176 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/5.829, allocations: 6.906 kB / 3.176 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/5.829, allocations: 68.23 kB / 3.176 GB, free: 40.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/5.829, allocations: 23.47 kB / 3.176 GB, free: 40.29 MB / 442.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.0001114/5.829, allocations: 122.7 kB / 3.176 GB, free: 40.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/5.829, allocations: 34.41 kB / 3.176 GB, free: 40.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/5.831, allocations: 1.915 MB / 3.178 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/5.831, allocations: 29.77 kB / 3.178 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/5.831, allocations: 0 / 3.178 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/5.831, allocations: 6.938 kB / 3.178 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/5.833, allocations: 1.023 MB / 3.179 GB, free: 38.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/5.833, allocations: 4 kB / 3.179 GB, free: 38.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/5.833, allocations: 85.36 kB / 3.179 GB, free: 38.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/5.833, allocations: 3.969 kB / 3.179 GB, free: 38.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/5.833, allocations: 7.969 kB / 3.179 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/5.833, allocations: 3.953 kB / 3.179 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/5.833, allocations: 4 kB / 3.179 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/5.834, allocations: 1.024 MB / 3.18 GB, free: 38.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/5.834, allocations: 254.5 kB / 3.18 GB, free: 38.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.078e-05/5.834, allocations: 11.7 kB / 3.181 GB, free: 38.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/5.835, allocations: 38.03 kB / 3.181 GB, free: 38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/5.835, allocations: 33.91 kB / 3.181 GB, free: 37.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/5.835, allocations: 18.52 kB / 3.181 GB, free: 37.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002872/5.835, allocations: 299.2 kB / 3.181 GB, free: 37.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/5.835, allocations: 1.406 kB / 3.181 GB, free: 37.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005564/5.841, allocations: 1.171 MB / 3.182 GB, free: 37.59 MB / 442.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 () * 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.009959/5.851, allocations: 1.469 MB / 3.183 GB, free: 37.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/5.852, allocations: 0.7444 MB / 3.184 GB, free: 36.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/5.852, allocations: 0 / 3.184 GB, free: 36.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/5.853, allocations: 490.3 kB / 3.185 GB, free: 36.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/5.854, allocations: 188.8 kB / 3.185 GB, free: 36.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3829/6.237, allocations: 75.05 MB / 3.258 GB, free: 67.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/6.237, allocations: 0.9998 MB / 3.259 GB, free: 66.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008972/6.238, allocations: 0.5328 MB / 3.26 GB, free: 66.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/6.238, allocations: 50.28 kB / 3.26 GB, free: 66.54 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/6.238, allocations: 0 / 3.26 GB, free: 66.54 MB / 442.7 MB Notification: Performance of Templates: time 0.03999/6.278, allocations: 34.14 MB / 3.293 GB, free: 66.21 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1)