Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007976/0.007976, allocations: 165 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.125/1.125, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00166/0.00166, allocations: 109.7 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3249/0.3249, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 16 kB / 362.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.102, allocations: 48.7 MB / 411.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.625/5.727, allocations: 2.547 GB / 2.949 GB, free: 53.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/5.728, allocations: 80.09 kB / 2.949 GB, free: 53.27 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 3.076/8.804, allocations: 0.7799 GB / 3.729 GB, free: 32.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.403e-06/8.804, allocations: 0 / 3.729 GB, free: 32.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003294/8.804, allocations: 64.77 kB / 3.729 GB, free: 32.26 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 510 * Number of variables: 510 Notification: Performance of Generate backend data structure: time 0.01678/8.821, allocations: 4.025 MB / 3.733 GB, free: 30.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/8.821, allocations: 7.594 kB / 3.733 GB, free: 30.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006629/8.827, allocations: 0.8177 MB / 3.734 GB, free: 30.17 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008838/8.836, allocations: 2.1 MB / 3.736 GB, free: 29.72 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005851/8.837, allocations: 182.8 kB / 3.736 GB, free: 29.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/8.839, allocations: 195.6 kB / 3.737 GB, free: 29.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/8.851, allocations: 3.574 MB / 3.74 GB, free: 29.19 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/8.852, allocations: 14.2 kB / 3.74 GB, free: 29.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009303/8.852, allocations: 87.94 kB / 3.74 GB, free: 29.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003138/8.853, allocations: 162 kB / 3.74 GB, free: 29.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009457/8.862, allocations: 3.286 MB / 3.744 GB, free: 29.16 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02394/8.886, allocations: 15.04 MB / 3.758 GB, free: 20.15 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005254/8.892, allocations: 2.316 MB / 3.761 GB, free: 20.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03312/8.925, allocations: 18.79 MB / 3.779 GB, free: 24.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004908/8.93, allocations: 1.624 MB / 3.78 GB, free: 24.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 5.71e-06/8.93, allocations: 0 / 3.78 GB, free: 24.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=169): time 0.02647/8.956, allocations: 8.864 MB / 3.789 GB, free: 23.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/8.956, allocations: 280.8 kB / 3.789 GB, free: 22.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/8.96, allocations: 1.415 MB / 3.791 GB, free: 22.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004423/8.96, allocations: 54.7 kB / 3.791 GB, free: 22.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/8.961, allocations: 0.9814 MB / 3.792 GB, free: 22.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008232/8.962, allocations: 0.5747 MB / 3.792 GB, free: 21.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/8.962, allocations: 45.22 kB / 3.792 GB, free: 21.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002558/8.963, allocations: 391.5 kB / 3.793 GB, free: 21.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/8.965, allocations: 1.148 MB / 3.794 GB, free: 21.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002432/8.967, allocations: 1.644 MB / 3.795 GB, free: 21.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/8.97, allocations: 1.379 MB / 3.797 GB, free: 21.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/8.97, allocations: 2.875 kB / 3.797 GB, free: 21.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006584/8.977, allocations: 3.332 MB / 3.8 GB, free: 20.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00197/8.979, allocations: 5.319 MB / 3.805 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.938e-05/8.979, allocations: 18.89 kB / 3.805 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/8.98, allocations: 279.4 kB / 3.806 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/8.983, allocations: 0.5119 MB / 3.806 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/8.986, allocations: 2.508 MB / 3.809 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/8.99, allocations: 260.1 kB / 3.809 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006435/8.99, allocations: 102.5 kB / 3.809 GB, free: 13.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/8.99, allocations: 7.859 kB / 3.809 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009703/9, allocations: 3.064 MB / 3.812 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.01e-05/9, allocations: 15.52 kB / 3.812 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/9.002, allocations: 274.1 kB / 3.812 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/9.005, allocations: 0.5094 MB / 3.813 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/9.007, allocations: 2.505 MB / 3.815 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004374/9.012, allocations: 252.8 kB / 3.815 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007127/9.012, allocations: 104.5 kB / 3.815 GB, free: 10.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 22 (pipe3.state_a.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe1.state_a.phase,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,pipe3.statesFM[2].phase,pipe3.state_b.phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 244 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003373/9.016, allocations: 0.7291 MB / 3.816 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/9.017, allocations: 204.6 kB / 3.816 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/9.033, allocations: 7.77 MB / 3.824 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001018/9.034, allocations: 93.45 kB / 3.824 GB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/9.034, allocations: 3.938 kB / 3.824 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0117/9.045, allocations: 6.667 MB / 3.831 GB, free: 8.758 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/9.066, allocations: 10.91 MB / 3.841 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/9.066, allocations: 0 / 3.841 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/9.068, allocations: 406.4 kB / 3.842 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002034/9.071, allocations: 380.1 kB / 3.842 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000375/9.071, allocations: 69.73 kB / 3.842 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/9.073, allocations: 2.567 MB / 3.844 GB, free: 20.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/9.073, allocations: 0 / 3.844 GB, free: 20.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/9.086, allocations: 7.223 MB / 3.852 GB, free: 17.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002523/9.089, allocations: 0.7437 MB / 3.852 GB, free: 17.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/9.09, allocations: 49.53 kB / 3.852 GB, free: 17.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/9.093, allocations: 206.2 kB / 3.853 GB, free: 16.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/9.094, allocations: 156.3 kB / 3.853 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/9.094, allocations: 62.19 kB / 3.853 GB, free: 16.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003317/9.097, allocations: 1.195 MB / 3.854 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.41e-07/9.097, allocations: 0 / 3.854 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01624/9.114, allocations: 2.744 MB / 3.857 GB, free: 15.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valve.filter.x[1],valve.filter.x[2],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 53 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.region3boundary,$cse25.region3boundary,$cse26.phase,$cse26.region,$cse27.region3boundary,$cse28.region3boundary,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.region3boundary,$cse40.region3boundary,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,pipe3.statesFM[2].phase) * Number of discrete states: 5 (valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01582/9.13, allocations: 2.806 MB / 3.859 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01284/9.142, allocations: 5.228 MB / 3.864 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/9.143, allocations: 3.219 kB / 3.864 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005281/9.148, allocations: 2.421 MB / 3.867 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007038/9.155, allocations: 0.8621 MB / 3.868 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4992/9.654, allocations: 128.8 MB / 3.993 GB, free: 44.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/9.656, allocations: 2.304 MB / 3.996 GB, free: 44.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004866/9.661, allocations: 2.645 MB / 3.998 GB, free: 44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/9.661, allocations: 194.5 kB / 3.998 GB, free: 43.99 MB / 0.4948 GB Notification: Performance of SimCode: time 1.373e-06/9.661, allocations: 0 / 3.998 GB, free: 43.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.3989/10.06, allocations: 81.42 MB / 4.078 GB, free: 54.17 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe 2>&1)