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.0009158/0.0009156, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008705/0.008705, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.663/1.663, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3868/0.3868, allocations: 40 MB / 310.7 MB, free: 9.523 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.0006164/0.0006169, allocations: 24 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.13, allocations: 57.96 MB / 437.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.291/0.4211, allocations: 63.33 MB / 0.489 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02446/0.4456, allocations: 23.27 MB / 0.5117 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.4477, allocations: 40.44 kB / 0.5118 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.45, allocations: 0.6279 MB / 0.5124 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01818/0.4681, allocations: 4.703 MB / 0.517 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01188/0.4801, allocations: 3.028 MB / 0.5199 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01801/0.4981, allocations: 9.557 MB / 0.5293 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.4997, allocations: 0.5712 MB / 0.5298 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.5025, allocations: 0.9009 MB / 0.5307 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/0.5049, allocations: 0.7941 MB / 0.5315 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002643/0.5052, allocations: 45.59 kB / 0.5315 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01896/0.5241, allocations: 7.533 MB / 0.5389 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004882/0.5247, allocations: 224.6 kB / 0.5391 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.5262, allocations: 0.6831 MB / 0.5398 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02163/0.5479, allocations: 5.621 MB / 0.5452 GB, free: 9.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5479, allocations: 0 / 0.5452 GB, free: 9.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5479, allocations: 0 / 0.5452 GB, free: 9.766 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.548, allocations: 0 / 0.5452 GB, free: 9.766 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.007011/0.555, allocations: 2.176 MB / 0.5474 GB, free: 7.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.555, allocations: 8.031 kB / 0.5474 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.5587, allocations: 0.5535 MB / 0.5479 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.5603, allocations: 0.9461 MB / 0.5488 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.5603, allocations: 78.55 kB / 0.5489 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.5605, allocations: 95.94 kB / 0.549 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003437/0.5639, allocations: 1.619 MB / 0.5506 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.564, allocations: 3.938 kB / 0.5506 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.5641, allocations: 48 kB / 0.5506 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.5641, allocations: 24 kB / 0.5507 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002908/0.567, allocations: 1.377 MB / 0.552 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009292/0.5763, allocations: 8.251 MB / 0.5601 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/0.5793, allocations: 1.65 MB / 0.5617 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.5798, allocations: 357 kB / 0.562 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1242/0.704, allocations: 63.98 MB / 0.6245 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.897e-05/0.7041, allocations: 47.25 kB / 0.6245 GB, free: 48 kB / 494.1 MB Notification: Performance of pre-optimization done (n=69): time 2.805e-06/0.7041, allocations: 0 / 0.6245 GB, free: 48 kB / 494.1 MB Notification: Performance of matching and sorting (n=69): time 0.2522/0.9563, allocations: 1.883 MB / 0.6264 GB, free: 154.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.9565, allocations: 189.6 kB / 0.6266 GB, free: 153.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.9577, allocations: 0.9609 MB / 0.6275 GB, free: 153.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.9577, allocations: 41.58 kB / 0.6275 GB, free: 153.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.9582, allocations: 0.5715 MB / 0.6281 GB, free: 153.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.9583, allocations: 251 kB / 0.6283 GB, free: 153.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.9585, allocations: 95.45 kB / 0.6284 GB, free: 153.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9586, allocations: 349.2 kB / 0.6288 GB, free: 153 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.959, allocations: 266.9 kB / 0.629 GB, free: 153 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.9596, allocations: 0.7112 MB / 0.6297 GB, free: 152.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.9607, allocations: 1.023 MB / 0.6307 GB, free: 152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.9607, allocations: 7.281 kB / 0.6307 GB, free: 152 MB / 494.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00156/0.9623, allocations: 1.169 MB / 0.6319 GB, free: 151.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.9624, allocations: 20.19 kB / 0.6319 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.9624, allocations: 13.31 kB / 0.6319 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/0.9655, allocations: 0.5252 MB / 0.6324 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008364/0.9664, allocations: 253.4 kB / 0.6326 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008683/0.9672, allocations: 1.377 MB / 0.634 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008153/0.9681, allocations: 151.8 kB / 0.6341 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.939e-05/0.9682, allocations: 63.58 kB / 0.6342 GB, free: 150.6 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.0005007/0.9687, allocations: 294.1 kB / 0.6345 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.9688, allocations: 120.8 kB / 0.6346 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.9727, allocations: 4.411 MB / 0.6389 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/0.9728, allocations: 45.39 kB / 0.6389 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.9728, allocations: 4.859 kB / 0.6389 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.9728, allocations: 11.22 kB / 0.639 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/0.977, allocations: 4.823 MB / 0.6437 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.977, allocations: 0 / 0.6437 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/0.9777, allocations: 154.2 kB / 0.6438 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00379/0.9815, allocations: 1.605 MB / 0.6454 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.9816, allocations: 21.8 kB / 0.6454 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.9826, allocations: 1.759 MB / 0.6471 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9826, allocations: 0 / 0.6471 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.9846, allocations: 1.944 MB / 0.649 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.9851, allocations: 359.9 kB / 0.6494 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.9852, allocations: 14.81 kB / 0.6494 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/0.9858, allocations: 60.41 kB / 0.6494 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.9859, allocations: 55.11 kB / 0.6495 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.9859, allocations: 33.69 kB / 0.6495 GB, free: 143 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001042/0.987, allocations: 0.828 MB / 0.6503 GB, free: 142.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.987, allocations: 4.25 kB / 0.6503 GB, free: 142.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003814/0.9908, allocations: 1.26 MB / 0.6516 GB, free: 142.6 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.004425/0.9952, allocations: 1.265 MB / 0.6528 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0025/0.9977, allocations: 1.166 MB / 0.6539 GB, free: 142 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.9978, allocations: 1.156 kB / 0.6539 GB, free: 142 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.9993, allocations: 0.8563 MB / 0.6548 GB, free: 141.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/1.003, allocations: 0.6735 MB / 0.6554 GB, free: 141.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/1.009, allocations: 3.751 MB / 0.6591 GB, free: 139.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.01, allocations: 1.309 MB / 0.6604 GB, free: 138.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001679/1.012, allocations: 0.6186 MB / 0.661 GB, free: 138.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/1.012, allocations: 108.4 kB / 0.6611 GB, free: 138.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.333e-06/1.012, allocations: 0 / 0.6611 GB, free: 138.5 MB / 494.1 MB Notification: Performance of Templates: time 0.07731/1.089, allocations: 55.17 MB / 0.715 GB, free: 98.5 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: