Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork") translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001224/0.001224, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009248/0.009248, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.486/1.486, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.00047/0.0004702, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2385, allocations: 47.58 MB / 327 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.4937/0.7322, allocations: 212.9 MB / 0.5272 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.07877/0.8111, allocations: 46.39 MB / 0.5725 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01197/0.8231, allocations: 285.8 kB / 0.5728 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008052/0.8312, allocations: 1.974 MB / 0.5747 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04057/0.8718, allocations: 14.13 MB / 0.5885 GB, free: 9.711 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04079/0.9126, allocations: 14.25 MB / 0.6024 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.4121/1.325, allocations: 32.45 MB / 0.6341 GB, free: 7.617 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/1.337, allocations: 4.974 MB / 0.639 GB, free: 7.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0302/1.367, allocations: 14.98 MB / 0.6536 GB, free: 7.219 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04021/1.407, allocations: 15.89 MB / 0.6691 GB, free: 6.387 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006178/1.413, allocations: 381.8 kB / 0.6695 GB, free: 6.387 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03905/1.452, allocations: 11.96 MB / 0.6812 GB, free: 5.109 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009357/1.462, allocations: 3.094 MB / 0.6842 GB, free: 3.871 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01309/1.475, allocations: 3.982 MB / 0.6881 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04344/1.518, allocations: 16.64 MB / 0.7043 GB, free: 11.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.518, allocations: 0 / 0.7043 GB, free: 11.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.597e-06/1.518, allocations: 0 / 0.7043 GB, free: 11.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005658/1.519, allocations: 0 / 0.7043 GB, free: 11.1 MB / 494.1 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.02768/1.547, allocations: 7.995 MB / 0.7121 GB, free: 3.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.547, allocations: 12.03 kB / 0.7121 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/1.558, allocations: 1.283 MB / 0.7134 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/1.574, allocations: 5.926 MB / 0.7192 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000654/1.574, allocations: 430.5 kB / 0.7196 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002977/1.577, allocations: 0.5293 MB / 0.7201 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02494/1.602, allocations: 9.45 MB / 0.7293 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/1.603, allocations: 18.88 kB / 0.7294 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/1.604, allocations: 243.3 kB / 0.7296 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009489/1.605, allocations: 0.698 MB / 0.7303 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/1.626, allocations: 8.253 MB / 0.7383 GB, free: 32 kB / 0.4981 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.07392/1.7, allocations: 39.76 MB / 0.7772 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/1.713, allocations: 6.242 MB / 0.7833 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006874/1.72, allocations: 3.676 MB / 0.7868 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/1.731, allocations: 9.633 MB / 0.7962 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/1.731, allocations: 94.92 kB / 0.7963 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007421/1.738, allocations: 1.28 MB / 0.7976 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=500): time 3.115e-05/1.738, allocations: 7.984 kB / 0.7976 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=632): time 0.1906/1.929, allocations: 52.95 MB / 0.8493 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/1.929, allocations: 167.8 kB / 0.8495 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2389/2.168, allocations: 4.865 MB / 0.8542 GB, free: 321.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002026/2.17, allocations: 147.1 kB / 0.8544 GB, free: 321.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002643/2.173, allocations: 2.979 MB / 0.8573 GB, free: 321.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002877/2.176, allocations: 2.165 MB / 0.8594 GB, free: 320 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/2.177, allocations: 0.575 MB / 0.8599 GB, free: 319.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.073e-05/2.177, allocations: 305.9 kB / 0.8602 GB, free: 319.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006469/2.183, allocations: 4.039 MB / 0.8642 GB, free: 318.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008201/2.192, allocations: 5.762 MB / 0.8698 GB, free: 314.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/2.207, allocations: 10.37 MB / 0.8799 GB, free: 309.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-05/2.208, allocations: 11.69 kB / 0.8799 GB, free: 309.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02286/2.23, allocations: 12.83 MB / 0.8925 GB, free: 303.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008131/2.231, allocations: 1.449 MB / 0.8939 GB, free: 302 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.499e-05/2.231, allocations: 45.41 kB / 0.8939 GB, free: 302 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02585/2.257, allocations: 5.228 MB / 0.899 GB, free: 299.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006251/2.263, allocations: 1.39 MB / 0.9004 GB, free: 299.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/2.276, allocations: 17.42 MB / 0.9174 GB, free: 281.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01/2.286, allocations: 497.1 kB / 0.9179 GB, free: 281.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002828/2.289, allocations: 463.9 kB / 0.9183 GB, free: 280.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/2.289, allocations: 4 kB / 0.9183 GB, free: 280.7 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02113/2.31, allocations: 12.18 MB / 0.9302 GB, free: 268.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-05/2.31, allocations: 48 kB / 0.9303 GB, free: 268.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009801/2.32, allocations: 3.382 MB / 0.9336 GB, free: 264.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006196/2.326, allocations: 1.414 MB / 0.9349 GB, free: 263.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01794/2.344, allocations: 21.94 MB / 0.9564 GB, free: 240.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008922/2.353, allocations: 491.7 kB / 0.9568 GB, free: 240.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/2.356, allocations: 444.5 kB / 0.9573 GB, free: 240.1 MB / 0.6075 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.005871/2.361, allocations: 1.926 MB / 0.9591 GB, free: 238.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001983/2.363, allocations: 0.6445 MB / 0.9598 GB, free: 237.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02318/2.387, allocations: 12.69 MB / 0.9722 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.088e-05/2.387, allocations: 64 kB / 0.9722 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/2.387, allocations: 4 kB / 0.9722 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01672/2.403, allocations: 9.743 MB / 0.9817 GB, free: 214.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04364/2.447, allocations: 24.78 MB / 1.006 GB, free: 189.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-05/2.447, allocations: 16.88 kB / 1.006 GB, free: 189.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003866/2.451, allocations: 0.8698 MB / 1.007 GB, free: 188.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02611/2.477, allocations: 5.575 MB / 1.012 GB, free: 183.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001873/2.479, allocations: 235.9 kB / 1.012 GB, free: 182.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/2.491, allocations: 17.41 MB / 1.029 GB, free: 164.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/2.491, allocations: 27.81 kB / 1.03 GB, free: 164.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02704/2.518, allocations: 16.96 MB / 1.046 GB, free: 147.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005629/2.524, allocations: 1.672 MB / 1.048 GB, free: 145.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002208/2.526, allocations: 168 kB / 1.048 GB, free: 145.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005776/2.532, allocations: 323.4 kB / 1.048 GB, free: 145.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009193/2.533, allocations: 472 kB / 1.049 GB, free: 144.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007361/2.534, allocations: 355.8 kB / 1.049 GB, free: 144.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004609/2.538, allocations: 3.208 MB / 1.052 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/2.538, allocations: 0 / 1.052 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01808/2.556, allocations: 5.141 MB / 1.057 GB, free: 136.4 MB / 0.6075 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.007966/2.564, allocations: 2.876 MB / 1.06 GB, free: 134 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02821/2.593, allocations: 15.81 MB / 1.075 GB, free: 118.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.077e-05/2.593, allocations: 9.75 kB / 1.075 GB, free: 118.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.009228/2.602, allocations: 4.946 MB / 1.08 GB, free: 113.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03209/2.634, allocations: 2.717 MB / 1.083 GB, free: 110.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02981/2.664, allocations: 19.92 MB / 1.102 GB, free: 90.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004168/2.668, allocations: 4.379 MB / 1.107 GB, free: 85.94 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01541/2.684, allocations: 4.204 MB / 1.111 GB, free: 81.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003165/2.687, allocations: 0.632 MB / 1.111 GB, free: 81.09 MB / 0.6075 GB Notification: Performance of SimCode: time 1.974e-06/2.687, allocations: 0 / 1.111 GB, free: 81.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.5149/3.202, allocations: 183.5 MB / 1.291 GB, free: 232.5 MB / 0.6075 GB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1)