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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001175/0.001175, allocations: 190.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.1 MB / 222 MB, free: 4.992 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.3714/0.3714, allocations: 37.98 MB / 307.3 MB, free: 9.789 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.001347/0.001347, allocations: 66.41 kB / 374.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1386, allocations: 56.47 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.2972/0.4358, allocations: 64.51 MB / 495.5 MB, free: 16.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.027/0.4629, allocations: 23.61 MB / 0.507 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.4655, allocations: 38.72 kB / 0.507 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.4682, allocations: 0.6327 MB / 0.5076 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01681/0.4851, allocations: 4.708 MB / 0.5122 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01103/0.4961, allocations: 3.021 MB / 0.5152 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02112/0.5173, allocations: 9.559 MB / 0.5245 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.5188, allocations: 0.5738 MB / 0.5251 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.5213, allocations: 0.9162 MB / 0.526 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.5231, allocations: 0.8001 MB / 0.5268 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.5233, allocations: 51.22 kB / 0.5268 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02343/0.5468, allocations: 7.529 MB / 0.5342 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006122/0.5474, allocations: 232.7 kB / 0.5344 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.5495, allocations: 0.659 MB / 0.535 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01688/0.5665, allocations: 5.662 MB / 0.5405 GB, free: 13.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5665, allocations: 0 / 0.5405 GB, free: 13.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.5665, allocations: 0 / 0.5405 GB, free: 13.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.5665, allocations: 0 / 0.5405 GB, free: 13.61 MB / 414.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.006469/0.573, allocations: 2.436 MB / 0.5429 GB, free: 11.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.5731, allocations: 16.03 kB / 0.5429 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003907/0.577, allocations: 0.5574 MB / 0.5435 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.5786, allocations: 0.946 MB / 0.5444 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/0.5786, allocations: 70.56 kB / 0.5445 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.5788, allocations: 99.94 kB / 0.5446 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/0.5823, allocations: 1.619 MB / 0.5462 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.5823, allocations: 7.938 kB / 0.5462 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.5824, allocations: 44 kB / 0.5462 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.5825, allocations: 27.98 kB / 0.5462 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003175/0.5856, allocations: 1.377 MB / 0.5476 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009602/0.5953, allocations: 8.224 MB / 0.5556 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/0.5984, allocations: 1.659 MB / 0.5572 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005116/0.599, allocations: 354.9 kB / 0.5576 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1207/0.7197, allocations: 63.39 MB / 0.6195 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.7198, allocations: 46.94 kB / 0.6195 GB, free: 4.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=69): time 2.785e-06/0.7198, allocations: 0 / 0.6195 GB, free: 4.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=69): time 0.005459/0.7253, allocations: 1.875 MB / 0.6214 GB, free: 2.328 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.7254, allocations: 192.3 kB / 0.6215 GB, free: 2.098 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.7267, allocations: 0.9567 MB / 0.6225 GB, free: 1.125 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/0.7268, allocations: 45.64 kB / 0.6225 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.7272, allocations: 0.5726 MB / 0.6231 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.7274, allocations: 248.5 kB / 0.6233 GB, free: 252 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.7277, allocations: 226.7 kB / 0.6235 GB, free: 20 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2416/0.9693, allocations: 346.5 kB / 0.6239 GB, free: 158.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.97, allocations: 268.1 kB / 0.6241 GB, free: 158.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007308/0.9707, allocations: 0.7068 MB / 0.6248 GB, free: 158 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.9719, allocations: 1.035 MB / 0.6258 GB, free: 157.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.9719, allocations: 3.125 kB / 0.6258 GB, free: 157.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001941/0.9739, allocations: 1.161 MB / 0.6269 GB, free: 157.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.9739, allocations: 12.84 kB / 0.627 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.9739, allocations: 12.53 kB / 0.627 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/0.9773, allocations: 0.5208 MB / 0.6275 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.9784, allocations: 267.4 kB / 0.6277 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.9796, allocations: 1.37 MB / 0.6291 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.9806, allocations: 155.5 kB / 0.6292 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.525e-05/0.9807, allocations: 64.39 kB / 0.6293 GB, free: 156.3 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004758/0.9812, allocations: 293 kB / 0.6296 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.9814, allocations: 123.5 kB / 0.6297 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/0.9853, allocations: 4.411 MB / 0.634 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.274e-05/0.9854, allocations: 46.22 kB / 0.634 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.9854, allocations: 2.688 kB / 0.634 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.9854, allocations: 7.266 kB / 0.634 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005854/0.9913, allocations: 4.832 MB / 0.6388 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.9913, allocations: 3.375 kB / 0.6388 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007514/0.9921, allocations: 153.2 kB / 0.6389 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003666/0.9957, allocations: 1.606 MB / 0.6405 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.9958, allocations: 17.73 kB / 0.6405 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.997, allocations: 1.756 MB / 0.6422 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.997, allocations: 3.219 kB / 0.6422 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.999, allocations: 1.947 MB / 0.6441 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.9994, allocations: 268.5 kB / 0.6444 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.9996, allocations: 36.72 kB / 0.6444 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/1, allocations: 57.52 kB / 0.6445 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/1, allocations: 57.38 kB / 0.6445 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/1, allocations: 25.91 kB / 0.6445 GB, free: 148.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009648/1.001, allocations: 0.832 MB / 0.6454 GB, free: 148.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.001, allocations: 0 / 0.6454 GB, free: 148.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004522/1.006, allocations: 1.267 MB / 0.6466 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005104/1.011, allocations: 1.26 MB / 0.6478 GB, free: 147.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002606/1.013, allocations: 1.173 MB / 0.649 GB, free: 147.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.014, allocations: 0 / 0.649 GB, free: 147.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/1.015, allocations: 0.8505 MB / 0.6498 GB, free: 147.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/1.018, allocations: 0.6868 MB / 0.6505 GB, free: 147 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/1.023, allocations: 3.713 MB / 0.6541 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009235/1.024, allocations: 1.305 MB / 0.6554 GB, free: 144.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001529/1.026, allocations: 0.6154 MB / 0.656 GB, free: 144.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/1.026, allocations: 112.1 kB / 0.6561 GB, free: 144 MB / 494.1 MB Notification: Performance of SimCode: time 1.483e-06/1.026, allocations: 0 / 0.6561 GB, free: 144 MB / 494.1 MB Notification: Performance of Templates: time 0.07809/1.104, allocations: 55.31 MB / 0.7101 GB, free: 106.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.makefile (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)