Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.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.SeriesPipes12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007666/0.007666, allocations: 165.6 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.093/1.093, allocations: 170.8 MB / 186.6 MB, free: 1.035 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.001674/0.001673, allocations: 111.3 kB / 226.2 MB, free: 10.09 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.273/0.273, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 12 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09816, allocations: 48.69 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.67/5.768, allocations: 2.548 GB / 2.949 GB, free: 52.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/5.768, allocations: 82.52 kB / 2.95 GB, free: 52.79 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 2.917/8.685, allocations: 0.7812 GB / 3.731 GB, free: 32.85 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.482e-06/8.685, allocations: 0 / 3.731 GB, free: 32.85 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002251/8.685, allocations: 67.75 kB / 3.731 GB, free: 32.84 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.01616/8.701, allocations: 4.02 MB / 3.735 GB, free: 30.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/8.701, allocations: 9.125 kB / 3.735 GB, free: 30.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006544/8.708, allocations: 0.8131 MB / 3.736 GB, free: 30.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006355/8.714, allocations: 2.107 MB / 3.738 GB, free: 30.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/8.715, allocations: 183.7 kB / 3.738 GB, free: 30.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000521/8.715, allocations: 205.2 kB / 3.738 GB, free: 30.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008922/8.724, allocations: 3.571 MB / 3.741 GB, free: 29.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-05/8.724, allocations: 8.125 kB / 3.741 GB, free: 29.76 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/8.725, allocations: 90.58 kB / 3.742 GB, free: 29.76 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002525/8.725, allocations: 163.8 kB / 3.742 GB, free: 29.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00699/8.732, allocations: 3.281 MB / 3.745 GB, free: 29.74 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.01695/8.749, allocations: 15.02 MB / 3.76 GB, free: 20.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/8.754, allocations: 2.313 MB / 3.762 GB, free: 20.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0318/8.785, allocations: 18.8 MB / 3.78 GB, free: 24.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004116/8.79, allocations: 1.63 MB / 3.782 GB, free: 24.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 4.088e-06/8.79, allocations: 0 / 3.782 GB, free: 24.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=169): time 0.0178/8.807, allocations: 8.165 MB / 3.79 GB, free: 23.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/8.808, allocations: 280.3 kB / 3.79 GB, free: 23.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/8.81, allocations: 1.41 MB / 3.791 GB, free: 23.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002149/8.81, allocations: 62.62 kB / 3.791 GB, free: 23.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/8.811, allocations: 0.9806 MB / 3.792 GB, free: 22.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/8.811, allocations: 0.5842 MB / 3.793 GB, free: 22.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/8.811, allocations: 38.81 kB / 3.793 GB, free: 22.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/8.812, allocations: 393 kB / 3.793 GB, free: 22.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/8.813, allocations: 1.145 MB / 3.795 GB, free: 22.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/8.815, allocations: 1.642 MB / 3.796 GB, free: 21.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/8.817, allocations: 1.373 MB / 3.797 GB, free: 21.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/8.817, allocations: 4.344 kB / 3.797 GB, free: 21.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006335/8.824, allocations: 3.945 MB / 3.801 GB, free: 21.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001874/8.826, allocations: 5.321 MB / 3.807 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/8.826, allocations: 18.75 kB / 3.807 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/8.839, allocations: 2.919 MB / 3.809 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/8.841, allocations: 317.5 kB / 3.81 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/8.846, allocations: 3.501 MB / 3.813 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/8.849, allocations: 254.8 kB / 3.813 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/8.849, allocations: 107.4 kB / 3.813 GB, free: 15.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/8.849, allocations: 4.375 kB / 3.813 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005991/8.855, allocations: 3.54 MB / 3.817 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-05/8.855, allocations: 15.28 kB / 3.817 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006559/8.862, allocations: 1.77 MB / 3.819 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/8.863, allocations: 352.6 kB / 3.819 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/8.867, allocations: 2.757 MB / 3.822 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/8.87, allocations: 258.8 kB / 3.822 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/8.87, allocations: 96.08 kB / 3.822 GB, free: 14.29 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.001654/8.872, allocations: 0.7242 MB / 3.823 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004218/8.872, allocations: 204.5 kB / 3.823 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008964/8.881, allocations: 7.763 MB / 3.83 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.816e-05/8.881, allocations: 97.03 kB / 3.831 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/8.881, allocations: 1.781 kB / 3.831 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00722/8.888, allocations: 6.674 MB / 3.837 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/8.902, allocations: 10.91 MB / 3.848 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/8.902, allocations: 3.188 kB / 3.848 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/8.904, allocations: 398.3 kB / 3.848 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/8.905, allocations: 379.3 kB / 3.849 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/8.905, allocations: 63.81 kB / 3.849 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/8.907, allocations: 2.582 MB / 3.851 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/8.907, allocations: 2.672 kB / 3.851 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009358/8.916, allocations: 7.222 MB / 3.858 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/8.918, allocations: 0.7412 MB / 3.859 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/8.919, allocations: 53.95 kB / 3.859 GB, free: 1.723 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/8.921, allocations: 198.8 kB / 3.859 GB, free: 1.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/8.921, allocations: 141.6 kB / 3.859 GB, free: 1.484 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/8.921, allocations: 70.64 kB / 3.859 GB, free: 1.426 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001957/8.923, allocations: 1.185 MB / 3.86 GB, free: 432 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/8.923, allocations: 0 / 3.86 GB, free: 432 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0131/8.936, allocations: 2.755 MB / 3.863 GB, free: 13.74 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.01319/8.949, allocations: 2.807 MB / 3.866 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009967/8.959, allocations: 5.331 MB / 3.871 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/8.959, allocations: 0 / 3.871 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003392/8.963, allocations: 2.415 MB / 3.873 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004352/8.967, allocations: 0.8752 MB / 3.874 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4737/9.441, allocations: 128.8 MB / 4 GB, free: 45.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/9.443, allocations: 2.303 MB / 4.002 GB, free: 44.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003704/9.446, allocations: 1.724 MB / 4.004 GB, free: 44.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004962/9.447, allocations: 173.8 kB / 4.004 GB, free: 44.23 MB / 0.4948 GB Notification: Performance of SimCode: time 2.826e-06/9.447, allocations: 0 / 4.004 GB, free: 44.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.4895/9.937, allocations: 91.37 MB / 4.093 GB, free: 47.97 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe 2>&1)