Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009331, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009831/0.0009831, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2905/0.2905, allocations: 40 MB / 310.4 MB, free: 9.688 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005586/0.0005587, allocations: 12 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.101, allocations: 57.96 MB / 436.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.2126/0.3136, allocations: 53.08 MB / 489.8 MB, free: 21.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01895/0.3326, allocations: 19.26 MB / 0.4972 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.3342, allocations: 35.31 kB / 0.4972 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.3361, allocations: 0.5784 MB / 0.4978 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01336/0.3495, allocations: 4.861 MB / 0.5025 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007299/0.3568, allocations: 2.741 MB / 0.5052 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02052/0.3774, allocations: 12.65 MB / 0.5175 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.3786, allocations: 0.5731 MB / 0.5181 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.3806, allocations: 0.8796 MB / 0.519 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.3817, allocations: 0.6155 MB / 0.5196 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002435/0.382, allocations: 46.28 kB / 0.5196 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01405/0.3961, allocations: 7.432 MB / 0.5269 GB, free: 12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.3966, allocations: 219.1 kB / 0.5271 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005853/0.3972, allocations: 285.1 kB / 0.5273 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00755/0.4047, allocations: 3.861 MB / 0.5311 GB, free: 7.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4048, allocations: 0 / 0.5311 GB, free: 7.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4048, allocations: 0 / 0.5311 GB, free: 7.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.822e-05/0.4048, allocations: 0 / 0.5311 GB, free: 7.633 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.006878/0.4117, allocations: 2.183 MB / 0.5333 GB, free: 5.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4118, allocations: 8.562 kB / 0.5333 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.4161, allocations: 0.5565 MB / 0.5338 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.4178, allocations: 0.9298 MB / 0.5347 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.4179, allocations: 66 kB / 0.5348 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.4181, allocations: 96 kB / 0.5349 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003322/0.4214, allocations: 1.599 MB / 0.5364 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.4214, allocations: 7.938 kB / 0.5364 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.4215, allocations: 44 kB / 0.5365 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.4216, allocations: 31.95 kB / 0.5365 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/0.4245, allocations: 1.365 MB / 0.5378 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00852/0.433, allocations: 8.248 MB / 0.5459 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002711/0.4358, allocations: 1.657 MB / 0.5475 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1182/0.554, allocations: 63.98 MB / 0.61 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.5541, allocations: 46.95 kB / 0.61 GB, free: 14.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=69): time 2.545e-06/0.5541, allocations: 4 kB / 0.61 GB, free: 14.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=69): time 0.005165/0.5593, allocations: 1.866 MB / 0.6119 GB, free: 12.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.5594, allocations: 192.3 kB / 0.612 GB, free: 12.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.5605, allocations: 0.9528 MB / 0.613 GB, free: 11.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.845e-05/0.5606, allocations: 37.7 kB / 0.613 GB, free: 11.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/0.561, allocations: 0.5687 MB / 0.6136 GB, free: 10.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.5612, allocations: 244.5 kB / 0.6138 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.5613, allocations: 20 kB / 0.6138 GB, free: 10.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5614, allocations: 345.9 kB / 0.6142 GB, free: 9.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.5618, allocations: 266.5 kB / 0.6144 GB, free: 9.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006824/0.5625, allocations: 0.6964 MB / 0.6151 GB, free: 8.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.563, allocations: 375.1 kB / 0.6154 GB, free: 8.453 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.5631, allocations: 11.95 kB / 0.6155 GB, free: 8.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001714/0.5648, allocations: 1.152 MB / 0.6166 GB, free: 7.277 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.5648, allocations: 18.61 kB / 0.6166 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.5648, allocations: 12 kB / 0.6166 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/0.5678, allocations: 0.5237 MB / 0.6171 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/0.5688, allocations: 259.6 kB / 0.6174 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009717/0.5697, allocations: 1.372 MB / 0.6187 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/0.5705, allocations: 146.8 kB / 0.6188 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-05/0.5706, allocations: 67.98 kB / 0.6189 GB, free: 4.836 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 20 (rightAdapter.state_b.phase,rightAdapter.state_a.phase,rightAdapter.state_a_nondes.phase,rightAdapter.state_b_des.phase,leftAdapter.state_b.phase,leftAdapter.state_a.phase,leftAdapter.state_a_nondes.phase,leftAdapter.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004111/0.5711, allocations: 297 kB / 0.6192 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.5713, allocations: 122.5 kB / 0.6193 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1714/0.7427, allocations: 4.418 MB / 0.6236 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.17e-05/0.7428, allocations: 46.83 kB / 0.6237 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.7428, allocations: 2.75 kB / 0.6237 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.7429, allocations: 3.516 kB / 0.6237 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004991/0.7479, allocations: 4.827 MB / 0.6284 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.7479, allocations: 0 / 0.6284 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.7486, allocations: 151.8 kB / 0.6285 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003447/0.752, allocations: 1.603 MB / 0.6301 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.7521, allocations: 19.91 kB / 0.6301 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.7532, allocations: 1.748 MB / 0.6318 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7532, allocations: 5.609 kB / 0.6318 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.755, allocations: 1.941 MB / 0.6337 GB, free: 148.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/0.7554, allocations: 362.8 kB / 0.6341 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.7556, allocations: 18.62 kB / 0.6341 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005887/0.7562, allocations: 55.94 kB / 0.6341 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.7563, allocations: 50.02 kB / 0.6342 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.7563, allocations: 27.3 kB / 0.6342 GB, free: 148.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008879/0.7572, allocations: 0.8179 MB / 0.635 GB, free: 148.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7572, allocations: 1.562 kB / 0.635 GB, free: 148.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003098/0.7603, allocations: 1.27 MB / 0.6363 GB, free: 148.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004751/0.7651, allocations: 1.265 MB / 0.6375 GB, free: 148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.7672, allocations: 1.161 MB / 0.6386 GB, free: 147.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7672, allocations: 3.828 kB / 0.6386 GB, free: 147.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.7684, allocations: 0.8493 MB / 0.6395 GB, free: 147.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/0.7715, allocations: 0.6743 MB / 0.6401 GB, free: 147.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.7753, allocations: 3.641 MB / 0.6437 GB, free: 145 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/0.776, allocations: 1.339 MB / 0.645 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001159/0.7772, allocations: 0.6268 MB / 0.6456 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.7774, allocations: 113.1 kB / 0.6457 GB, free: 144.3 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.7774, allocations: 0 / 0.6457 GB, free: 144.3 MB / 494.1 MB Notification: Performance of Templates: time 0.06913/0.8465, allocations: 54.91 MB / 0.6993 GB, free: 112.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe 2>&1) Environment - environmentSimulation: