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.001689/0.001689, allocations: 182.1 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.821/1.821, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001832/0.001832, allocations: 119.3 kB / 252.6 MB, free: 4.836 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.2046/0.2046, allocations: 39.95 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.247e-05, allocations: 7.984 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.691/5.792, allocations: 2.606 GB / 3.051 GB, free: 63.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/5.793, allocations: 87.5 kB / 3.051 GB, free: 63.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8128/6.605, allocations: 232.5 MB / 3.278 GB, free: 34.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/6.605, allocations: 0 / 3.278 GB, free: 34.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.914e-05/6.605, allocations: 12 kB / 3.278 GB, free: 34.26 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.005928/6.611, allocations: 1.281 MB / 3.279 GB, free: 32.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/6.611, allocations: 8.031 kB / 3.279 GB, free: 32.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/6.613, allocations: 251.1 kB / 3.279 GB, free: 32.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007138/6.614, allocations: 425.2 kB / 3.28 GB, free: 32.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/6.614, allocations: 28.73 kB / 3.28 GB, free: 32.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/6.614, allocations: 28 kB / 3.28 GB, free: 32.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/6.615, allocations: 0.6065 MB / 3.281 GB, free: 31.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/6.615, allocations: 0 / 3.281 GB, free: 31.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/6.615, allocations: 12 kB / 3.281 GB, free: 31.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/6.616, allocations: 8 kB / 3.281 GB, free: 31.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/6.617, allocations: 0.5135 MB / 3.281 GB, free: 30.98 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.002325/6.619, allocations: 2.563 MB / 3.284 GB, free: 28.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/6.62, allocations: 406.3 kB / 3.284 GB, free: 27.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/6.62, allocations: 140.8 kB / 3.284 GB, free: 27.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4539/7.074, allocations: 51.63 MB / 3.334 GB, free: 62.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/7.074, allocations: 41.89 kB / 3.335 GB, free: 62.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.235e-06/7.074, allocations: 0 / 3.335 GB, free: 62.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.0026/7.077, allocations: 0.6343 MB / 3.335 GB, free: 62.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/7.077, allocations: 110 kB / 3.335 GB, free: 62.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/7.077, allocations: 308.7 kB / 3.336 GB, free: 62.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/7.077, allocations: 30.14 kB / 3.336 GB, free: 62.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/7.078, allocations: 235.2 kB / 3.336 GB, free: 61.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/7.078, allocations: 90.02 kB / 3.336 GB, free: 61.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/7.078, allocations: 4.969 kB / 3.336 GB, free: 61.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/7.078, allocations: 345.9 kB / 3.336 GB, free: 61.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/7.078, allocations: 104.4 kB / 3.336 GB, free: 61.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/7.079, allocations: 234.2 kB / 3.337 GB, free: 61.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/7.079, allocations: 140 kB / 3.337 GB, free: 61.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/7.079, allocations: 1.641 kB / 3.337 GB, free: 61.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001179/7.08, allocations: 403.1 kB / 3.337 GB, free: 61.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005627/7.081, allocations: 1.482 MB / 3.339 GB, free: 59.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/7.081, allocations: 3.594 kB / 3.339 GB, free: 59.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-05/7.081, allocations: 10.25 kB / 3.339 GB, free: 59.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/7.081, allocations: 117.9 kB / 3.339 GB, free: 59.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.428e-05/7.081, allocations: 15.19 kB / 3.339 GB, free: 59.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/7.082, allocations: 81.89 kB / 3.339 GB, free: 59.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/7.082, allocations: 19.47 kB / 3.339 GB, free: 59.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/7.082, allocations: 11.45 kB / 3.339 GB, free: 59.82 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006623/7.083, allocations: 333.4 kB / 3.339 GB, free: 59.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/7.083, allocations: 3.594 kB / 3.339 GB, free: 59.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/7.083, allocations: 6.125 kB / 3.339 GB, free: 59.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/7.083, allocations: 113.4 kB / 3.339 GB, free: 59.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/7.083, allocations: 12.22 kB / 3.339 GB, free: 59.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/7.084, allocations: 65.91 kB / 3.339 GB, free: 59.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/7.084, allocations: 21.95 kB / 3.339 GB, free: 59.8 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 () * 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.0001769/7.084, allocations: 129.5 kB / 3.339 GB, free: 59.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/7.084, allocations: 38.73 kB / 3.339 GB, free: 59.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/7.087, allocations: 1.906 MB / 3.341 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/7.087, allocations: 29.97 kB / 3.341 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/7.087, allocations: 6.188 kB / 3.341 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/7.087, allocations: 6.781 kB / 3.341 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/7.088, allocations: 1.021 MB / 3.342 GB, free: 59.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/7.088, allocations: 0 / 3.342 GB, free: 59.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/7.088, allocations: 83.78 kB / 3.342 GB, free: 59.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/7.088, allocations: 3.906 kB / 3.342 GB, free: 59.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/7.088, allocations: 12.2 kB / 3.342 GB, free: 59.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/7.088, allocations: 2.531 kB / 3.342 GB, free: 59.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/7.088, allocations: 0 / 3.342 GB, free: 59.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/7.09, allocations: 1.022 MB / 3.343 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/7.09, allocations: 259 kB / 3.344 GB, free: 58.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/7.09, allocations: 7.375 kB / 3.344 GB, free: 58.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/7.091, allocations: 45.77 kB / 3.344 GB, free: 58.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/7.091, allocations: 36.97 kB / 3.344 GB, free: 58.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/7.091, allocations: 11.34 kB / 3.344 GB, free: 58.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003659/7.091, allocations: 301.5 kB / 3.344 GB, free: 58.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/7.091, allocations: 0 / 3.344 GB, free: 58.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006787/7.098, allocations: 1.185 MB / 3.345 GB, free: 58.75 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 () * 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.01032/7.108, allocations: 1.475 MB / 3.347 GB, free: 58.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001763/7.11, allocations: 0.7359 MB / 3.347 GB, free: 58.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/7.11, allocations: 4.5 kB / 3.347 GB, free: 58.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00079/7.111, allocations: 489.6 kB / 3.348 GB, free: 58.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/7.113, allocations: 188.1 kB / 3.348 GB, free: 58.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1386/7.251, allocations: 76.33 MB / 3.423 GB, free: 52.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/7.252, allocations: 0.9966 MB / 3.424 GB, free: 51.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001069/7.253, allocations: 0.5447 MB / 3.424 GB, free: 51.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/7.253, allocations: 49.53 kB / 3.424 GB, free: 51.08 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/7.253, allocations: 0 / 3.424 GB, free: 51.08 MB / 490.7 MB Notification: Performance of Templates: time 0.04688/7.3, allocations: 34.28 MB / 3.458 GB, free: 30.59 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)