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.001227/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00177/0.00177, allocations: 192.8 kB / 16.14 MB, free: 6.66 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.712/1.712, allocations: 205.1 MB / 222 MB, free: 4.727 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.3574/0.3574, allocations: 39.94 MB / 309.3 MB, free: 9.344 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.00161/0.00161, allocations: 67.91 kB / 376.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.141, allocations: 56.88 MB / 433.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.2999/0.4409, allocations: 64.51 MB / 498.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02589/0.4669, allocations: 23.62 MB / 0.5097 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.4691, allocations: 38.19 kB / 0.5097 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.4716, allocations: 0.6407 MB / 0.5104 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01585/0.4875, allocations: 4.696 MB / 0.5149 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.4978, allocations: 3.023 MB / 0.5179 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02206/0.5199, allocations: 9.558 MB / 0.5272 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.5216, allocations: 0.5702 MB / 0.5278 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.5246, allocations: 0.9168 MB / 0.5287 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.5264, allocations: 0.7999 MB / 0.5295 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.5266, allocations: 47 kB / 0.5295 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01878/0.5454, allocations: 7.531 MB / 0.5369 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005925/0.546, allocations: 241.5 kB / 0.5371 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.5476, allocations: 0.6553 MB / 0.5377 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0171/0.5647, allocations: 5.66 MB / 0.5433 GB, free: 9.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5647, allocations: 7.984 kB / 0.5433 GB, free: 9.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.5647, allocations: 0 / 0.5433 GB, free: 9.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.5647, allocations: 0 / 0.5433 GB, free: 9.328 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.006286/0.571, allocations: 2.437 MB / 0.5457 GB, free: 6.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.5711, allocations: 8.031 kB / 0.5457 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00373/0.5748, allocations: 0.5574 MB / 0.5462 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.5762, allocations: 0.9422 MB / 0.5471 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.5762, allocations: 74.56 kB / 0.5472 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.5764, allocations: 99.94 kB / 0.5473 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/0.5797, allocations: 1.615 MB / 0.5489 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.5797, allocations: 3.938 kB / 0.5489 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-05/0.5799, allocations: 48 kB / 0.5489 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.5799, allocations: 24 kB / 0.5489 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.5828, allocations: 1.377 MB / 0.5503 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008908/0.5917, allocations: 8.24 MB / 0.5583 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.5945, allocations: 1.65 MB / 0.5599 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.595, allocations: 354.6 kB / 0.5603 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1168/0.7118, allocations: 63.39 MB / 0.6222 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.081e-05/0.7119, allocations: 46.94 kB / 0.6222 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=69): time 3.346e-06/0.7119, allocations: 4 kB / 0.6222 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69): time 0.005598/0.7175, allocations: 1.886 MB / 0.6241 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.418e-05/0.7177, allocations: 192.4 kB / 0.6243 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.7188, allocations: 0.9567 MB / 0.6252 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.7189, allocations: 37.7 kB / 0.6252 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.7193, allocations: 0.5726 MB / 0.6258 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.7195, allocations: 248.5 kB / 0.626 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.7198, allocations: 222.7 kB / 0.6262 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7199, allocations: 345.9 kB / 0.6266 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.7203, allocations: 274.5 kB / 0.6268 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/0.7211, allocations: 0.7081 MB / 0.6275 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.7223, allocations: 1.032 MB / 0.6285 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.7223, allocations: 4 kB / 0.6285 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00204/0.7244, allocations: 1.16 MB / 0.6297 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.7244, allocations: 12 kB / 0.6297 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.7244, allocations: 19.98 kB / 0.6297 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003294/0.7277, allocations: 0.5238 MB / 0.6302 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009639/0.7287, allocations: 263.6 kB / 0.6305 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.7298, allocations: 1.372 MB / 0.6318 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.7309, allocations: 158.6 kB / 0.6319 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.062e-05/0.731, allocations: 63.98 kB / 0.632 GB, free: 5.367 MB / 0.4981 GB 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.0005568/0.7316, allocations: 296.5 kB / 0.6323 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.7318, allocations: 118.6 kB / 0.6324 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004638/0.7364, allocations: 4.417 MB / 0.6367 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.397e-05/0.7365, allocations: 43.94 kB / 0.6368 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.7365, allocations: 0 / 0.6368 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.7366, allocations: 7.984 kB / 0.6368 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2552/0.9918, allocations: 4.824 MB / 0.6415 GB, free: 170.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.9919, allocations: 0 / 0.6415 GB, free: 170.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/0.9926, allocations: 151.5 kB / 0.6416 GB, free: 170.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003651/0.9963, allocations: 1.61 MB / 0.6432 GB, free: 170 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.9964, allocations: 24.25 kB / 0.6432 GB, free: 170 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.9974, allocations: 1.759 MB / 0.6449 GB, free: 168.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9974, allocations: 5.312 kB / 0.6449 GB, free: 168.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.9995, allocations: 1.939 MB / 0.6468 GB, free: 167.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.9999, allocations: 262.3 kB / 0.6471 GB, free: 167.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/1, allocations: 40.72 kB / 0.6471 GB, free: 167.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/1.001, allocations: 59.05 kB / 0.6472 GB, free: 167.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/1.001, allocations: 52.31 kB / 0.6472 GB, free: 167.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/1.001, allocations: 33.16 kB / 0.6473 GB, free: 167.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000949/1.002, allocations: 0.8305 MB / 0.6481 GB, free: 167.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.002, allocations: 0 / 0.6481 GB, free: 167.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004276/1.006, allocations: 1.259 MB / 0.6493 GB, free: 167 MB / 0.4981 GB 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.005271/1.011, allocations: 1.259 MB / 0.6505 GB, free: 166.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002612/1.014, allocations: 1.165 MB / 0.6517 GB, free: 166.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.014, allocations: 2.812 kB / 0.6517 GB, free: 166.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/1.015, allocations: 0.861 MB / 0.6525 GB, free: 166.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/1.019, allocations: 0.6931 MB / 0.6532 GB, free: 166 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/1.023, allocations: 3.69 MB / 0.6568 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/1.024, allocations: 1.306 MB / 0.6581 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001463/1.025, allocations: 0.6218 MB / 0.6587 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/1.025, allocations: 115.6 kB / 0.6588 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.673e-06/1.025, allocations: 3.828 kB / 0.6588 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.08907/1.115, allocations: 55.32 MB / 0.7128 GB, free: 130.6 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.makefile (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)