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.001762/0.001762, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.71/1.71, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001778/0.001778, allocations: 112.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.885e-05, allocations: 4 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.08998, allocations: 44.5 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.855/0.945, allocations: 277.2 MB / 0.612 GB, free: 110.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.9454, allocations: 71.97 kB / 0.612 GB, free: 110.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.029/8.974, allocations: 1.657 GB / 2.269 GB, free: 7.461 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.076e-06/8.974, allocations: 0 / 2.269 GB, free: 7.461 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009564/8.975, allocations: 195.8 kB / 2.269 GB, free: 7.27 MB / 490.7 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.04446/9.02, allocations: 10.09 MB / 2.279 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/9.02, allocations: 8.031 kB / 2.279 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/9.033, allocations: 1.236 MB / 2.28 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02556/9.059, allocations: 6.336 MB / 2.286 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000894/9.06, allocations: 430.3 kB / 2.287 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003829/9.064, allocations: 0.5383 MB / 2.287 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.534/9.598, allocations: 9.301 MB / 2.296 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/9.598, allocations: 20 kB / 2.296 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001295/9.599, allocations: 245.2 kB / 2.297 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009208/9.6, allocations: 0.5929 MB / 2.297 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01987/9.62, allocations: 7.907 MB / 2.305 GB, free: 15.48 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.07253/9.693, allocations: 34.91 MB / 2.339 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/9.707, allocations: 6.017 MB / 2.345 GB, free: 16.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007018/9.714, allocations: 3.616 MB / 2.348 GB, free: 16.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007053/9.721, allocations: 4.756 MB / 2.353 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/9.721, allocations: 96.42 kB / 2.353 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00892/9.73, allocations: 1.678 MB / 2.355 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=500): time 3.885e-05/9.73, allocations: 0 / 2.355 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=632): time 0.1414/9.871, allocations: 43.12 MB / 2.397 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/9.872, allocations: 171.5 kB / 2.397 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008641/9.88, allocations: 4.129 MB / 2.401 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003127/9.883, allocations: 146.1 kB / 2.401 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003288/9.887, allocations: 2.974 MB / 2.404 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004161/9.891, allocations: 2.167 MB / 2.406 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008551/9.892, allocations: 143.6 kB / 2.406 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006632/9.892, allocations: 0.5949 MB / 2.407 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007222/9.9, allocations: 3.809 MB / 2.411 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009274/9.909, allocations: 5.485 MB / 2.416 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009895/9.919, allocations: 4.774 MB / 2.421 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.958e-05/9.919, allocations: 12.62 kB / 2.421 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03256/9.952, allocations: 12.42 MB / 2.433 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.01024/9.962, allocations: 21.31 MB / 2.454 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003119/9.962, allocations: 45.97 kB / 2.454 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0309/9.993, allocations: 5.102 MB / 2.459 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00702/10, allocations: 1.366 MB / 2.46 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/10.02, allocations: 17.38 MB / 2.477 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/10.03, allocations: 0.5047 MB / 2.478 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003278/10.03, allocations: 423.4 kB / 2.478 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/10.03, allocations: 9.656 kB / 2.478 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02908/10.06, allocations: 11.76 MB / 2.489 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/10.06, allocations: 46.25 kB / 2.489 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/10.07, allocations: 3.257 MB / 2.493 GB, free: 332 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01257/10.09, allocations: 1.784 MB / 2.494 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6032/10.69, allocations: 21.8 MB / 2.516 GB, free: 64.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/10.7, allocations: 0.4927 MB / 2.516 GB, free: 64.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00311/10.7, allocations: 407.7 kB / 2.517 GB, free: 64.4 MB / 0.5573 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 () * 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.00392/10.71, allocations: 0.51 MB / 2.517 GB, free: 64.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002705/10.71, allocations: 0.6376 MB / 2.518 GB, free: 64.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03106/10.74, allocations: 13.28 MB / 2.531 GB, free: 63.76 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001026/10.74, allocations: 64.81 kB / 2.531 GB, free: 63.76 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.454e-05/10.74, allocations: 0 / 2.531 GB, free: 63.76 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01811/10.76, allocations: 9.454 MB / 2.54 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04869/10.81, allocations: 24.56 MB / 2.564 GB, free: 60.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.722e-05/10.81, allocations: 15.41 kB / 2.564 GB, free: 60.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004377/10.81, allocations: 0.8685 MB / 2.565 GB, free: 60.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02647/10.84, allocations: 5.387 MB / 2.57 GB, free: 60.51 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002509/10.84, allocations: 227.2 kB / 2.57 GB, free: 60.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/10.85, allocations: 17.38 MB / 2.587 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.855e-05/10.85, allocations: 25.88 kB / 2.587 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03357/10.89, allocations: 18.89 MB / 2.606 GB, free: 43.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006778/10.89, allocations: 1.723 MB / 2.607 GB, free: 42.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002594/10.9, allocations: 167.1 kB / 2.608 GB, free: 42.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006804/10.9, allocations: 330.5 kB / 2.608 GB, free: 42.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/10.91, allocations: 460.9 kB / 2.608 GB, free: 42.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009571/10.91, allocations: 320.1 kB / 2.609 GB, free: 42.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00606/10.91, allocations: 3.083 MB / 2.612 GB, free: 41.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.32e-07/10.91, allocations: 0 / 2.612 GB, free: 41.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.03661/10.95, allocations: 5.867 MB / 2.617 GB, free: 41.02 MB / 0.5573 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 () * 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,12 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.01713/10.97, allocations: 3.735 MB / 2.621 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03389/11, allocations: 15.48 MB / 2.636 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.114e-05/11, allocations: 6.219 kB / 2.636 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/11.01, allocations: 4.799 MB / 2.641 GB, free: 34.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0159/11.03, allocations: 2.57 MB / 2.643 GB, free: 33.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03051/11.06, allocations: 14.35 MB / 2.657 GB, free: 28.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005696/11.06, allocations: 4.522 MB / 2.662 GB, free: 26.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01997/11.08, allocations: 5.501 MB / 2.667 GB, free: 22.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003223/11.09, allocations: 0.5248 MB / 2.668 GB, free: 22.05 MB / 0.5573 GB Notification: Performance of SimCode: time 3.056e-06/11.09, allocations: 0 / 2.668 GB, free: 22.05 MB / 0.5573 GB Notification: Performance of Templates: time 0.8659/11.95, allocations: 192.5 MB / 2.856 GB, free: 27.88 MB / 0.5573 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)