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.001115/0.001115, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.523/1.523, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.001855/0.001856, allocations: 111.4 kB / 218 MB, free: 8.406 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.206/0.206, allocations: 37.97 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.113e-05, allocations: 2.75 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 48.73 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.464/6.578, allocations: 2.496 GB / 2.885 GB, free: 83.06 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/6.578, allocations: 82.64 kB / 2.885 GB, free: 83.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9239/7.502, allocations: 228.5 MB / 3.108 GB, free: 48.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.993e-06/7.502, allocations: 3.719 kB / 3.108 GB, free: 48.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.757e-05/7.502, allocations: 10.7 kB / 3.108 GB, free: 48.77 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.005474/7.508, allocations: 1.264 MB / 3.11 GB, free: 47.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/7.508, allocations: 11.34 kB / 3.11 GB, free: 47.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/7.51, allocations: 236 kB / 3.11 GB, free: 47.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008757/7.511, allocations: 428.7 kB / 3.11 GB, free: 47.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/7.511, allocations: 14.69 kB / 3.11 GB, free: 47.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/7.511, allocations: 17.28 kB / 3.11 GB, free: 47.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006275/7.512, allocations: 347.1 kB / 3.111 GB, free: 47.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/7.512, allocations: 419.4 kB / 3.111 GB, free: 47.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/7.512, allocations: 0 / 3.111 GB, free: 47.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/7.513, allocations: 7.797 kB / 3.111 GB, free: 47.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/7.513, allocations: 7.812 kB / 3.111 GB, free: 47.24 MB / 426.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.00561/7.518, allocations: 3.966 MB / 3.115 GB, free: 44.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/7.519, allocations: 298.8 kB / 3.115 GB, free: 44.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/7.519, allocations: 128.2 kB / 3.115 GB, free: 43.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1144/7.633, allocations: 53.72 MB / 3.168 GB, free: 14.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/7.634, allocations: 38.55 kB / 3.168 GB, free: 14.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 2.836e-06/7.634, allocations: 0 / 3.168 GB, free: 14.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.002852/7.636, allocations: 0.5637 MB / 3.168 GB, free: 14.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/7.637, allocations: 110.8 kB / 3.168 GB, free: 14.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/7.637, allocations: 290.6 kB / 3.169 GB, free: 13.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.259e-05/7.637, allocations: 29.64 kB / 3.169 GB, free: 13.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/7.637, allocations: 244 kB / 3.169 GB, free: 13.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/7.638, allocations: 86.75 kB / 3.169 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/7.638, allocations: 0 / 3.169 GB, free: 13.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002206/7.638, allocations: 350.8 kB / 3.169 GB, free: 13.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/7.638, allocations: 104.8 kB / 3.169 GB, free: 13.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/7.638, allocations: 263 kB / 3.17 GB, free: 12.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/7.64, allocations: 219.8 kB / 3.17 GB, free: 12.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/7.64, allocations: 0 / 3.17 GB, free: 12.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001592/7.641, allocations: 486.3 kB / 3.17 GB, free: 11.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009576/7.642, allocations: 1.83 MB / 3.172 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/7.642, allocations: 4 kB / 3.172 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/7.642, allocations: 8 kB / 3.172 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/7.643, allocations: 119.8 kB / 3.172 GB, free: 9.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/7.643, allocations: 7.984 kB / 3.172 GB, free: 9.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/7.643, allocations: 71.5 kB / 3.172 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/7.644, allocations: 23.98 kB / 3.172 GB, free: 9.781 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/7.644, allocations: 4 kB / 3.172 GB, free: 9.777 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001231/7.645, allocations: 371.6 kB / 3.173 GB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/7.645, allocations: 11.98 kB / 3.173 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/7.645, allocations: 11.98 kB / 3.173 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/7.645, allocations: 108.3 kB / 3.173 GB, free: 9.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/7.645, allocations: 12 kB / 3.173 GB, free: 9.273 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/7.646, allocations: 51.72 kB / 3.173 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/7.646, allocations: 31.88 kB / 3.173 GB, free: 9.191 MB / 442.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.0001781/7.646, allocations: 121.6 kB / 3.173 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/7.646, allocations: 39.53 kB / 3.173 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/7.649, allocations: 1.695 MB / 3.175 GB, free: 7.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.176e-05/7.649, allocations: 27.95 kB / 3.175 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/7.649, allocations: 0 / 3.175 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/7.649, allocations: 11.98 kB / 3.175 GB, free: 7.281 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/7.65, allocations: 0.877 MB / 3.176 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/7.65, allocations: 0 / 3.176 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/7.651, allocations: 79.88 kB / 3.176 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/7.651, allocations: 4 kB / 3.176 GB, free: 6.297 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/7.651, allocations: 4 kB / 3.176 GB, free: 6.293 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/7.651, allocations: 11.98 kB / 3.176 GB, free: 6.281 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/7.651, allocations: 0 / 3.176 GB, free: 6.281 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/7.652, allocations: 0.9794 MB / 3.177 GB, free: 5.285 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/7.653, allocations: 251.4 kB / 3.177 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/7.653, allocations: 0 / 3.177 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/7.653, allocations: 31.97 kB / 3.177 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/7.653, allocations: 31.95 kB / 3.177 GB, free: 4.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/7.653, allocations: 12 kB / 3.177 GB, free: 4.945 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003544/7.654, allocations: 294.9 kB / 3.177 GB, free: 4.656 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/7.654, allocations: 0 / 3.177 GB, free: 4.656 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005936/7.659, allocations: 1.124 MB / 3.178 GB, free: 3.531 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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.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): 30 * 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.009684/7.669, allocations: 1.485 MB / 3.18 GB, free: 2.137 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/7.671, allocations: 0.6803 MB / 3.181 GB, free: 1.461 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/7.671, allocations: 0 / 3.181 GB, free: 1.461 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006578/7.671, allocations: 433.1 kB / 3.181 GB, free: 1.039 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/7.673, allocations: 190.3 kB / 3.181 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3683/8.041, allocations: 54.42 MB / 3.234 GB, free: 69.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/8.042, allocations: 0.9924 MB / 3.235 GB, free: 69.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001014/8.043, allocations: 0.5488 MB / 3.236 GB, free: 69.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/8.043, allocations: 45.31 kB / 3.236 GB, free: 69.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/8.043, allocations: 0 / 3.236 GB, free: 69.14 MB / 442.7 MB Notification: Performance of Templates: time 0.04428/8.087, allocations: 29.24 MB / 3.264 GB, free: 67.24 MB / 442.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)