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.00106/0.00106, allocations: 91.64 kB / 16.3 MB, free: 5.996 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.0009794/0.0009796, allocations: 183.5 kB / 17.2 MB, free: 5.914 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.44/1.44, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.0004544/0.0004544, allocations: 12 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3425, allocations: 47.58 MB / 327.7 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.2255/0.5681, allocations: 126 MB / 453.7 MB, free: 5.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4219/0.99, allocations: 49.75 MB / 0.4917 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01247/1.003, allocations: 283.6 kB / 0.4919 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/1.015, allocations: 2.295 MB / 0.4942 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04359/1.059, allocations: 11.8 MB / 0.5057 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04892/1.108, allocations: 13.9 MB / 0.5193 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0261/1.134, allocations: 11.05 MB / 0.5301 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01269/1.146, allocations: 4.755 MB / 0.5347 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03176/1.178, allocations: 13.7 MB / 0.5481 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02573/1.204, allocations: 11.98 MB / 0.5598 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004772/1.209, allocations: 384 kB / 0.5601 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03416/1.243, allocations: 10.31 MB / 0.5702 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009154/1.252, allocations: 2.804 MB / 0.573 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007002/1.259, allocations: 1.451 MB / 0.5744 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03207/1.291, allocations: 11.95 MB / 0.586 GB, free: 5.688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.291, allocations: 0 / 0.586 GB, free: 5.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.158e-06/1.291, allocations: 0 / 0.586 GB, free: 5.688 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005774/1.292, allocations: 0 / 0.586 GB, free: 5.688 MB / 446.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.02816/1.32, allocations: 8.013 MB / 0.5939 GB, free: 13.74 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/1.32, allocations: 8.031 kB / 0.5939 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/1.333, allocations: 1.29 MB / 0.5951 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01626/1.349, allocations: 4.541 MB / 0.5996 GB, free: 7.926 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007166/1.35, allocations: 423.7 kB / 0.6 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00386/1.354, allocations: 0.5387 MB / 0.6005 GB, free: 7.039 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02571/1.379, allocations: 9.377 MB / 0.6097 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/1.38, allocations: 19.81 kB / 0.6097 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/1.381, allocations: 245.1 kB / 0.6099 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000965/1.382, allocations: 0.7009 MB / 0.6106 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02141/1.403, allocations: 8.229 MB / 0.6186 GB, free: 4.207 MB / 478.1 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.3223/1.725, allocations: 39.25 MB / 0.657 GB, free: 183.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/1.738, allocations: 6.262 MB / 0.6631 GB, free: 181.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005216/1.744, allocations: 5.481 MB / 0.6684 GB, free: 175.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/1.744, allocations: 94.58 kB / 0.6685 GB, free: 175.5 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006837/1.751, allocations: 1.293 MB / 0.6698 GB, free: 175.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=500): time 2.497e-05/1.751, allocations: 3.531 kB / 0.6698 GB, free: 175.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=632): time 0.1619/1.913, allocations: 52.2 MB / 0.7208 GB, free: 136.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/1.913, allocations: 167.8 kB / 0.7209 GB, free: 136.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006189/1.919, allocations: 4.872 MB / 0.7257 GB, free: 131.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002125/1.921, allocations: 145.7 kB / 0.7258 GB, free: 131.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002162/1.923, allocations: 2.976 MB / 0.7287 GB, free: 128.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002754/1.926, allocations: 2.166 MB / 0.7308 GB, free: 126.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004397/1.926, allocations: 144 kB / 0.731 GB, free: 126.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002804/1.927, allocations: 0.5919 MB / 0.7316 GB, free: 125.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005299/1.932, allocations: 3.953 MB / 0.7354 GB, free: 121.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006003/1.938, allocations: 5.645 MB / 0.7409 GB, free: 115.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005887/1.944, allocations: 4.906 MB / 0.7457 GB, free: 110.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/1.944, allocations: 20 kB / 0.7457 GB, free: 110.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.01806/1.962, allocations: 12.59 MB / 0.758 GB, free: 97.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.005333/1.967, allocations: 21.47 MB / 0.779 GB, free: 74.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/1.967, allocations: 47.94 kB / 0.779 GB, free: 74.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02468/1.992, allocations: 5.161 MB / 0.7841 GB, free: 69.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006566/1.999, allocations: 1.396 MB / 0.7854 GB, free: 68.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/2.011, allocations: 17.41 MB / 0.8024 GB, free: 50.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009799/2.021, allocations: 495.3 kB / 0.8029 GB, free: 49.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002526/2.023, allocations: 451.8 kB / 0.8034 GB, free: 49.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/2.023, allocations: 4 kB / 0.8034 GB, free: 49.11 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02016/2.043, allocations: 12.11 MB / 0.8152 GB, free: 36.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/2.044, allocations: 44.19 kB / 0.8152 GB, free: 36.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009722/2.053, allocations: 3.395 MB / 0.8185 GB, free: 33.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006589/2.06, allocations: 1.416 MB / 0.8199 GB, free: 31.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/2.078, allocations: 22.25 MB / 0.8416 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008784/2.087, allocations: 483.4 kB / 0.8421 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002254/2.089, allocations: 443.8 kB / 0.8425 GB, free: 8.094 MB / 494.1 MB 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 (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.00587/2.095, allocations: 1.928 MB / 0.8444 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/2.097, allocations: 0.6522 MB / 0.8451 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2924/2.389, allocations: 12.67 MB / 0.8574 GB, free: 189.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.576e-05/2.39, allocations: 64.16 kB / 0.8575 GB, free: 189.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/2.39, allocations: 5.922 kB / 0.8575 GB, free: 189.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01744/2.407, allocations: 9.7 MB / 0.867 GB, free: 185.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05061/2.458, allocations: 24.82 MB / 0.8912 GB, free: 173.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-05/2.458, allocations: 18.03 kB / 0.8912 GB, free: 173.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004386/2.462, allocations: 0.8861 MB / 0.8921 GB, free: 173.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02553/2.488, allocations: 5.547 MB / 0.8975 GB, free: 169.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001661/2.489, allocations: 235.9 kB / 0.8977 GB, free: 169 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/2.5, allocations: 17.38 MB / 0.9147 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/2.5, allocations: 25.41 kB / 0.9147 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02615/2.527, allocations: 19.26 MB / 0.9335 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005583/2.532, allocations: 1.697 MB / 0.9352 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002075/2.534, allocations: 164 kB / 0.9354 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005824/2.54, allocations: 322 kB / 0.9357 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/2.541, allocations: 469.9 kB / 0.9361 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007585/2.542, allocations: 351.8 kB / 0.9364 GB, free: 128.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004561/2.547, allocations: 3.207 MB / 0.9396 GB, free: 125.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/2.547, allocations: 4 kB / 0.9396 GB, free: 125.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01874/2.565, allocations: 5.317 MB / 0.9448 GB, free: 120.6 MB / 494.1 MB 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.008359/2.574, allocations: 3.131 MB / 0.9478 GB, free: 118.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02802/2.602, allocations: 15.69 MB / 0.9631 GB, free: 102.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.199e-05/2.602, allocations: 8.812 kB / 0.9632 GB, free: 102.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007924/2.61, allocations: 4.885 MB / 0.9679 GB, free: 97.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01285/2.623, allocations: 2.629 MB / 0.9705 GB, free: 95.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02537/2.648, allocations: 19.12 MB / 0.9892 GB, free: 76.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003326/2.651, allocations: 4.514 MB / 0.9936 GB, free: 71.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01358/2.665, allocations: 4.205 MB / 0.9977 GB, free: 67.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002837/2.668, allocations: 0.6398 MB / 0.9983 GB, free: 66.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.264e-06/2.668, allocations: 0 / 0.9983 GB, free: 66.82 MB / 494.1 MB Notification: Performance of Templates: time 0.4433/3.111, allocations: 183.4 MB / 1.177 GB, free: 49.14 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: