Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.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.DynamicPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0142/0.0142, allocations: 176 kB / 15.12 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.018/2.018, allocations: 194.5 MB / 210.3 MB, free: 7.629 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.001921/0.00192, allocations: 128.6 kB / 255.6 MB, free: 10.23 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.2404/0.2404, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005395/0.0005399, allocations: 11.69 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1455, allocations: 54.87 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.816/7.962, allocations: 2.664 GB / 3.114 GB, free: 78.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/7.962, allocations: 84.17 kB / 3.114 GB, free: 78.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.149/10.11, allocations: 0.4901 GB / 3.604 GB, free: 38.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.334e-06/10.11, allocations: 0 / 3.604 GB, free: 38.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000218/10.11, allocations: 48.75 kB / 3.604 GB, free: 38.61 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01499/10.13, allocations: 3.18 MB / 3.607 GB, free: 37.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/10.13, allocations: 9.578 kB / 3.607 GB, free: 37.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005966/10.13, allocations: 0.7153 MB / 3.608 GB, free: 37.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005767/10.14, allocations: 1.587 MB / 3.61 GB, free: 36.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/10.14, allocations: 168.2 kB / 3.61 GB, free: 36.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/10.14, allocations: 183.7 kB / 3.61 GB, free: 36.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/10.15, allocations: 3.578 MB / 3.613 GB, free: 36.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/10.15, allocations: 7.25 kB / 3.613 GB, free: 36.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000914/10.15, allocations: 75.47 kB / 3.613 GB, free: 36.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002236/10.15, allocations: 176 kB / 3.614 GB, free: 36.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00967/10.16, allocations: 3.511 MB / 3.617 GB, free: 36.45 MB / 490.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.02663/10.19, allocations: 14.13 MB / 3.631 GB, free: 28.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005754/10.2, allocations: 2.285 MB / 3.633 GB, free: 28.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1275/10.32, allocations: 63.42 MB / 3.695 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004963/10.33, allocations: 1.728 MB / 3.697 GB, free: 20.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=154): time 6.582e-06/10.33, allocations: 0 / 3.697 GB, free: 20.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174): time 0.02427/10.35, allocations: 9.453 MB / 3.706 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/10.35, allocations: 286.7 kB / 3.706 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/10.35, allocations: 1.193 MB / 3.707 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003055/10.35, allocations: 59.2 kB / 3.707 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006187/10.36, allocations: 0.8246 MB / 3.708 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005304/10.36, allocations: 0.5941 MB / 3.709 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/10.36, allocations: 47.59 kB / 3.709 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001984/10.36, allocations: 392.2 kB / 3.709 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/10.36, allocations: 1.276 MB / 3.71 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/10.36, allocations: 1.837 MB / 3.712 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/10.36, allocations: 1.512 MB / 3.714 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-05/10.36, allocations: 3.906 kB / 3.714 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.008642/10.37, allocations: 4.332 MB / 3.718 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003001/10.37, allocations: 6.273 MB / 3.724 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.35e-05/10.37, allocations: 17.62 kB / 3.724 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01551/10.39, allocations: 3.648 MB / 3.728 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/10.39, allocations: 336.9 kB / 3.728 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007651/10.4, allocations: 4.058 MB / 3.732 GB, free: 23.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/10.4, allocations: 269.4 kB / 3.732 GB, free: 23.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005093/10.4, allocations: 102.2 kB / 3.732 GB, free: 23.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/10.4, allocations: 7.531 kB / 3.732 GB, free: 23.3 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008213/10.41, allocations: 3.938 MB / 3.736 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.073e-05/10.41, allocations: 18.44 kB / 3.736 GB, free: 21.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008912/10.42, allocations: 2.427 MB / 3.739 GB, free: 19.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/10.42, allocations: 373.9 kB / 3.739 GB, free: 19.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005148/10.43, allocations: 3.339 MB / 3.742 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/10.43, allocations: 270.7 kB / 3.742 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005791/10.43, allocations: 103.4 kB / 3.743 GB, free: 16.5 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {14 91} Notification: Performance of prepare postOptimizeDAE: time 0.002674/10.43, allocations: 0.6976 MB / 3.743 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006211/10.43, allocations: 162 kB / 3.743 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009941/10.44, allocations: 6.851 MB / 3.75 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.226e-05/10.44, allocations: 81.58 kB / 3.75 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/10.44, allocations: 0 / 3.75 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00805/10.45, allocations: 5.512 MB / 3.756 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3609/10.81, allocations: 9.61 MB / 3.765 GB, free: 82.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/10.81, allocations: 2.062 kB / 3.765 GB, free: 82.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/10.82, allocations: 442.6 kB / 3.765 GB, free: 82.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/10.82, allocations: 472 kB / 3.766 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003318/10.82, allocations: 66.8 kB / 3.766 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/10.82, allocations: 3.223 MB / 3.769 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/10.82, allocations: 5.562 kB / 3.769 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/10.83, allocations: 7.126 MB / 3.776 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/10.83, allocations: 0.772 MB / 3.777 GB, free: 79.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005579/10.83, allocations: 52.14 kB / 3.777 GB, free: 79.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/10.84, allocations: 207.9 kB / 3.777 GB, free: 79.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004337/10.84, allocations: 182.3 kB / 3.777 GB, free: 79.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/10.84, allocations: 69.69 kB / 3.777 GB, free: 79.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002345/10.84, allocations: 1.241 MB / 3.778 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/10.84, allocations: 0.5625 kB / 3.778 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01146/10.85, allocations: 2.362 MB / 3.781 GB, free: 79.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 39 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.region3boundary,$cse17.region3boundary,$cse18.phase,$cse18.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition2,$whenCondition1,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01226/10.86, allocations: 2.012 MB / 3.783 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01171/10.88, allocations: 5.478 MB / 3.788 GB, free: 79.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/10.88, allocations: 4.781 kB / 3.788 GB, free: 79.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00416/10.88, allocations: 2.38 MB / 3.79 GB, free: 79.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005207/10.88, allocations: 0.7767 MB / 3.791 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/10.9, allocations: 8.137 MB / 3.799 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/10.9, allocations: 2.053 MB / 3.801 GB, free: 75.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004141/10.9, allocations: 1.458 MB / 3.803 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009325/10.91, allocations: 158.6 kB / 3.803 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/10.91, allocations: 0 / 3.803 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of Templates: time 0.1329/11.04, allocations: 82.25 MB / 3.883 GB, free: 71.7 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe 2>&1)