Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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) 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(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork") translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005976/0.005976, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.317/1.317, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001656/0.001656, allocations: 111.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000505/0.0005052, allocations: 11.98 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.25, allocations: 38.76 MB / 312.9 MB, free: 38.7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6719/0.9219, allocations: 272.1 MB / 0.5712 GB, free: 114.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.9222, allocations: 82.44 kB / 0.5713 GB, free: 114.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.525/8.447, allocations: 1.636 GB / 2.207 GB, free: 18.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.31e-06/8.447, allocations: 2.188 kB / 2.207 GB, free: 18.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001289/8.448, allocations: 191.1 kB / 2.207 GB, free: 18.77 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.05973/8.508, allocations: 11.09 MB / 2.218 GB, free: 13.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/8.508, allocations: 14.22 kB / 2.218 GB, free: 13.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/8.522, allocations: 1.24 MB / 2.219 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02499/8.547, allocations: 6.36 MB / 2.225 GB, free: 11.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008617/8.548, allocations: 429.2 kB / 2.226 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004425/8.552, allocations: 0.5314 MB / 2.226 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03404/8.586, allocations: 9.451 MB / 2.236 GB, free: 9.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/8.586, allocations: 17.19 kB / 2.236 GB, free: 9.488 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001735/8.588, allocations: 246.5 kB / 2.236 GB, free: 9.312 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009552/8.589, allocations: 0.5936 MB / 2.236 GB, free: 9.148 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02136/8.611, allocations: 8.121 MB / 2.244 GB, free: 2.305 MB / 458.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.674/9.285, allocations: 34.92 MB / 2.278 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01622/9.301, allocations: 6.156 MB / 2.285 GB, free: 15.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006054/9.307, allocations: 4.76 MB / 2.289 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/9.307, allocations: 93.61 kB / 2.289 GB, free: 10.56 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01029/9.317, allocations: 1.67 MB / 2.291 GB, free: 10.56 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 4.468e-05/9.318, allocations: 0 / 2.291 GB, free: 10.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.2243/9.542, allocations: 50.78 MB / 2.34 GB, free: 8.422 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002173/9.542, allocations: 173.8 kB / 2.341 GB, free: 8.289 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01489/9.557, allocations: 4.172 MB / 2.345 GB, free: 7.969 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003502/9.561, allocations: 144.9 kB / 2.345 GB, free: 7.938 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004924/9.566, allocations: 2.977 MB / 2.348 GB, free: 7.129 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005491/9.571, allocations: 2.163 MB / 2.35 GB, free: 6.031 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00267/9.574, allocations: 143.8 kB / 2.35 GB, free: 6.031 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009662/9.575, allocations: 0.5877 MB / 2.351 GB, free: 5.715 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01002/9.585, allocations: 3.92 MB / 2.354 GB, free: 5.699 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/9.598, allocations: 5.612 MB / 2.36 GB, free: 4.012 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01301/9.611, allocations: 4.862 MB / 2.365 GB, free: 3.922 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002119/9.611, allocations: 14.62 kB / 2.365 GB, free: 3.922 MB / 474.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04004/9.651, allocations: 12.5 MB / 2.377 GB, free: 2.727 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.008471/9.66, allocations: 21.31 MB / 2.398 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/9.66, allocations: 42.69 kB / 2.398 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03223/9.692, allocations: 5.187 MB / 2.403 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007873/9.7, allocations: 1.366 MB / 2.404 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/9.719, allocations: 17.41 MB / 2.421 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0117/9.73, allocations: 0.5093 MB / 2.422 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003827/9.734, allocations: 417.8 kB / 2.422 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/9.734, allocations: 5.344 kB / 2.422 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03868/9.773, allocations: 12 MB / 2.434 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002444/9.773, allocations: 43.75 kB / 2.434 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01185/9.785, allocations: 3.288 MB / 2.437 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008191/9.794, allocations: 1.392 MB / 2.438 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5174/10.31, allocations: 22.16 MB / 2.46 GB, free: 62.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/10.32, allocations: 0.4894 MB / 2.46 GB, free: 62.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002876/10.32, allocations: 415.7 kB / 2.461 GB, free: 62.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 734 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.009062/10.33, allocations: 1.927 MB / 2.463 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00295/10.34, allocations: 0.6457 MB / 2.463 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03244/10.37, allocations: 13.48 MB / 2.477 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.453e-05/10.37, allocations: 64.03 kB / 2.477 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/10.37, allocations: 5.047 kB / 2.477 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02432/10.39, allocations: 9.661 MB / 2.486 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07501/10.47, allocations: 24.8 MB / 2.51 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001049/10.47, allocations: 15.62 kB / 2.51 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005113/10.47, allocations: 0.8679 MB / 2.511 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0288/10.5, allocations: 5.451 MB / 2.516 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002555/10.51, allocations: 226.7 kB / 2.517 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/10.52, allocations: 17.4 MB / 2.534 GB, free: 46.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.105e-05/10.52, allocations: 24.42 kB / 2.534 GB, free: 46.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03734/10.56, allocations: 19.16 MB / 2.552 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008998/10.57, allocations: 1.723 MB / 2.554 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004056/10.57, allocations: 164.6 kB / 2.554 GB, free: 40.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007934/10.58, allocations: 332.1 kB / 2.555 GB, free: 40.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001849/10.58, allocations: 460.9 kB / 2.555 GB, free: 39.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002084/10.58, allocations: 324.4 kB / 2.555 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009037/10.59, allocations: 3.136 MB / 2.558 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/10.59, allocations: 0 / 2.558 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0307/10.62, allocations: 5.871 MB / 2.564 GB, free: 38.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,10 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.0144/10.64, allocations: 3.731 MB / 2.568 GB, free: 38.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03171/10.67, allocations: 15.67 MB / 2.583 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.4e-05/10.67, allocations: 6.438 kB / 2.583 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009171/10.68, allocations: 4.876 MB / 2.588 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01614/10.69, allocations: 2.58 MB / 2.59 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03877/10.73, allocations: 19.16 MB / 2.609 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007101/10.74, allocations: 4.504 MB / 2.613 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01728/10.76, allocations: 4.846 MB / 2.618 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003889/10.76, allocations: 0.603 MB / 2.619 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.933e-06/10.76, allocations: 0 / 2.619 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.7567/11.52, allocations: 183.3 MB / 2.798 GB, free: 7.012 MB / 0.5105 GB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1)