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.008991/0.008991, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.001458/0.001458, allocations: 186.6 kB / 16.67 MB, free: 5.422 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.711/1.711, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2058/0.2058, allocations: 38.02 MB / 307.9 MB, free: 5.965 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.001764/0.001764, allocations: 67.91 kB / 433 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1416, allocations: 56.47 MB / 489.5 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.3858/0.5275, allocations: 62.86 MB / 0.5394 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03254/0.5601, allocations: 22.47 MB / 0.5613 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.5626, allocations: 33.31 kB / 0.5613 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002574/0.5652, allocations: 0.7284 MB / 0.5621 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02184/0.587, allocations: 5.754 MB / 0.5677 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01153/0.5986, allocations: 3.455 MB / 0.5711 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01924/0.6178, allocations: 8.981 MB / 0.5798 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.6194, allocations: 0.6519 MB / 0.5805 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.622, allocations: 1.023 MB / 0.5815 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.6234, allocations: 0.7818 MB / 0.5822 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.6236, allocations: 87.94 kB / 0.5823 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01888/0.6425, allocations: 7.649 MB / 0.5898 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000643/0.6432, allocations: 270.9 kB / 0.59 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.6447, allocations: 0.692 MB / 0.5907 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.662, allocations: 5.706 MB / 0.5963 GB, free: 4.984 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.6621, allocations: 0 / 0.5963 GB, free: 4.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6621, allocations: 0 / 0.5963 GB, free: 4.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.6621, allocations: 0 / 0.5963 GB, free: 4.984 MB / 446.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.006919/0.669, allocations: 2.439 MB / 0.5987 GB, free: 2.488 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.6691, allocations: 15.89 kB / 0.5987 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/0.673, allocations: 0.5496 MB / 0.5992 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.6748, allocations: 1.001 MB / 0.6002 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/0.6749, allocations: 70.56 kB / 0.6003 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.675, allocations: 99.94 kB / 0.6004 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/0.6785, allocations: 1.612 MB / 0.6019 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.6786, allocations: 11.94 kB / 0.6019 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.6787, allocations: 44 kB / 0.602 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.6787, allocations: 27.94 kB / 0.602 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003247/0.682, allocations: 1.377 MB / 0.6034 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00992/0.6919, allocations: 8.224 MB / 0.6114 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.6951, allocations: 1.671 MB / 0.613 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.6957, allocations: 354.8 kB / 0.6134 GB, free: 2.492 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1259/0.8217, allocations: 63.65 MB / 0.6755 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.165e-05/0.8218, allocations: 47 kB / 0.6756 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 2.756e-06/0.8218, allocations: 0 / 0.6756 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.006009/0.8278, allocations: 1.884 MB / 0.6774 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/0.8279, allocations: 188.4 kB / 0.6776 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.8293, allocations: 0.9645 MB / 0.6785 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.8294, allocations: 41.7 kB / 0.6786 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/0.8299, allocations: 0.5649 MB / 0.6791 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.8302, allocations: 244.5 kB / 0.6793 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.8305, allocations: 226.7 kB / 0.6796 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8307, allocations: 349.9 kB / 0.6799 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/0.8312, allocations: 270.4 kB / 0.6802 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008348/0.832, allocations: 0.7042 MB / 0.6808 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.8334, allocations: 1.033 MB / 0.6819 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.8334, allocations: 4 kB / 0.6819 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002084/0.8355, allocations: 1.163 MB / 0.683 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.8355, allocations: 12 kB / 0.683 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.8355, allocations: 16 kB / 0.683 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003275/0.8388, allocations: 0.5241 MB / 0.6835 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009752/0.8398, allocations: 263.6 kB / 0.6838 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.841, allocations: 1.369 MB / 0.6851 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008899/0.8419, allocations: 134.6 kB / 0.6852 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.8421, allocations: 60.03 kB / 0.6853 GB, free: 0.707 MB / 0.5294 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.0005306/0.8426, allocations: 299.9 kB / 0.6856 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.8429, allocations: 122.5 kB / 0.6857 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/0.8479, allocations: 4.413 MB / 0.69 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/0.848, allocations: 43.94 kB / 0.6901 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.848, allocations: 0 / 0.6901 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.848, allocations: 3.984 kB / 0.6901 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005614/0.8536, allocations: 4.822 MB / 0.6948 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.8537, allocations: 0 / 0.6948 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000699/0.8544, allocations: 147.8 kB / 0.6949 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.8559, allocations: 0.6824 MB / 0.6956 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.856, allocations: 16 kB / 0.6956 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.8574, allocations: 1.767 MB / 0.6973 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8574, allocations: 0 / 0.6973 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.8598, allocations: 1.949 MB / 0.6992 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/0.8603, allocations: 266.3 kB / 0.6995 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.8605, allocations: 35.69 kB / 0.6995 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.861, allocations: 12 kB / 0.6995 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/0.8611, allocations: 56.48 kB / 0.6996 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.8611, allocations: 24 kB / 0.6996 GB, free: 1.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001204/0.8623, allocations: 0.8342 MB / 0.7004 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8624, allocations: 0 / 0.7004 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003682/0.866, allocations: 1.269 MB / 0.7017 GB, free: 15.59 MB / 0.5606 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.005341/0.8714, allocations: 1.259 MB / 0.7029 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002478/0.8739, allocations: 1.17 MB / 0.704 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.8739, allocations: 4 kB / 0.704 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.8754, allocations: 0.8523 MB / 0.7049 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/0.8784, allocations: 0.7269 MB / 0.7056 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.8828, allocations: 2.976 MB / 0.7085 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.8839, allocations: 1.308 MB / 0.7098 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001198/0.8851, allocations: 0.6199 MB / 0.7104 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.8853, allocations: 111.4 kB / 0.7105 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.8853, allocations: 4 kB / 0.7105 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of Templates: time 0.329/1.214, allocations: 56.73 MB / 0.7659 GB, free: 200.9 MB / 0.5762 GB 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)