Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork") translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007598/0.00076, allocations: 93.47 kB / 16.65 MB, free: 6.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008622/0.0008623, allocations: 175.1 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004306, allocations: 8.938 kB / 280.7 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09163, allocations: 47.58 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.4535/0.5452, allocations: 212.9 MB / 0.5285 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3857/0.9309, allocations: 46.37 MB / 0.5738 GB, free: 444 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01172/0.9427, allocations: 286.6 kB / 0.574 GB, free: 444 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008197/0.9509, allocations: 1.971 MB / 0.576 GB, free: 444 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04326/0.9942, allocations: 14.25 MB / 0.5899 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04528/1.04, allocations: 14.26 MB / 0.6038 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.04568/1.085, allocations: 32.45 MB / 0.6355 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/1.097, allocations: 4.991 MB / 0.6404 GB, free: 9.043 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03081/1.128, allocations: 14.98 MB / 0.655 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02898/1.157, allocations: 15.88 MB / 0.6705 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003579/1.16, allocations: 380 kB / 0.6709 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03374/1.194, allocations: 11.95 MB / 0.6825 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.008045/1.202, allocations: 3.098 MB / 0.6856 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01077/1.213, allocations: 3.99 MB / 0.6895 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.04297/1.256, allocations: 16.6 MB / 0.7057 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.256, allocations: 0 / 0.7057 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.505e-06/1.256, allocations: 0 / 0.7057 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004018/1.257, allocations: 4 kB / 0.7057 GB, free: 9.383 MB / 0.5294 GB 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.02423/1.281, allocations: 7.983 MB / 0.7135 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/1.281, allocations: 8.031 kB / 0.7135 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/1.292, allocations: 1.286 MB / 0.7147 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01524/1.307, allocations: 5.929 MB / 0.7205 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004399/1.308, allocations: 425.5 kB / 0.7209 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/1.309, allocations: 0.5388 MB / 0.7215 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2642/1.573, allocations: 9.444 MB / 0.7307 GB, free: 265.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/1.573, allocations: 20.38 kB / 0.7307 GB, free: 265.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/1.575, allocations: 239.9 kB / 0.7309 GB, free: 265.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001125/1.576, allocations: 0.6998 MB / 0.7316 GB, free: 265.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02144/1.597, allocations: 8.255 MB / 0.7397 GB, free: 262.9 MB / 0.545 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.05782/1.655, allocations: 39.76 MB / 0.7785 GB, free: 232.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/1.668, allocations: 6.256 MB / 0.7846 GB, free: 229.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006572/1.675, allocations: 3.673 MB / 0.7882 GB, free: 227.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008436/1.683, allocations: 9.63 MB / 0.7976 GB, free: 216 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/1.683, allocations: 104.4 kB / 0.7977 GB, free: 215.9 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006818/1.69, allocations: 1.28 MB / 0.799 GB, free: 214.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=500): time 2.87e-05/1.69, allocations: 3.156 kB / 0.799 GB, free: 214.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=632): time 0.1831/1.873, allocations: 52.95 MB / 0.8507 GB, free: 162.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/1.873, allocations: 171.8 kB / 0.8508 GB, free: 162 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008473/1.882, allocations: 4.861 MB / 0.8556 GB, free: 157.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001745/1.884, allocations: 149.7 kB / 0.8557 GB, free: 157 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002281/1.886, allocations: 2.969 MB / 0.8586 GB, free: 154 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002642/1.889, allocations: 2.162 MB / 0.8607 GB, free: 151.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/1.89, allocations: 0.576 MB / 0.8613 GB, free: 151.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.637e-05/1.89, allocations: 305.1 kB / 0.8616 GB, free: 151 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006946/1.897, allocations: 4.043 MB / 0.8655 GB, free: 147 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007965/1.905, allocations: 5.762 MB / 0.8712 GB, free: 140.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01488/1.92, allocations: 10.36 MB / 0.8813 GB, free: 129.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.243e-05/1.92, allocations: 16 kB / 0.8813 GB, free: 129.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02384/1.944, allocations: 12.82 MB / 0.8938 GB, free: 116.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008636/1.945, allocations: 1.458 MB / 0.8952 GB, free: 114.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-05/1.945, allocations: 47.94 kB / 0.8953 GB, free: 114.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02577/1.971, allocations: 5.22 MB / 0.9004 GB, free: 109.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006244/1.977, allocations: 1.381 MB / 0.9017 GB, free: 107.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.99, allocations: 17.43 MB / 0.9188 GB, free: 89.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008343/1.998, allocations: 499.3 kB / 0.9192 GB, free: 89.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002249/2, allocations: 451.8 kB / 0.9197 GB, free: 88.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/2, allocations: 4 kB / 0.9197 GB, free: 88.78 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02687/2.027, allocations: 12.19 MB / 0.9316 GB, free: 76.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/2.028, allocations: 44 kB / 0.9316 GB, free: 76.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/2.038, allocations: 3.387 MB / 0.9349 GB, free: 72.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006444/2.045, allocations: 1.412 MB / 0.9363 GB, free: 71.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/2.063, allocations: 21.94 MB / 0.9577 GB, free: 48.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007582/2.071, allocations: 495.1 kB / 0.9582 GB, free: 48.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001753/2.073, allocations: 439.8 kB / 0.9586 GB, free: 48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 204 * 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 (762): * Single equations (assignments): 739 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 23 systems {(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.005735/2.078, allocations: 1.932 MB / 0.9605 GB, free: 46.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002478/2.081, allocations: 0.6487 MB / 0.9611 GB, free: 45.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02627/2.107, allocations: 12.66 MB / 0.9735 GB, free: 32.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.916e-05/2.107, allocations: 71.94 kB / 0.9736 GB, free: 32.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/2.107, allocations: 0 / 0.9736 GB, free: 32.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01432/2.122, allocations: 9.753 MB / 0.9831 GB, free: 22.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3116/2.433, allocations: 24.78 MB / 1.007 GB, free: 243.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-05/2.433, allocations: 16.7 kB / 1.007 GB, free: 243.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004868/2.438, allocations: 0.8743 MB / 1.008 GB, free: 243.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02962/2.468, allocations: 5.565 MB / 1.014 GB, free: 243.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002049/2.47, allocations: 236.5 kB / 1.014 GB, free: 243.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/2.484, allocations: 17.41 MB / 1.031 GB, free: 230.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.93e-05/2.484, allocations: 30.12 kB / 1.031 GB, free: 230.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03236/2.516, allocations: 16.95 MB / 1.047 GB, free: 223.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005313/2.522, allocations: 1.673 MB / 1.049 GB, free: 223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002597/2.524, allocations: 169.8 kB / 1.049 GB, free: 222.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006235/2.53, allocations: 325 kB / 1.05 GB, free: 222.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001536/2.532, allocations: 477 kB / 1.05 GB, free: 222.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001326/2.533, allocations: 351.9 kB / 1.05 GB, free: 222.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00597/2.539, allocations: 3.205 MB / 1.053 GB, free: 221.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/2.539, allocations: 3.812 kB / 1.053 GB, free: 221.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01933/2.559, allocations: 5.153 MB / 1.058 GB, free: 221.3 MB / 0.545 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 (not torn): 0 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 23 systems {(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), (12,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008521/2.567, allocations: 2.869 MB / 1.061 GB, free: 220.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.03111/2.598, allocations: 15.81 MB / 1.077 GB, free: 207.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.036e-05/2.598, allocations: 13.66 kB / 1.077 GB, free: 207.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009143/2.608, allocations: 4.936 MB / 1.082 GB, free: 202.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02675/2.634, allocations: 2.714 MB / 1.084 GB, free: 199.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02328/2.658, allocations: 19.92 MB / 1.104 GB, free: 180.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003398/2.661, allocations: 4.377 MB / 1.108 GB, free: 176.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01294/2.674, allocations: 4.2 MB / 1.112 GB, free: 171.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002357/2.676, allocations: 0.632 MB / 1.113 GB, free: 171.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/2.676, allocations: 0 / 1.113 GB, free: 171.2 MB / 0.545 GB Notification: Performance of Templates: time 0.4712/3.148, allocations: 183.5 MB / 1.292 GB, free: 215.8 MB / 0.545 GB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1)