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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008505/0.0008506, allocations: 97.72 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.005421/0.005421, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.365/1.365, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.0004367/0.0004367, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2426, allocations: 47.58 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.4886/0.7312, allocations: 212.9 MB / 0.5273 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.08361/0.8149, allocations: 46.38 MB / 0.5725 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01077/0.8257, allocations: 289.8 kB / 0.5728 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008172/0.8339, allocations: 1.974 MB / 0.5747 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04197/0.8759, allocations: 14.12 MB / 0.5885 GB, free: 9.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04129/0.9172, allocations: 14.26 MB / 0.6025 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.4232/1.34, allocations: 32.44 MB / 0.6341 GB, free: 7.562 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/1.353, allocations: 4.976 MB / 0.639 GB, free: 7.301 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03332/1.386, allocations: 14.98 MB / 0.6536 GB, free: 7.164 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02899/1.415, allocations: 15.88 MB / 0.6691 GB, free: 6.324 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004801/1.42, allocations: 384.4 kB / 0.6695 GB, free: 6.324 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03185/1.452, allocations: 11.94 MB / 0.6812 GB, free: 4.973 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009252/1.461, allocations: 3.1 MB / 0.6842 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01663/1.478, allocations: 3.984 MB / 0.6881 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04548/1.524, allocations: 16.64 MB / 0.7043 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.524, allocations: 0 / 0.7043 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.376e-06/1.524, allocations: 0 / 0.7043 GB, free: 10.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006002/1.524, allocations: 0 / 0.7043 GB, free: 10.93 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.03007/1.554, allocations: 8.003 MB / 0.7122 GB, free: 3.484 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/1.554, allocations: 12.03 kB / 0.7122 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/1.566, allocations: 1.28 MB / 0.7134 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/1.583, allocations: 5.923 MB / 0.7192 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007983/1.584, allocations: 424 kB / 0.7196 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003306/1.588, allocations: 0.5336 MB / 0.7201 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03131/1.619, allocations: 9.445 MB / 0.7294 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000382/1.619, allocations: 20.19 kB / 0.7294 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002886/1.622, allocations: 241.6 kB / 0.7296 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001258/1.624, allocations: 0.7139 MB / 0.7303 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02578/1.649, allocations: 8.249 MB / 0.7384 GB, free: 15.85 MB / 0.5137 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.0795/1.729, allocations: 39.76 MB / 0.7772 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/1.743, allocations: 6.241 MB / 0.7833 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007474/1.751, allocations: 3.676 MB / 0.7869 GB, free: 4.492 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/1.762, allocations: 9.633 MB / 0.7963 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/1.762, allocations: 94.92 kB / 0.7964 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009201/1.771, allocations: 1.274 MB / 0.7976 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=500): time 2.895e-05/1.771, allocations: 0 / 0.7976 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=632): time 0.193/1.964, allocations: 52.95 MB / 0.8493 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/1.964, allocations: 171.8 kB / 0.8495 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2643/2.229, allocations: 4.861 MB / 0.8542 GB, free: 321.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002528/2.231, allocations: 146.2 kB / 0.8544 GB, free: 321.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003172/2.235, allocations: 2.979 MB / 0.8573 GB, free: 321.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003396/2.238, allocations: 2.165 MB / 0.8594 GB, free: 320 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/2.239, allocations: 0.5755 MB / 0.86 GB, free: 319.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.046e-05/2.24, allocations: 304.9 kB / 0.8602 GB, free: 319.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006786/2.246, allocations: 4.042 MB / 0.8642 GB, free: 318.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008141/2.254, allocations: 5.76 MB / 0.8698 GB, free: 314.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/2.271, allocations: 10.37 MB / 0.8799 GB, free: 309.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.469e-05/2.271, allocations: 15.88 kB / 0.88 GB, free: 309.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02878/2.3, allocations: 12.83 MB / 0.8925 GB, free: 303.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009759/2.301, allocations: 1.449 MB / 0.8939 GB, free: 301.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/2.301, allocations: 44.22 kB / 0.8939 GB, free: 301.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02702/2.328, allocations: 5.232 MB / 0.8991 GB, free: 299.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006735/2.335, allocations: 1.387 MB / 0.9004 GB, free: 299.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/2.35, allocations: 17.42 MB / 0.9174 GB, free: 281.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009777/2.359, allocations: 0.4895 MB / 0.9179 GB, free: 281.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002595/2.362, allocations: 455.8 kB / 0.9183 GB, free: 280.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/2.362, allocations: 4 kB / 0.9183 GB, free: 280.7 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02827/2.39, allocations: 12.18 MB / 0.9302 GB, free: 268.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/2.391, allocations: 48 kB / 0.9303 GB, free: 268.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/2.401, allocations: 3.391 MB / 0.9336 GB, free: 265 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006358/2.408, allocations: 1.411 MB / 0.935 GB, free: 263.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/2.427, allocations: 21.94 MB / 0.9564 GB, free: 241 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008531/2.435, allocations: 493 kB / 0.9569 GB, free: 240.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002111/2.437, allocations: 447.8 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.006285/2.444, allocations: 1.926 MB / 0.9592 GB, free: 238.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002622/2.446, allocations: 0.6484 MB / 0.9598 GB, free: 237.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02661/2.473, allocations: 12.68 MB / 0.9722 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/2.473, allocations: 64 kB / 0.9722 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/2.473, allocations: 0 / 0.9722 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01443/2.488, allocations: 9.749 MB / 0.9818 GB, free: 215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04662/2.534, allocations: 24.77 MB / 1.006 GB, free: 189.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/2.534, allocations: 16 kB / 1.006 GB, free: 189.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003586/2.538, allocations: 0.8777 MB / 1.007 GB, free: 188.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02614/2.564, allocations: 5.567 MB / 1.012 GB, free: 183.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001608/2.566, allocations: 239.9 kB / 1.012 GB, free: 183 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/2.577, allocations: 17.41 MB / 1.029 GB, free: 165 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.142e-05/2.577, allocations: 23.88 kB / 1.03 GB, free: 164.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02898/2.606, allocations: 16.96 MB / 1.046 GB, free: 147.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004652/2.611, allocations: 1.679 MB / 1.048 GB, free: 145.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002312/2.613, allocations: 164 kB / 1.048 GB, free: 145.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005749/2.619, allocations: 319.5 kB / 1.048 GB, free: 145.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/2.62, allocations: 475.9 kB / 1.049 GB, free: 144.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001061/2.621, allocations: 351.8 kB / 1.049 GB, free: 144.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00566/2.627, allocations: 3.207 MB / 1.052 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/2.627, allocations: 0 / 1.052 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.02319/2.65, allocations: 5.153 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.009183/2.659, allocations: 2.88 MB / 1.06 GB, free: 134 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.03344/2.693, allocations: 15.82 MB / 1.075 GB, free: 118.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.478e-05/2.693, allocations: 5.75 kB / 1.075 GB, free: 118.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0102/2.703, allocations: 4.949 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.03234/2.736, allocations: 2.721 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.03757/2.773, allocations: 19.92 MB / 1.102 GB, free: 90.37 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00596/2.779, allocations: 4.371 MB / 1.107 GB, free: 85.96 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01701/2.796, allocations: 4.197 MB / 1.111 GB, free: 81.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003712/2.8, allocations: 0.6398 MB / 1.111 GB, free: 81.11 MB / 0.6075 GB Notification: Performance of SimCode: time 1.282e-06/2.8, allocations: 0 / 1.111 GB, free: 81.11 MB / 0.6075 GB Notification: Performance of Templates: time 0.4642/3.264, allocations: 183.5 MB / 1.291 GB, free: 232.6 MB / 0.6075 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)