Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001229/0.001229, allocations: 99.31 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.001948/0.001948, 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.882/1.882, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3621/0.3621, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.1. 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.000626/0.000626, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1345, allocations: 57.51 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.3183/0.4528, allocations: 53.07 MB / 487 MB, free: 24.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0233/0.4762, allocations: 19.27 MB / 0.4944 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.4787, allocations: 34.97 kB / 0.4944 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.4813, allocations: 0.5703 MB / 0.495 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01995/0.5013, allocations: 4.87 MB / 0.4998 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01091/0.5122, allocations: 2.73 MB / 0.5024 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02675/0.539, allocations: 12.67 MB / 0.5148 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.5407, allocations: 0.5672 MB / 0.5153 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.5445, allocations: 0.885 MB / 0.5162 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.5466, allocations: 0.6157 MB / 0.5168 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.5469, allocations: 44.5 kB / 0.5168 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02087/0.5678, allocations: 7.424 MB / 0.5241 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005565/0.5684, allocations: 219.1 kB / 0.5243 GB, free: 488 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000937/0.5693, allocations: 289 kB / 0.5246 GB, free: 192 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.5812, allocations: 3.866 MB / 0.5284 GB, free: 12.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5813, allocations: 0 / 0.5284 GB, free: 12.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5813, allocations: 0 / 0.5284 GB, free: 12.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.777e-05/0.5813, allocations: 0 / 0.5284 GB, free: 12.31 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.007796/0.5891, allocations: 2.179 MB / 0.5305 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5892, allocations: 8.562 kB / 0.5305 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004024/0.5932, allocations: 0.5565 MB / 0.531 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.5952, allocations: 0.9336 MB / 0.532 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/0.5953, allocations: 74 kB / 0.532 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.5955, allocations: 88 kB / 0.5321 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/0.5991, allocations: 1.607 MB / 0.5337 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.5992, allocations: 3.938 kB / 0.5337 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.5993, allocations: 48 kB / 0.5337 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.5993, allocations: 24 kB / 0.5337 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003113/0.6024, allocations: 1.365 MB / 0.5351 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.6126, allocations: 8.261 MB / 0.5431 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.6157, allocations: 1.646 MB / 0.5448 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1361/0.7519, allocations: 63.98 MB / 0.6072 GB, free: 3.035 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.155e-05/0.752, allocations: 43 kB / 0.6073 GB, free: 2.984 MB / 478.1 MB Notification: Performance of pre-optimization done (n=69): time 2.976e-06/0.752, allocations: 0 / 0.6073 GB, free: 2.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=69): time 0.006017/0.758, allocations: 1.862 MB / 0.6091 GB, free: 1.098 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.7582, allocations: 196.3 kB / 0.6093 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.76, allocations: 0.9528 MB / 0.6102 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.607e-05/0.7601, allocations: 37.7 kB / 0.6102 GB, free: 15.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.7606, allocations: 0.5726 MB / 0.6108 GB, free: 15.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/0.7609, allocations: 256.5 kB / 0.6111 GB, free: 15.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.761, allocations: 20 kB / 0.6111 GB, free: 14.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7611, allocations: 341.9 kB / 0.6114 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.7616, allocations: 266.5 kB / 0.6117 GB, free: 14.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008521/0.7625, allocations: 0.7003 MB / 0.6123 GB, free: 13.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/0.7632, allocations: 376.6 kB / 0.6127 GB, free: 13.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.7632, allocations: 4 kB / 0.6127 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002289/0.7655, allocations: 1.158 MB / 0.6138 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.7655, allocations: 12 kB / 0.6138 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.7656, allocations: 16.16 kB / 0.6139 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/0.7689, allocations: 0.5234 MB / 0.6144 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.7699, allocations: 259.6 kB / 0.6146 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.7713, allocations: 1.376 MB / 0.616 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.7726, allocations: 154.7 kB / 0.6161 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.7727, allocations: 63.98 kB / 0.6162 GB, free: 9.504 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.0007552/0.7735, allocations: 297 kB / 0.6165 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/0.7739, allocations: 118.6 kB / 0.6166 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005678/0.7796, allocations: 4.416 MB / 0.6209 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.245e-05/0.7797, allocations: 43.94 kB / 0.6209 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.7797, allocations: 0 / 0.6209 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.7797, allocations: 15.86 kB / 0.6209 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2765/1.056, allocations: 4.826 MB / 0.6256 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/1.056, allocations: 5.75 kB / 0.6257 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/1.057, allocations: 155.1 kB / 0.6258 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005104/1.063, allocations: 1.604 MB / 0.6274 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/1.063, allocations: 22.53 kB / 0.6274 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/1.064, allocations: 1.752 MB / 0.6291 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.065, allocations: 0 / 0.6291 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/1.068, allocations: 1.94 MB / 0.631 GB, free: 152.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008496/1.069, allocations: 354.2 kB / 0.6313 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003345/1.069, allocations: 19.75 kB / 0.6314 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.07, allocations: 51.23 kB / 0.6314 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/1.07, allocations: 53.64 kB / 0.6315 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/1.07, allocations: 32.31 kB / 0.6315 GB, free: 152.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001431/1.072, allocations: 0.8177 MB / 0.6323 GB, free: 152.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.072, allocations: 0 / 0.6323 GB, free: 152.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004703/1.076, allocations: 1.27 MB / 0.6335 GB, free: 152.3 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.006814/1.083, allocations: 1.249 MB / 0.6347 GB, free: 152.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003355/1.087, allocations: 1.155 MB / 0.6359 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.087, allocations: 7.25 kB / 0.6359 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/1.089, allocations: 0.8462 MB / 0.6367 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/1.093, allocations: 0.6774 MB / 0.6374 GB, free: 151.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/1.098, allocations: 3.654 MB / 0.6409 GB, free: 149.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.099, allocations: 1.345 MB / 0.6422 GB, free: 149.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001691/1.101, allocations: 0.6109 MB / 0.6428 GB, free: 149.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/1.101, allocations: 109.7 kB / 0.6429 GB, free: 149.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.263e-06/1.101, allocations: 3.812 kB / 0.6429 GB, free: 149.1 MB / 494.1 MB Notification: Performance of Templates: time 0.08516/1.186, allocations: 54.92 MB / 0.6966 GB, free: 119.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe 2>&1) Environment - environmentSimulation: