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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001015/0.001015, allocations: 179.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.17/1.17, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001552/0.001552, allocations: 117.4 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003016, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/0.09077, allocations: 44.49 MB / 355 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5835/0.6743, allocations: 277.3 MB / 0.6175 GB, free: 40.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.6745, allocations: 79.25 kB / 0.6176 GB, free: 40.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.296/6.97, allocations: 1.66 GB / 2.277 GB, free: 25.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.815e-06/6.97, allocations: 0 / 2.277 GB, free: 25.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001081/6.971, allocations: 193.4 kB / 2.278 GB, free: 25.91 MB / 0.4948 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.04595/7.017, allocations: 11.09 MB / 2.289 GB, free: 20.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/7.017, allocations: 11.34 kB / 2.289 GB, free: 20.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/7.029, allocations: 1.243 MB / 2.29 GB, free: 20.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02089/7.05, allocations: 6.347 MB / 2.296 GB, free: 19.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000685/7.051, allocations: 428.7 kB / 2.296 GB, free: 19.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/7.054, allocations: 0.5342 MB / 2.297 GB, free: 19.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02617/7.08, allocations: 9.448 MB / 2.306 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/7.081, allocations: 21.39 kB / 2.306 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/7.082, allocations: 250.6 kB / 2.306 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007614/7.083, allocations: 0.593 MB / 2.307 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/7.101, allocations: 8.127 MB / 2.315 GB, free: 17.91 MB / 0.4948 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.06675/7.167, allocations: 34.92 MB / 2.349 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/7.18, allocations: 6.153 MB / 2.355 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005871/7.186, allocations: 4.759 MB / 2.36 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/7.187, allocations: 96.73 kB / 2.36 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008571/7.195, allocations: 1.675 MB / 2.361 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=500): time 2.478e-05/7.195, allocations: 3.062 kB / 2.361 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=632): time 0.1708/7.366, allocations: 50.92 MB / 2.411 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/7.366, allocations: 171.7 kB / 2.411 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0078/7.374, allocations: 4.175 MB / 2.415 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00242/7.376, allocations: 141.7 kB / 2.415 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.4523/7.829, allocations: 2.973 MB / 2.418 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004167/7.833, allocations: 2.167 MB / 2.42 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007854/7.834, allocations: 142.8 kB / 2.421 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00048/7.834, allocations: 0.5938 MB / 2.421 GB, free: 50.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006082/7.84, allocations: 3.921 MB / 2.425 GB, free: 50.24 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007392/7.848, allocations: 5.602 MB / 2.43 GB, free: 48.56 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008607/7.856, allocations: 4.863 MB / 2.435 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.396e-05/7.857, allocations: 12.81 kB / 2.435 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02863/7.885, allocations: 12.5 MB / 2.447 GB, free: 47.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.004594/7.89, allocations: 21.31 MB / 2.468 GB, free: 25.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/7.89, allocations: 49.8 kB / 2.468 GB, free: 25.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03091/7.921, allocations: 5.177 MB / 2.473 GB, free: 25.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007697/7.929, allocations: 1.369 MB / 2.475 GB, free: 25.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/7.943, allocations: 17.42 MB / 2.492 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/7.953, allocations: 0.505 MB / 2.492 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002843/7.956, allocations: 420.9 kB / 2.493 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/7.956, allocations: 3.625 kB / 2.493 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02547/7.982, allocations: 12.01 MB / 2.504 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002728/7.982, allocations: 46.75 kB / 2.504 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/7.993, allocations: 3.282 MB / 2.508 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006829/8, allocations: 1.39 MB / 2.509 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02027/8.02, allocations: 22.16 MB / 2.531 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/8.03, allocations: 0.4923 MB / 2.531 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003072/8.033, allocations: 419.8 kB / 2.531 GB, free: 15.62 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * 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 (757): * Single equations (assignments): 734 * 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.007612/8.041, allocations: 1.924 MB / 2.533 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002179/8.043, allocations: 0.6466 MB / 2.534 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02676/8.07, allocations: 13.48 MB / 2.547 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.256e-05/8.07, allocations: 62.38 kB / 2.547 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/8.07, allocations: 0 / 2.547 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01676/8.087, allocations: 9.665 MB / 2.557 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05448/8.141, allocations: 24.81 MB / 2.581 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.013e-05/8.142, allocations: 16.44 kB / 2.581 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003653/8.145, allocations: 0.8643 MB / 2.582 GB, free: 0.6914 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02533/8.171, allocations: 5.465 MB / 2.587 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001825/8.172, allocations: 225.9 kB / 2.587 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/8.186, allocations: 17.39 MB / 2.604 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.722e-05/8.186, allocations: 24.56 kB / 2.604 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02789/8.214, allocations: 19.17 MB / 2.623 GB, free: 6.301 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006391/8.22, allocations: 1.727 MB / 2.625 GB, free: 4.836 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002273/8.223, allocations: 167 kB / 2.625 GB, free: 4.684 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006132/8.229, allocations: 334.9 kB / 2.625 GB, free: 4.441 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009261/8.23, allocations: 455.4 kB / 2.626 GB, free: 4.148 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008146/8.231, allocations: 320 kB / 2.626 GB, free: 3.879 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005355/8.236, allocations: 3.137 MB / 2.629 GB, free: 1.336 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/8.236, allocations: 6.078 kB / 2.629 GB, free: 1.332 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.05035/8.286, allocations: 7.64 MB / 2.636 GB, free: 0 / 0.573 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.4623/8.749, allocations: 3.729 MB / 2.64 GB, free: 93.86 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03013/8.779, allocations: 15.65 MB / 2.655 GB, free: 93.47 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.843e-05/8.779, allocations: 7.906 kB / 2.655 GB, free: 93.47 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01022/8.789, allocations: 4.876 MB / 2.66 GB, free: 93.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01379/8.803, allocations: 2.574 MB / 2.663 GB, free: 93.35 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03547/8.839, allocations: 19.17 MB / 2.681 GB, free: 86.74 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004544/8.843, allocations: 4.503 MB / 2.686 GB, free: 85.86 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01656/8.86, allocations: 4.836 MB / 2.69 GB, free: 85.57 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003237/8.863, allocations: 0.5998 MB / 2.691 GB, free: 85.57 MB / 0.573 GB Notification: Performance of SimCode: time 1.563e-06/8.863, allocations: 0 / 2.691 GB, free: 85.57 MB / 0.573 GB Notification: Performance of Templates: time 0.6917/9.555, allocations: 183.1 MB / 2.87 GB, free: 92.41 MB / 0.573 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)