Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.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.SeriesPipes13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009899/0.009899, allocations: 165.5 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.325/1.325, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001614/0.001614, allocations: 99.34 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.298/0.298, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003852, allocations: 12 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.918/6.025, allocations: 2.548 GB / 2.95 GB, free: 61.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/6.025, allocations: 83.88 kB / 2.95 GB, free: 61.78 MB / 442.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.151/9.176, allocations: 0.8422 GB / 3.792 GB, free: 29.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.763e-06/9.176, allocations: 0 / 3.792 GB, free: 29.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002345/9.176, allocations: 68.36 kB / 3.792 GB, free: 29.25 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.01587/9.192, allocations: 4.018 MB / 3.796 GB, free: 27.28 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/9.192, allocations: 9 kB / 3.796 GB, free: 27.28 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006668/9.199, allocations: 0.8277 MB / 3.797 GB, free: 27.14 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007635/9.206, allocations: 2.105 MB / 3.799 GB, free: 26.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/9.207, allocations: 182.8 kB / 3.799 GB, free: 26.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/9.208, allocations: 200.6 kB / 3.799 GB, free: 26.67 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00992/9.218, allocations: 3.574 MB / 3.803 GB, free: 26.15 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-05/9.218, allocations: 11.25 kB / 3.803 GB, free: 26.15 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003076/9.218, allocations: 86.61 kB / 3.803 GB, free: 26.15 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/9.218, allocations: 157.2 kB / 3.803 GB, free: 26.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006528/9.225, allocations: 3.287 MB / 3.806 GB, free: 26.13 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.01681/9.242, allocations: 15.04 MB / 3.821 GB, free: 17.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004625/9.246, allocations: 2.307 MB / 3.823 GB, free: 17.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03164/9.278, allocations: 18.8 MB / 3.841 GB, free: 21.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00468/9.283, allocations: 1.624 MB / 3.843 GB, free: 21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 5.441e-06/9.283, allocations: 4 kB / 3.843 GB, free: 20.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=169): time 0.01811/9.301, allocations: 8.177 MB / 3.851 GB, free: 19.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/9.301, allocations: 283.4 kB / 3.851 GB, free: 19.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/9.303, allocations: 1.414 MB / 3.852 GB, free: 19.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/9.303, allocations: 59.67 kB / 3.853 GB, free: 19.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006925/9.304, allocations: 0.9769 MB / 3.853 GB, free: 18.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004306/9.304, allocations: 0.5834 MB / 3.854 GB, free: 18.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/9.305, allocations: 38.34 kB / 3.854 GB, free: 18.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/9.305, allocations: 390.8 kB / 3.854 GB, free: 18.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/9.307, allocations: 1.145 MB / 3.856 GB, free: 18.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/9.309, allocations: 1.632 MB / 3.857 GB, free: 17.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/9.311, allocations: 1.382 MB / 3.859 GB, free: 17.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/9.311, allocations: 4.531 kB / 3.859 GB, free: 17.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006327/9.317, allocations: 3.939 MB / 3.862 GB, free: 17.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002047/9.319, allocations: 5.323 MB / 3.868 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/9.319, allocations: 15 kB / 3.868 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01376/9.333, allocations: 2.929 MB / 3.87 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/9.334, allocations: 314.3 kB / 3.871 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/9.339, allocations: 3.493 MB / 3.874 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/9.342, allocations: 261.2 kB / 3.874 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/9.342, allocations: 101.8 kB / 3.875 GB, free: 11.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/9.342, allocations: 3.969 kB / 3.875 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005683/9.348, allocations: 3.541 MB / 3.878 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/9.348, allocations: 17.91 kB / 3.878 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006526/9.354, allocations: 1.768 MB / 3.88 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/9.356, allocations: 355.1 kB / 3.88 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/9.36, allocations: 2.769 MB / 3.883 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/9.362, allocations: 256.5 kB / 3.883 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003421/9.362, allocations: 100.4 kB / 3.883 GB, free: 9.293 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 (162): * Single equations (assignments): 158 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 86} Notification: Performance of prepare postOptimizeDAE: time 0.001594/9.364, allocations: 0.7157 MB / 3.884 GB, free: 8.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005109/9.364, allocations: 201.2 kB / 3.884 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009425/9.374, allocations: 7.77 MB / 3.892 GB, free: 2.797 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.151e-05/9.374, allocations: 91.58 kB / 3.892 GB, free: 2.742 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/9.374, allocations: 3.953 kB / 3.892 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2779/9.652, allocations: 6.694 MB / 3.898 GB, free: 43.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/9.667, allocations: 10.91 MB / 3.909 GB, free: 42.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/9.667, allocations: 2.594 kB / 3.909 GB, free: 42.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/9.669, allocations: 403.6 kB / 3.909 GB, free: 42.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/9.671, allocations: 380 kB / 3.91 GB, free: 42.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/9.671, allocations: 62.41 kB / 3.91 GB, free: 42.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/9.672, allocations: 2.576 MB / 3.912 GB, free: 40.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/9.672, allocations: 0 / 3.912 GB, free: 40.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009025/9.681, allocations: 7.22 MB / 3.919 GB, free: 40.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/9.683, allocations: 0.7458 MB / 3.92 GB, free: 40.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004928/9.683, allocations: 44.88 kB / 3.92 GB, free: 40.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/9.685, allocations: 204.7 kB / 3.92 GB, free: 40.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/9.685, allocations: 150.9 kB / 3.92 GB, free: 40.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/9.685, allocations: 66.89 kB / 3.92 GB, free: 40.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001686/9.687, allocations: 1.191 MB / 3.922 GB, free: 39.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/9.687, allocations: 0 / 3.922 GB, free: 39.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01045/9.697, allocations: 2.743 MB / 3.924 GB, free: 39.93 MB / 490.7 MB 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.01185/9.709, allocations: 2.815 MB / 3.927 GB, free: 39.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009971/9.719, allocations: 5.313 MB / 3.932 GB, free: 39.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/9.719, allocations: 1.625 kB / 3.932 GB, free: 39.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003485/9.723, allocations: 2.417 MB / 3.935 GB, free: 39.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/9.728, allocations: 0.8691 MB / 3.935 GB, free: 39.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.197/9.925, allocations: 128.6 MB / 4.061 GB, free: 8.594 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/9.926, allocations: 2.298 MB / 4.063 GB, free: 6.828 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003425/9.93, allocations: 1.732 MB / 4.065 GB, free: 5.789 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/9.93, allocations: 164.7 kB / 4.065 GB, free: 5.633 MB / 490.7 MB Notification: Performance of SimCode: time 1.322e-06/9.93, allocations: 5.594 kB / 4.065 GB, free: 5.629 MB / 490.7 MB Notification: Performance of Templates: time 0.3919/10.32, allocations: 91.4 MB / 4.154 GB, free: 36.34 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe 2>&1)