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.01266/0.01266, allocations: 102.1 kB / 15.73 MB, free: 6.008 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.002274/0.002274, allocations: 188.2 kB / 16.67 MB, free: 5.93 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.645/1.645, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.404/0.404, allocations: 38 MB / 307.9 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.001317/0.001317, allocations: 71.91 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3984, allocations: 56.47 MB / 489.5 MB, free: 20.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.07417/0.4727, allocations: 62.88 MB / 0.5394 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03831/0.5111, allocations: 22.46 MB / 0.5613 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002591/0.5138, allocations: 27.81 kB / 0.5614 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.5163, allocations: 0.7296 MB / 0.5621 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02333/0.5396, allocations: 5.731 MB / 0.5677 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01432/0.554, allocations: 3.443 MB / 0.571 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02038/0.5744, allocations: 8.97 MB / 0.5798 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.5758, allocations: 0.6572 MB / 0.5804 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.5783, allocations: 1.027 MB / 0.5814 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.5796, allocations: 0.7817 MB / 0.5822 GB, free: 8.578 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.5798, allocations: 84 kB / 0.5823 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01897/0.5987, allocations: 7.645 MB / 0.5897 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004772/0.5993, allocations: 270.9 kB / 0.59 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.6004, allocations: 0.6881 MB / 0.5907 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01487/0.6153, allocations: 5.71 MB / 0.5962 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6153, allocations: 0 / 0.5962 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6153, allocations: 0 / 0.5962 GB, free: 10.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.6153, allocations: 3.938 kB / 0.5962 GB, free: 10.16 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.006778/0.6221, allocations: 2.431 MB / 0.5986 GB, free: 7.672 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.6222, allocations: 19.89 kB / 0.5986 GB, free: 7.652 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003667/0.6259, allocations: 0.5496 MB / 0.5992 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.6277, allocations: 1.001 MB / 0.6002 GB, free: 6.059 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.507e-05/0.6277, allocations: 70.38 kB / 0.6002 GB, free: 5.992 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.6279, allocations: 95.94 kB / 0.6003 GB, free: 5.898 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/0.6313, allocations: 1.62 MB / 0.6019 GB, free: 4.152 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.6313, allocations: 7.938 kB / 0.6019 GB, free: 4.145 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-05/0.6314, allocations: 44 kB / 0.6019 GB, free: 4.102 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.6315, allocations: 24 kB / 0.602 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/0.6345, allocations: 1.377 MB / 0.6033 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009993/0.6445, allocations: 8.228 MB / 0.6113 GB, free: 9.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.6475, allocations: 1.666 MB / 0.613 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.648, allocations: 354.9 kB / 0.6133 GB, free: 7.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4443/1.092, allocations: 63.66 MB / 0.6755 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/1.093, allocations: 42.81 kB / 0.6755 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=69): time 1.085e-05/1.093, allocations: 1.094 kB / 0.6755 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69): time 0.006344/1.099, allocations: 1.877 MB / 0.6774 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/1.099, allocations: 193 kB / 0.6775 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.1, allocations: 0.9671 MB / 0.6785 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/1.1, allocations: 36.61 kB / 0.6785 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/1.101, allocations: 0.5736 MB / 0.6791 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/1.101, allocations: 248.5 kB / 0.6793 GB, free: 104.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/1.101, allocations: 223.3 kB / 0.6795 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.664e-05/1.101, allocations: 347 kB / 0.6799 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/1.102, allocations: 269.8 kB / 0.6801 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/1.102, allocations: 0.7041 MB / 0.6808 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.103, allocations: 1.033 MB / 0.6818 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/1.103, allocations: 4.594 kB / 0.6818 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001898/1.105, allocations: 1.156 MB / 0.6829 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/1.105, allocations: 11.81 kB / 0.683 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/1.105, allocations: 17.22 kB / 0.683 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003267/1.109, allocations: 0.5222 MB / 0.6835 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/1.11, allocations: 262.9 kB / 0.6837 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008328/1.11, allocations: 1.378 MB / 0.6851 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/1.111, allocations: 128.3 kB / 0.6852 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-05/1.111, allocations: 62.81 kB / 0.6853 GB, free: 100.2 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.0004529/1.112, allocations: 298.7 kB / 0.6855 GB, free: 100 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/1.112, allocations: 125.5 kB / 0.6857 GB, free: 99.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/1.115, allocations: 4.4 MB / 0.69 GB, free: 97.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/1.116, allocations: 41.59 kB / 0.69 GB, free: 97.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.116, allocations: 0 / 0.69 GB, free: 97.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.116, allocations: 9.953 kB / 0.69 GB, free: 97.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/1.121, allocations: 4.819 MB / 0.6947 GB, free: 93.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.121, allocations: 0 / 0.6947 GB, free: 93.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006314/1.122, allocations: 147.8 kB / 0.6949 GB, free: 93.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/1.123, allocations: 0.6824 MB / 0.6955 GB, free: 92.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/1.123, allocations: 20 kB / 0.6955 GB, free: 92.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000983/1.124, allocations: 1.765 MB / 0.6973 GB, free: 90.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.124, allocations: 0 / 0.6973 GB, free: 90.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/1.126, allocations: 1.96 MB / 0.6992 GB, free: 88.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/1.126, allocations: 258.4 kB / 0.6994 GB, free: 88.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.126, allocations: 39.59 kB / 0.6995 GB, free: 88.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/1.127, allocations: 20 kB / 0.6995 GB, free: 88.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/1.127, allocations: 44.5 kB / 0.6995 GB, free: 88.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/1.127, allocations: 35.83 kB / 0.6996 GB, free: 88.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008934/1.128, allocations: 0.8342 MB / 0.7004 GB, free: 87.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.128, allocations: 3.938 kB / 0.7004 GB, free: 87.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004012/1.132, allocations: 1.265 MB / 0.7016 GB, free: 86.44 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.004953/1.137, allocations: 1.253 MB / 0.7028 GB, free: 85.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002509/1.139, allocations: 1.169 MB / 0.704 GB, free: 84.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.139, allocations: 0 / 0.704 GB, free: 84.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/1.14, allocations: 0.8609 MB / 0.7048 GB, free: 83.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/1.144, allocations: 0.7115 MB / 0.7055 GB, free: 82.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/1.148, allocations: 2.975 MB / 0.7084 GB, free: 79.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/1.148, allocations: 1.308 MB / 0.7097 GB, free: 78.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001135/1.149, allocations: 0.625 MB / 0.7103 GB, free: 77.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/1.15, allocations: 115.4 kB / 0.7104 GB, free: 77.59 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/1.15, allocations: 0 / 0.7104 GB, free: 77.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.07214/1.222, allocations: 57.22 MB / 0.7663 GB, free: 20.35 MB / 0.4981 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)