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.00136/0.00136, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001979/0.001979, allocations: 196.6 kB / 16.26 MB, free: 6.617 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.696/1.696, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.3975/0.3975, allocations: 37.97 MB / 307.4 MB, free: 10.12 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.001658/0.001658, allocations: 64.53 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1263, allocations: 56.48 MB / 431.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.2588/0.3852, allocations: 63.67 MB / 494.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02274/0.408, allocations: 22.57 MB / 0.5053 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.4103, allocations: 37.75 kB / 0.5054 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.4128, allocations: 0.6384 MB / 0.506 GB, free: 300 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01588/0.4287, allocations: 5.106 MB / 0.511 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0093/0.438, allocations: 3.152 MB / 0.514 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01786/0.4559, allocations: 8.978 MB / 0.5228 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.4576, allocations: 0.6508 MB / 0.5235 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.4603, allocations: 1.016 MB / 0.5244 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.4618, allocations: 0.8024 MB / 0.5252 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.462, allocations: 84.69 kB / 0.5253 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0172/0.4792, allocations: 7.549 MB / 0.5327 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004181/0.4796, allocations: 280.8 kB / 0.5329 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.4808, allocations: 0.6857 MB / 0.5336 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.4925, allocations: 5.711 MB / 0.5392 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4926, allocations: 3.984 kB / 0.5392 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4926, allocations: 0 / 0.5392 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.977e-05/0.4926, allocations: 0 / 0.5392 GB, free: 14.87 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.006407/0.499, allocations: 2.436 MB / 0.5416 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4991, allocations: 15.89 kB / 0.5416 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/0.503, allocations: 0.5496 MB / 0.5421 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.5046, allocations: 0.9538 MB / 0.5431 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.5046, allocations: 70.56 kB / 0.5431 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.5048, allocations: 99.94 kB / 0.5432 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.5083, allocations: 1.611 MB / 0.5448 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.5084, allocations: 11.88 kB / 0.5448 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.5085, allocations: 48 kB / 0.5449 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.5085, allocations: 31.98 kB / 0.5449 GB, free: 8.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/0.5117, allocations: 1.369 MB / 0.5462 GB, free: 7.461 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0098/0.5215, allocations: 8.232 MB / 0.5543 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.5246, allocations: 1.665 MB / 0.5559 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/0.5251, allocations: 358.9 kB / 0.5562 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1787/0.7039, allocations: 63.39 MB / 0.6181 GB, free: 5.527 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.704, allocations: 49.17 kB / 0.6182 GB, free: 5.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=69): time 4.458e-06/0.704, allocations: 0 / 0.6182 GB, free: 5.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=69): time 0.008824/0.7128, allocations: 1.873 MB / 0.62 GB, free: 3.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.713, allocations: 188.4 kB / 0.6202 GB, free: 3.344 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.7153, allocations: 0.9644 MB / 0.6211 GB, free: 2.363 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.7155, allocations: 41.7 kB / 0.6212 GB, free: 2.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006354/0.7161, allocations: 0.5687 MB / 0.6217 GB, free: 1.738 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.7165, allocations: 244.5 kB / 0.622 GB, free: 1.496 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005024/0.717, allocations: 230.7 kB / 0.6222 GB, free: 1.266 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.7172, allocations: 349.9 kB / 0.6225 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007208/0.7179, allocations: 266.5 kB / 0.6228 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2755/0.9935, allocations: 0.7024 MB / 0.6235 GB, free: 104.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.9949, allocations: 1.032 MB / 0.6245 GB, free: 103.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.995, allocations: 3.719 kB / 0.6245 GB, free: 103.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001961/0.9969, allocations: 1.159 MB / 0.6256 GB, free: 103.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.997, allocations: 11.53 kB / 0.6256 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.997, allocations: 13.84 kB / 0.6256 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003372/1, allocations: 0.523 MB / 0.6261 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009197/1.001, allocations: 257.3 kB / 0.6264 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008538/1.002, allocations: 1.378 MB / 0.6277 GB, free: 102.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009076/1.003, allocations: 156.9 kB / 0.6279 GB, free: 102.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/1.003, allocations: 66.94 kB / 0.6279 GB, free: 102.7 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.0004613/1.004, allocations: 286.2 kB / 0.6282 GB, free: 102.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/1.004, allocations: 120.3 kB / 0.6283 GB, free: 102.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004181/1.008, allocations: 4.418 MB / 0.6326 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.427e-05/1.008, allocations: 48.02 kB / 0.6327 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.008, allocations: 3.188 kB / 0.6327 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/1.008, allocations: 12.53 kB / 0.6327 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005281/1.013, allocations: 4.824 MB / 0.6374 GB, free: 101.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.013, allocations: 3.938 kB / 0.6374 GB, free: 101.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007334/1.014, allocations: 148 kB / 0.6376 GB, free: 101.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/1.016, allocations: 0.685 MB / 0.6382 GB, free: 101.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/1.016, allocations: 24.12 kB / 0.6383 GB, free: 101.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/1.017, allocations: 1.757 MB / 0.64 GB, free: 99.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.017, allocations: 2.844 kB / 0.64 GB, free: 99.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/1.02, allocations: 1.943 MB / 0.6419 GB, free: 99.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006/1.02, allocations: 257.1 kB / 0.6421 GB, free: 99.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/1.02, allocations: 45.56 kB / 0.6422 GB, free: 99.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/1.021, allocations: 62.66 kB / 0.6422 GB, free: 99.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/1.021, allocations: 48.3 kB / 0.6423 GB, free: 99.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/1.021, allocations: 35.12 kB / 0.6423 GB, free: 99.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00111/1.022, allocations: 0.8313 MB / 0.6431 GB, free: 99.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.593e-06/1.022, allocations: 0 / 0.6431 GB, free: 99.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00481/1.027, allocations: 1.265 MB / 0.6443 GB, free: 99.12 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.006039/1.033, allocations: 1.279 MB / 0.6456 GB, free: 98.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004339/1.038, allocations: 1.198 MB / 0.6468 GB, free: 98.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.038, allocations: 2.312 kB / 0.6468 GB, free: 98.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/1.039, allocations: 0.8598 MB / 0.6476 GB, free: 98.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/1.043, allocations: 0.7193 MB / 0.6483 GB, free: 98.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/1.048, allocations: 3.708 MB / 0.6519 GB, free: 97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/1.049, allocations: 1.304 MB / 0.6532 GB, free: 96.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001881/1.051, allocations: 0.6161 MB / 0.6538 GB, free: 96.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/1.051, allocations: 116 kB / 0.6539 GB, free: 96.2 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/1.051, allocations: 5.156 kB / 0.6539 GB, free: 96.19 MB / 494.1 MB Notification: Performance of Templates: time 0.07488/1.126, allocations: 56.46 MB / 0.7091 GB, free: 54.37 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)