Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001107/0.001107, allocations: 181.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.643/1.643, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.00187/0.001869, allocations: 109.2 kB / 252.6 MB, free: 4.809 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.2438/0.2438, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.377e-05/5.409e-05, allocations: 7.984 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1614, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.156/6.318, allocations: 2.607 GB / 3.051 GB, free: 125.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/6.318, allocations: 79.44 kB / 3.052 GB, free: 125.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7634/7.082, allocations: 235.6 MB / 3.282 GB, free: 67.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/7.082, allocations: 0 / 3.282 GB, free: 67.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.259e-05/7.082, allocations: 15.41 kB / 3.282 GB, free: 67.8 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005075/7.087, allocations: 1.276 MB / 3.283 GB, free: 66.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/7.087, allocations: 7.875 kB / 3.283 GB, free: 66.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/7.089, allocations: 254.5 kB / 3.283 GB, free: 66.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/7.09, allocations: 430.6 kB / 3.284 GB, free: 66.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/7.09, allocations: 38.25 kB / 3.284 GB, free: 66.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/7.09, allocations: 35.62 kB / 3.284 GB, free: 66.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/7.091, allocations: 0.6173 MB / 3.284 GB, free: 66.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/7.091, allocations: 0 / 3.284 GB, free: 66.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/7.091, allocations: 15.88 kB / 3.284 GB, free: 66.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/7.091, allocations: 7.875 kB / 3.284 GB, free: 66.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/7.092, allocations: 0.5306 MB / 3.285 GB, free: 66.14 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.002404/7.094, allocations: 2.649 MB / 3.287 GB, free: 63.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/7.096, allocations: 0.4938 MB / 3.288 GB, free: 63.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/7.096, allocations: 138.8 kB / 3.288 GB, free: 63.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1103/7.206, allocations: 55.15 MB / 3.342 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/7.206, allocations: 47.06 kB / 3.342 GB, free: 14.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 2.405e-06/7.206, allocations: 0 / 3.342 GB, free: 14.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.002088/7.208, allocations: 0.6503 MB / 3.343 GB, free: 13.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/7.208, allocations: 106.8 kB / 3.343 GB, free: 13.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/7.209, allocations: 322.7 kB / 3.343 GB, free: 13.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/7.209, allocations: 33.7 kB / 3.343 GB, free: 13.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/7.209, allocations: 239.7 kB / 3.343 GB, free: 13.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/7.209, allocations: 94.66 kB / 3.343 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/7.209, allocations: 8 kB / 3.343 GB, free: 13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/7.209, allocations: 346.8 kB / 3.344 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/7.209, allocations: 112.8 kB / 3.344 GB, free: 12.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/7.21, allocations: 264 kB / 3.344 GB, free: 12.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/7.21, allocations: 149.2 kB / 3.344 GB, free: 12.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/7.21, allocations: 0 / 3.344 GB, free: 12.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006324/7.21, allocations: 428.8 kB / 3.345 GB, free: 11.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003273/7.211, allocations: 1.829 MB / 3.346 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/7.211, allocations: 8 kB / 3.346 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/7.211, allocations: 8 kB / 3.346 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/7.211, allocations: 111.9 kB / 3.346 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/7.211, allocations: 11.92 kB / 3.346 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/7.212, allocations: 83.45 kB / 3.347 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/7.212, allocations: 31.92 kB / 3.347 GB, free: 9.426 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/7.212, allocations: 0 / 3.347 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005054/7.212, allocations: 359.8 kB / 3.347 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/7.212, allocations: 8 kB / 3.347 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/7.212, allocations: 8 kB / 3.347 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/7.213, allocations: 111.9 kB / 3.347 GB, free: 8.949 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/7.213, allocations: 12.31 kB / 3.347 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/7.213, allocations: 67.66 kB / 3.347 GB, free: 8.871 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/7.213, allocations: 23.98 kB / 3.347 GB, free: 8.848 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001286/7.213, allocations: 132.9 kB / 3.347 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/7.213, allocations: 43.48 kB / 3.347 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/7.215, allocations: 1.904 MB / 3.349 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/7.215, allocations: 35.94 kB / 3.349 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/7.215, allocations: 0 / 3.349 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/7.215, allocations: 0 / 3.349 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00086/7.216, allocations: 1.027 MB / 3.35 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/7.216, allocations: 0 / 3.35 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/7.216, allocations: 79.88 kB / 3.35 GB, free: 5.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/7.216, allocations: 11.95 kB / 3.35 GB, free: 5.562 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/7.216, allocations: 11.98 kB / 3.35 GB, free: 5.551 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/7.216, allocations: 4 kB / 3.35 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/7.216, allocations: 0 / 3.35 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008849/7.217, allocations: 1.027 MB / 3.351 GB, free: 4.504 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/7.218, allocations: 255.4 kB / 3.352 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/7.218, allocations: 15.89 kB / 3.352 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/7.218, allocations: 47.81 kB / 3.352 GB, free: 4.172 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/7.218, allocations: 31.89 kB / 3.352 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/7.218, allocations: 12 kB / 3.352 GB, free: 4.129 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000291/7.218, allocations: 309.6 kB / 3.352 GB, free: 3.828 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/7.218, allocations: 0 / 3.352 GB, free: 3.828 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004688/7.223, allocations: 1.159 MB / 3.353 GB, free: 2.668 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.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 (40): * Single equations (assignments): 31 * 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.007818/7.231, allocations: 1.423 MB / 3.354 GB, free: 1.367 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/7.232, allocations: 0.7515 MB / 3.355 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/7.232, allocations: 3.938 kB / 3.355 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004674/7.233, allocations: 489.8 kB / 3.356 GB, free: 140 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2656/7.498, allocations: 190.9 kB / 3.356 GB, free: 78.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1428/7.641, allocations: 81.27 MB / 3.435 GB, free: 75.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/7.642, allocations: 1.002 MB / 3.436 GB, free: 75.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009222/7.642, allocations: 0.5393 MB / 3.437 GB, free: 75.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/7.643, allocations: 43.73 kB / 3.437 GB, free: 75.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/7.643, allocations: 0 / 3.437 GB, free: 75.16 MB / 490.7 MB Notification: Performance of Templates: time 0.04267/7.685, allocations: 33.95 MB / 3.47 GB, free: 65.75 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1)