Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008036/0.008036, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.286/1.286, allocations: 170.8 MB / 186.6 MB, free: 0.9648 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.001785/0.001785, allocations: 114.6 kB / 226.2 MB, free: 10.09 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.3199/0.3199, allocations: 38.06 MB / 303.7 MB, free: 42.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 11.98 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.11, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.023/6.133, allocations: 2.496 GB / 2.898 GB, free: 38.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/6.134, allocations: 88.45 kB / 2.898 GB, free: 37.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.225/7.359, allocations: 232 MB / 3.125 GB, free: 41.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.296e-06/7.359, allocations: 0 / 3.125 GB, free: 41.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.031e-05/7.359, allocations: 11.22 kB / 3.125 GB, free: 41.41 MB / 426.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.007843/7.367, allocations: 1.318 MB / 3.126 GB, free: 40.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/7.367, allocations: 10.5 kB / 3.126 GB, free: 40.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/7.369, allocations: 243.6 kB / 3.127 GB, free: 40.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009657/7.37, allocations: 426.2 kB / 3.127 GB, free: 40.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/7.371, allocations: 32 kB / 3.127 GB, free: 40.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/7.371, allocations: 36.78 kB / 3.127 GB, free: 40.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/7.372, allocations: 0.6242 MB / 3.128 GB, free: 40.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/7.372, allocations: 5.312 kB / 3.128 GB, free: 40.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/7.372, allocations: 15.66 kB / 3.128 GB, free: 40.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/7.373, allocations: 17.45 kB / 3.128 GB, free: 40.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/7.374, allocations: 0.5819 MB / 3.128 GB, free: 40.38 MB / 426.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.003699/7.378, allocations: 2.659 MB / 3.131 GB, free: 38.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/7.38, allocations: 0.5228 MB / 3.131 GB, free: 38.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1316/7.511, allocations: 54.8 MB / 3.185 GB, free: 39.65 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.121e-05/7.511, allocations: 36.38 kB / 3.185 GB, free: 39.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=28): time 4.308e-06/7.511, allocations: 1.312 kB / 3.185 GB, free: 39.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=28): time 0.002905/7.514, allocations: 0.792 MB / 3.186 GB, free: 39.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/7.514, allocations: 106.8 kB / 3.186 GB, free: 39.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005649/7.515, allocations: 328.2 kB / 3.186 GB, free: 39.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.639e-05/7.515, allocations: 33.17 kB / 3.186 GB, free: 39.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/7.515, allocations: 243.9 kB / 3.186 GB, free: 39.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/7.515, allocations: 90.31 kB / 3.186 GB, free: 39.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/7.515, allocations: 14.06 kB / 3.186 GB, free: 39.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/7.516, allocations: 356.2 kB / 3.187 GB, free: 38.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/7.516, allocations: 144.7 kB / 3.187 GB, free: 38.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/7.516, allocations: 309.8 kB / 3.187 GB, free: 38.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/7.517, allocations: 183.2 kB / 3.187 GB, free: 38.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/7.517, allocations: 0 / 3.187 GB, free: 38.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001032/7.518, allocations: 0.5052 MB / 3.188 GB, free: 38.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008393/7.519, allocations: 1.836 MB / 3.19 GB, free: 36.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/7.519, allocations: 5.938 kB / 3.19 GB, free: 36.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/7.519, allocations: 7.531 kB / 3.19 GB, free: 36.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/7.519, allocations: 114.5 kB / 3.19 GB, free: 36.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/7.519, allocations: 12.31 kB / 3.19 GB, free: 36.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/7.52, allocations: 77.81 kB / 3.19 GB, free: 36.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/7.52, allocations: 19.75 kB / 3.19 GB, free: 36.58 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/7.52, allocations: 7.219 kB / 3.19 GB, free: 36.57 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008865/7.521, allocations: 452.1 kB / 3.19 GB, free: 36.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/7.521, allocations: 6.094 kB / 3.19 GB, free: 36.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/7.521, allocations: 6.531 kB / 3.19 GB, free: 36.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/7.521, allocations: 113.7 kB / 3.19 GB, free: 36.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/7.521, allocations: 10.53 kB / 3.19 GB, free: 36.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/7.522, allocations: 70.95 kB / 3.191 GB, free: 36.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/7.522, allocations: 24.05 kB / 3.191 GB, free: 36.54 MB / 458.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 () * Number of clocked 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.0004783/7.522, allocations: 255.7 kB / 3.191 GB, free: 36.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/7.522, allocations: 40.31 kB / 3.191 GB, free: 36.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/7.525, allocations: 1.945 MB / 3.193 GB, free: 36.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/7.525, allocations: 32.58 kB / 3.193 GB, free: 36.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/7.525, allocations: 3.062 kB / 3.193 GB, free: 36.06 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/7.525, allocations: 0 / 3.193 GB, free: 36.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/7.526, allocations: 1.034 MB / 3.194 GB, free: 35.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/7.526, allocations: 0 / 3.194 GB, free: 35.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/7.527, allocations: 82.72 kB / 3.194 GB, free: 35.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/7.527, allocations: 3.875 kB / 3.194 GB, free: 35.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/7.527, allocations: 11.19 kB / 3.194 GB, free: 35.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/7.527, allocations: 0 / 3.194 GB, free: 35.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/7.527, allocations: 0 / 3.194 GB, free: 35.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/7.528, allocations: 1.108 MB / 3.195 GB, free: 35.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/7.529, allocations: 250.3 kB / 3.195 GB, free: 35.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/7.529, allocations: 7.625 kB / 3.195 GB, free: 35.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/7.529, allocations: 44.27 kB / 3.195 GB, free: 35.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/7.529, allocations: 33.27 kB / 3.195 GB, free: 35.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/7.529, allocations: 14.27 kB / 3.195 GB, free: 35.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000404/7.53, allocations: 323.2 kB / 3.196 GB, free: 35.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.02e-07/7.53, allocations: 0 / 3.196 GB, free: 35.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006557/7.536, allocations: 1.147 MB / 3.197 GB, free: 35.09 MB / 458.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 () * Number of clocked 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.01108/7.547, allocations: 1.425 MB / 3.198 GB, free: 34.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002055/7.549, allocations: 0.857 MB / 3.199 GB, free: 34.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/7.549, allocations: 0 / 3.199 GB, free: 34.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007512/7.55, allocations: 0.5263 MB / 3.199 GB, free: 34.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/7.552, allocations: 197 kB / 3.2 GB, free: 34.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1438/7.695, allocations: 80.88 MB / 3.279 GB, free: 2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/7.696, allocations: 1.005 MB / 3.28 GB, free: 1.082 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001069/7.697, allocations: 0.5336 MB / 3.28 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/7.697, allocations: 47.19 kB / 3.28 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/7.697, allocations: 0 / 3.28 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of Templates: time 0.3391/8.036, allocations: 31.96 MB / 3.311 GB, free: 67.98 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1)