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.007628/0.007627, allocations: 101.3 kB / 15.73 MB, free: 6.016 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.001464/0.001464, allocations: 188.1 kB / 16.67 MB, free: 5.949 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.713/1.713, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3457/0.3457, allocations: 39.95 MB / 309.8 MB, free: 9.324 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.002623/0.002623, allocations: 71.91 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3566, allocations: 56.88 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.06548/0.4221, allocations: 62.88 MB / 0.5425 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02844/0.4506, allocations: 22.45 MB / 0.5644 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.4532, allocations: 27.81 kB / 0.5645 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.4557, allocations: 0.7257 MB / 0.5652 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01745/0.4732, allocations: 5.739 MB / 0.5708 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01177/0.485, allocations: 3.455 MB / 0.5742 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01873/0.5038, allocations: 8.959 MB / 0.5829 GB, free: 7.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.5052, allocations: 0.6533 MB / 0.5835 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.5077, allocations: 1.02 MB / 0.5845 GB, free: 6.062 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.5088, allocations: 0.7818 MB / 0.5853 GB, free: 5.277 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.509, allocations: 91.94 kB / 0.5854 GB, free: 5.188 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01554/0.5245, allocations: 7.656 MB / 0.5929 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003964/0.5249, allocations: 271 kB / 0.5931 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009628/0.5259, allocations: 0.6842 MB / 0.5938 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.5378, allocations: 5.71 MB / 0.5994 GB, free: 6.848 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5378, allocations: 0 / 0.5994 GB, free: 6.848 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5378, allocations: 0 / 0.5994 GB, free: 6.848 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.5379, allocations: 0 / 0.5994 GB, free: 6.848 MB / 478.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.006437/0.5443, allocations: 2.443 MB / 0.6018 GB, free: 4.348 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.5444, allocations: 11.89 kB / 0.6018 GB, free: 4.336 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/0.5482, allocations: 0.5574 MB / 0.6023 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.5503, allocations: 0.9967 MB / 0.6033 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.5504, allocations: 74.38 kB / 0.6034 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.5505, allocations: 95.94 kB / 0.6034 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/0.5541, allocations: 1.616 MB / 0.605 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.5541, allocations: 3.938 kB / 0.605 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.5542, allocations: 44 kB / 0.6051 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.5543, allocations: 28 kB / 0.6051 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/0.5573, allocations: 1.377 MB / 0.6064 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.5677, allocations: 8.228 MB / 0.6145 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.5712, allocations: 1.674 MB / 0.6161 GB, free: 4.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.5718, allocations: 350.9 kB / 0.6164 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4532/1.025, allocations: 63.65 MB / 0.6786 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/1.025, allocations: 47.38 kB / 0.6787 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=69): time 2.816e-06/1.025, allocations: 1.062 kB / 0.6787 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69): time 0.005635/1.031, allocations: 1.877 MB / 0.6805 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/1.031, allocations: 192.2 kB / 0.6807 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/1.032, allocations: 0.9693 MB / 0.6816 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/1.032, allocations: 40.92 kB / 0.6817 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/1.032, allocations: 0.5663 MB / 0.6822 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/1.032, allocations: 255.3 kB / 0.6825 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/1.033, allocations: 218.9 kB / 0.6827 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.793e-05/1.033, allocations: 345.6 kB / 0.683 GB, free: 101 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/1.033, allocations: 263.2 kB / 0.6832 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/1.034, allocations: 0.714 MB / 0.6839 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/1.035, allocations: 1.023 MB / 0.6849 GB, free: 99.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/1.035, allocations: 11.69 kB / 0.6849 GB, free: 99.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00169/1.036, allocations: 1.164 MB / 0.6861 GB, free: 98.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.036, allocations: 10.12 kB / 0.6861 GB, free: 98.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/1.036, allocations: 13.09 kB / 0.6861 GB, free: 98.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/1.04, allocations: 0.522 MB / 0.6866 GB, free: 98.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/1.04, allocations: 266.9 kB / 0.6869 GB, free: 98.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008305/1.041, allocations: 1.37 MB / 0.6882 GB, free: 97.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/1.042, allocations: 126.6 kB / 0.6883 GB, free: 96.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/1.042, allocations: 60.62 kB / 0.6884 GB, free: 96.93 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.0004613/1.043, allocations: 295.7 kB / 0.6887 GB, free: 96.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/1.043, allocations: 121.8 kB / 0.6888 GB, free: 96.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/1.046, allocations: 4.398 MB / 0.6931 GB, free: 92.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/1.046, allocations: 47.92 kB / 0.6931 GB, free: 92.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.046, allocations: 0 / 0.6931 GB, free: 92.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/1.046, allocations: 7.922 kB / 0.6931 GB, free: 92.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/1.05, allocations: 4.817 MB / 0.6978 GB, free: 87.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.05, allocations: 0 / 0.6978 GB, free: 87.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/1.051, allocations: 156.8 kB / 0.698 GB, free: 87.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/1.052, allocations: 0.6823 MB / 0.6987 GB, free: 86.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/1.052, allocations: 19.84 kB / 0.6987 GB, free: 86.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009884/1.053, allocations: 1.758 MB / 0.7004 GB, free: 84.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.053, allocations: 4 kB / 0.7004 GB, free: 84.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/1.055, allocations: 1.949 MB / 0.7023 GB, free: 82.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/1.055, allocations: 266.3 kB / 0.7025 GB, free: 82.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.056, allocations: 39.69 kB / 0.7026 GB, free: 82.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/1.056, allocations: 23.94 kB / 0.7026 GB, free: 82.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/1.056, allocations: 48.5 kB / 0.7027 GB, free: 82.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/1.056, allocations: 31.98 kB / 0.7027 GB, free: 82.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008208/1.057, allocations: 0.8264 MB / 0.7035 GB, free: 81.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.057, allocations: 0 / 0.7035 GB, free: 81.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003456/1.06, allocations: 1.263 MB / 0.7047 GB, free: 80.34 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.00421/1.065, allocations: 1.268 MB / 0.706 GB, free: 79.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002326/1.067, allocations: 1.162 MB / 0.7071 GB, free: 78.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.067, allocations: 8.062 kB / 0.7071 GB, free: 78.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/1.068, allocations: 0.8562 MB / 0.7079 GB, free: 77.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/1.072, allocations: 0.7174 MB / 0.7086 GB, free: 76.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/1.075, allocations: 2.976 MB / 0.7116 GB, free: 73.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/1.076, allocations: 1.312 MB / 0.7128 GB, free: 72.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001072/1.077, allocations: 0.6223 MB / 0.7134 GB, free: 71.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/1.077, allocations: 111.4 kB / 0.7135 GB, free: 71.45 MB / 0.4981 GB Notification: Performance of SimCode: time 7.32e-07/1.077, allocations: 0 / 0.7135 GB, free: 71.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.06476/1.142, allocations: 57.22 MB / 0.7694 GB, free: 14.2 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)