Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006065/0.006065, allocations: 175.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.352/1.352, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00165/0.00165, allocations: 124.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.18/0.18, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 19.09 kB / 406.2 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.257/6.37, allocations: 2.658 GB / 3.108 GB, free: 5.961 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/6.37, allocations: 83.67 kB / 3.109 GB, free: 5.918 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.409/9.78, allocations: 0.8626 GB / 3.971 GB, free: 38.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.567e-06/9.78, allocations: 0 / 3.971 GB, free: 38.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002711/9.78, allocations: 67.34 kB / 3.971 GB, free: 38.04 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.0173/9.797, allocations: 4.126 MB / 3.975 GB, free: 36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/9.797, allocations: 9.344 kB / 3.975 GB, free: 36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006424/9.804, allocations: 0.8444 MB / 3.976 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006076/9.81, allocations: 2.109 MB / 3.978 GB, free: 35.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/9.81, allocations: 186.3 kB / 3.978 GB, free: 35.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006321/9.811, allocations: 200.9 kB / 3.978 GB, free: 35.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00734/9.818, allocations: 3.574 MB / 3.982 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.655e-05/9.818, allocations: 8.219 kB / 3.982 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003011/9.819, allocations: 87.97 kB / 3.982 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/9.819, allocations: 166.1 kB / 3.982 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007117/9.826, allocations: 3.296 MB / 3.985 GB, free: 34.82 MB / 0.5105 GB 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.01744/9.843, allocations: 15.06 MB / 4 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004798/9.848, allocations: 2.299 MB / 4.002 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03101/9.879, allocations: 18.81 MB / 4.021 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004475/9.884, allocations: 1.631 MB / 4.022 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=155): time 4.408e-06/9.884, allocations: 3.625 kB / 4.022 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=171): time 0.01829/9.902, allocations: 8.18 MB / 4.03 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/9.902, allocations: 282 kB / 4.031 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/9.905, allocations: 1.413 MB / 4.032 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005235/9.906, allocations: 57.05 kB / 4.032 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007985/9.906, allocations: 0.9841 MB / 4.033 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005604/9.907, allocations: 0.5913 MB / 4.034 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/9.907, allocations: 40.62 kB / 4.034 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001237/9.907, allocations: 387.2 kB / 4.034 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/9.909, allocations: 1.146 MB / 4.035 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/9.911, allocations: 1.646 MB / 4.037 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/9.913, allocations: 1.379 MB / 4.038 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/9.913, allocations: 7.906 kB / 4.038 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.006066/9.919, allocations: 3.94 MB / 4.042 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00233/9.921, allocations: 5.326 MB / 4.047 GB, free: 20.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.285e-05/9.922, allocations: 12.12 kB / 4.047 GB, free: 20.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01383/9.935, allocations: 2.924 MB / 4.05 GB, free: 20.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/9.937, allocations: 311.2 kB / 4.05 GB, free: 20.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005335/9.942, allocations: 3.507 MB / 4.054 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/9.945, allocations: 259.4 kB / 4.054 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003873/9.946, allocations: 106.9 kB / 4.054 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/9.946, allocations: 8.219 kB / 4.054 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006537/9.952, allocations: 3.529 MB / 4.058 GB, free: 19.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-05/9.952, allocations: 17.86 kB / 4.058 GB, free: 19.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006591/9.959, allocations: 1.765 MB / 4.059 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/9.96, allocations: 358.2 kB / 4.06 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/9.964, allocations: 2.758 MB / 4.062 GB, free: 17.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/9.967, allocations: 262.2 kB / 4.063 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004414/9.968, allocations: 101.6 kB / 4.063 GB, free: 17.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 23 (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,valveOpening1.nextEventScaled,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.001988/9.97, allocations: 0.7194 MB / 4.063 GB, free: 17.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006382/9.97, allocations: 198.7 kB / 4.064 GB, free: 17.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/9.981, allocations: 7.761 MB / 4.071 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.432e-05/9.981, allocations: 87.34 kB / 4.071 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/9.981, allocations: 4 kB / 4.071 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009152/9.991, allocations: 6.67 MB / 4.078 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3153/10.31, allocations: 10.99 MB / 4.088 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/10.31, allocations: 1.578 kB / 4.088 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/10.31, allocations: 398.7 kB / 4.089 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/10.31, allocations: 384.5 kB / 4.089 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/10.31, allocations: 65.41 kB / 4.089 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/10.31, allocations: 2.576 MB / 4.092 GB, free: 50.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/10.31, allocations: 1.391 kB / 4.092 GB, free: 50.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/10.32, allocations: 7.219 MB / 4.099 GB, free: 49.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/10.32, allocations: 0.7463 MB / 4.1 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/10.32, allocations: 53.56 kB / 4.1 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/10.32, allocations: 205.5 kB / 4.1 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/10.33, allocations: 143.9 kB / 4.1 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/10.33, allocations: 72.47 kB / 4.1 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001527/10.33, allocations: 1.185 MB / 4.101 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/10.33, allocations: 0 / 4.101 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008998/10.34, allocations: 2.764 MB / 4.104 GB, free: 49.54 MB / 0.5261 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: 54 ($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,valveOpening1.nextEventScaled,pipe3.statesFM[2].phase) * Number of discrete states: 6 (valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,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.01086/10.35, allocations: 2.816 MB / 4.107 GB, free: 49.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008621/10.36, allocations: 5.388 MB / 4.112 GB, free: 49.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/10.36, allocations: 0 / 4.112 GB, free: 49.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002933/10.36, allocations: 2.44 MB / 4.114 GB, free: 49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004812/10.36, allocations: 0.8728 MB / 4.115 GB, free: 48.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1928/10.56, allocations: 130.8 MB / 4.243 GB, free: 23.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/10.56, allocations: 2.305 MB / 4.245 GB, free: 22.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003449/10.56, allocations: 1.73 MB / 4.247 GB, free: 20.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/10.56, allocations: 173.1 kB / 4.247 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/10.56, allocations: 0 / 4.247 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.4153/10.98, allocations: 91.76 MB / 4.337 GB, free: 62.84 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe 2>&1)