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.001189/0.001189, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001412/0.001412, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004738/0.000474, allocations: 14.81 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2904, allocations: 47.58 MB / 326.4 MB, free: 1.535 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.1372/0.4276, allocations: 126 MB / 452.4 MB, free: 5.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4023/0.83, allocations: 49.76 MB / 0.4904 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01417/0.8442, allocations: 282.6 kB / 0.4907 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009961/0.8542, allocations: 2.295 MB / 0.4929 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04013/0.8944, allocations: 11.8 MB / 0.5045 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04311/0.9375, allocations: 13.89 MB / 0.518 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02409/0.9616, allocations: 11.06 MB / 0.5288 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0108/0.9724, allocations: 4.756 MB / 0.5335 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02989/1.002, allocations: 13.69 MB / 0.5469 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0255/1.028, allocations: 11.99 MB / 0.5586 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003918/1.032, allocations: 380 kB / 0.5589 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03395/1.066, allocations: 10.31 MB / 0.569 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008292/1.074, allocations: 2.804 MB / 0.5717 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006435/1.081, allocations: 1.458 MB / 0.5732 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02875/1.109, allocations: 11.95 MB / 0.5848 GB, free: 5.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.11, allocations: 0 / 0.5848 GB, free: 5.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.246e-06/1.11, allocations: 0 / 0.5848 GB, free: 5.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005394/1.11, allocations: 4 kB / 0.5848 GB, free: 5.734 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.02694/1.137, allocations: 8.005 MB / 0.5926 GB, free: 13.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.137, allocations: 8.031 kB / 0.5927 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/1.148, allocations: 1.294 MB / 0.5939 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/1.164, allocations: 4.539 MB / 0.5984 GB, free: 7.984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000732/1.165, allocations: 427.3 kB / 0.5988 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002991/1.168, allocations: 0.5316 MB / 0.5993 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02925/1.197, allocations: 9.381 MB / 0.6084 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003074/1.197, allocations: 23.81 kB / 0.6085 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00247/1.2, allocations: 241.5 kB / 0.6087 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001295/1.201, allocations: 0.701 MB / 0.6094 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/1.224, allocations: 8.221 MB / 0.6174 GB, free: 4.266 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.4313/1.655, allocations: 39.25 MB / 0.6557 GB, free: 57.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/1.669, allocations: 6.254 MB / 0.6618 GB, free: 57.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005567/1.675, allocations: 5.486 MB / 0.6672 GB, free: 51.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/1.675, allocations: 101.8 kB / 0.6673 GB, free: 51.4 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008272/1.683, allocations: 1.283 MB / 0.6686 GB, free: 51.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=500): time 5.355e-05/1.683, allocations: 2.906 kB / 0.6686 GB, free: 51.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=632): time 0.1877/1.871, allocations: 52.21 MB / 0.7195 GB, free: 36.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.871, allocations: 171.8 kB / 0.7197 GB, free: 36.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009312/1.881, allocations: 4.882 MB / 0.7245 GB, free: 32.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002123/1.883, allocations: 146.5 kB / 0.7246 GB, free: 32.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002475/1.885, allocations: 2.973 MB / 0.7275 GB, free: 31.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003371/1.889, allocations: 2.164 MB / 0.7296 GB, free: 29.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001846/1.89, allocations: 142.8 kB / 0.7298 GB, free: 29.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005308/1.891, allocations: 0.5937 MB / 0.7303 GB, free: 28.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007654/1.899, allocations: 3.955 MB / 0.7342 GB, free: 26.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009375/1.908, allocations: 5.646 MB / 0.7397 GB, free: 21.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009325/1.917, allocations: 4.909 MB / 0.7445 GB, free: 18.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-05/1.918, allocations: 12 kB / 0.7445 GB, free: 18.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.0308/1.948, allocations: 12.59 MB / 0.7568 GB, free: 9.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.007027/1.955, allocations: 21.47 MB / 0.7778 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/1.956, allocations: 48 kB / 0.7778 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0275/1.983, allocations: 5.15 MB / 0.7829 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007036/1.99, allocations: 1.388 MB / 0.7842 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/2.007, allocations: 17.41 MB / 0.8012 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009036/2.016, allocations: 492.7 kB / 0.8017 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002539/2.018, allocations: 460 kB / 0.8021 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/2.018, allocations: 4 kB / 0.8021 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03007/2.049, allocations: 12.11 MB / 0.814 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002052/2.049, allocations: 44.66 kB / 0.814 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/2.06, allocations: 3.389 MB / 0.8173 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006926/2.067, allocations: 1.418 MB / 0.8187 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02394/2.091, allocations: 22.24 MB / 0.8404 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00882/2.1, allocations: 495.4 kB / 0.8409 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002538/2.102, allocations: 443.8 kB / 0.8413 GB, free: 5.453 MB / 0.5606 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 (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.007438/2.11, allocations: 1.927 MB / 0.8432 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003182/2.113, allocations: 0.6523 MB / 0.8438 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2745/2.387, allocations: 12.67 MB / 0.8562 GB, free: 265.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.773e-05/2.387, allocations: 67.12 kB / 0.8563 GB, free: 265.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/2.388, allocations: 1.312 kB / 0.8563 GB, free: 265.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01587/2.403, allocations: 9.709 MB / 0.8657 GB, free: 262.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04421/2.448, allocations: 24.8 MB / 0.89 GB, free: 251.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/2.448, allocations: 19.95 kB / 0.89 GB, free: 251.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00375/2.451, allocations: 0.8775 MB / 0.8908 GB, free: 251.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02492/2.476, allocations: 5.558 MB / 0.8963 GB, free: 246.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001692/2.478, allocations: 239.9 kB / 0.8965 GB, free: 246.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/2.49, allocations: 17.38 MB / 0.9135 GB, free: 228.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-05/2.49, allocations: 23.88 kB / 0.9135 GB, free: 228.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02963/2.52, allocations: 19.26 MB / 0.9323 GB, free: 208.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00616/2.526, allocations: 1.701 MB / 0.934 GB, free: 207.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002838/2.529, allocations: 164 kB / 0.9341 GB, free: 207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006652/2.535, allocations: 317.7 kB / 0.9344 GB, free: 206.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001939/2.537, allocations: 471.6 kB / 0.9349 GB, free: 206.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001916/2.539, allocations: 355.8 kB / 0.9352 GB, free: 205.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005712/2.545, allocations: 3.207 MB / 0.9383 GB, free: 202.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/2.545, allocations: 1.641 kB / 0.9383 GB, free: 202.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.02043/2.565, allocations: 5.319 MB / 0.9435 GB, free: 197.8 MB / 0.5606 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.008931/2.574, allocations: 3.135 MB / 0.9466 GB, free: 195.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03075/2.605, allocations: 15.68 MB / 0.9619 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.879e-05/2.605, allocations: 5.75 kB / 0.9619 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009311/2.615, allocations: 4.886 MB / 0.9667 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01329/2.628, allocations: 2.629 MB / 0.9693 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/2.659, allocations: 19.12 MB / 0.9879 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005702/2.665, allocations: 4.507 MB / 0.9923 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.015/2.68, allocations: 4.204 MB / 0.9964 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002801/2.683, allocations: 0.6476 MB / 0.9971 GB, free: 144 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/2.683, allocations: 0 / 0.9971 GB, free: 144 MB / 0.5606 GB Notification: Performance of Templates: time 0.4134/3.096, allocations: 183.4 MB / 1.176 GB, free: 203.9 MB / 0.5606 GB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: