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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001988/0.001988, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.514/1.514, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001739/0.001739, allocations: 102.8 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.297e-05, allocations: 4 kB / 268.8 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09409, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7279/0.822, allocations: 272 MB / 0.566 GB, free: 15.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/0.8224, allocations: 76.09 kB / 0.5661 GB, free: 15.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.326/8.149, allocations: 1.632 GB / 2.198 GB, free: 20.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.044e-06/8.149, allocations: 0 / 2.198 GB, free: 20.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009034/8.15, allocations: 195.7 kB / 2.199 GB, free: 20.96 MB / 458.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.04226/8.192, allocations: 10.09 MB / 2.208 GB, free: 15.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/8.192, allocations: 7.781 kB / 2.208 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/8.204, allocations: 1.237 MB / 2.21 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02147/8.226, allocations: 6.345 MB / 2.216 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006495/8.226, allocations: 425.6 kB / 2.216 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003458/8.23, allocations: 0.5301 MB / 2.217 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0306/8.26, allocations: 9.312 MB / 2.226 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004205/8.261, allocations: 19.34 kB / 2.226 GB, free: 12.72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003772/8.265, allocations: 244.8 kB / 2.226 GB, free: 12.72 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008552/8.265, allocations: 0.5941 MB / 2.227 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/8.289, allocations: 7.905 MB / 2.234 GB, free: 12.54 MB / 458.7 MB 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.08475/8.374, allocations: 34.92 MB / 2.269 GB, free: 3.816 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5574/8.931, allocations: 6.019 MB / 2.274 GB, free: 31.78 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008737/8.94, allocations: 3.615 MB / 2.278 GB, free: 31.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007035/8.947, allocations: 4.761 MB / 2.283 GB, free: 26.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/8.947, allocations: 97.23 kB / 2.283 GB, free: 26.73 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01022/8.957, allocations: 1.671 MB / 2.284 GB, free: 26.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 5.698e-05/8.958, allocations: 3.219 kB / 2.284 GB, free: 26.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.1611/9.119, allocations: 43.11 MB / 2.326 GB, free: 25.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/9.119, allocations: 168.3 kB / 2.327 GB, free: 24.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/9.129, allocations: 4.134 MB / 2.331 GB, free: 24.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00309/9.132, allocations: 143.8 kB / 2.331 GB, free: 24.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003408/9.136, allocations: 2.978 MB / 2.334 GB, free: 23.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004382/9.14, allocations: 2.165 MB / 2.336 GB, free: 22.63 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/9.141, allocations: 142.7 kB / 2.336 GB, free: 22.63 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004962/9.141, allocations: 0.5951 MB / 2.337 GB, free: 22.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008315/9.15, allocations: 3.807 MB / 2.34 GB, free: 22.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/9.16, allocations: 5.491 MB / 2.346 GB, free: 20.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009468/9.17, allocations: 4.773 MB / 2.35 GB, free: 20.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.017e-05/9.17, allocations: 12.34 kB / 2.35 GB, free: 20.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03396/9.204, allocations: 12.25 MB / 2.362 GB, free: 19.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.005067/9.209, allocations: 21.31 MB / 2.383 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/9.209, allocations: 44.81 kB / 2.383 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03007/9.239, allocations: 5.101 MB / 2.388 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009042/9.248, allocations: 1.371 MB / 2.389 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/9.269, allocations: 17.37 MB / 2.406 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01249/9.282, allocations: 0.5036 MB / 2.407 GB, free: 12 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002953/9.285, allocations: 433.8 kB / 2.407 GB, free: 0 / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/9.285, allocations: 3.312 kB / 2.407 GB, free: 0 / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03759/9.322, allocations: 11.81 MB / 2.419 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002867/9.323, allocations: 44.73 kB / 2.419 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/9.336, allocations: 3.256 MB / 2.422 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00814/9.344, allocations: 1.398 MB / 2.423 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02557/9.369, allocations: 21.79 MB / 2.445 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/9.38, allocations: 0.4917 MB / 2.445 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003007/9.383, allocations: 412.3 kB / 2.446 GB, free: 9.824 MB / 0.5105 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.004975/9.388, allocations: 0.5112 MB / 2.446 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003459/9.392, allocations: 0.6431 MB / 2.447 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5327/9.925, allocations: 13.42 MB / 2.46 GB, free: 72.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001552/9.925, allocations: 69.84 kB / 2.46 GB, free: 72.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.801e-05/9.925, allocations: 0.9375 kB / 2.46 GB, free: 72.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02249/9.947, allocations: 9.447 MB / 2.469 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05854/10.01, allocations: 24.56 MB / 2.493 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.369e-05/10.01, allocations: 15.47 kB / 2.493 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005035/10.01, allocations: 0.8683 MB / 2.494 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02786/10.04, allocations: 5.402 MB / 2.499 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002362/10.04, allocations: 227.2 kB / 2.499 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/10.06, allocations: 17.37 MB / 2.516 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.981e-05/10.06, allocations: 24.97 kB / 2.516 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03359/10.09, allocations: 18.89 MB / 2.535 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008112/10.1, allocations: 1.722 MB / 2.537 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004725/10.1, allocations: 162.7 kB / 2.537 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008678/10.11, allocations: 329.8 kB / 2.537 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001711/10.11, allocations: 462.5 kB / 2.537 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009534/10.11, allocations: 323.2 kB / 2.538 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005702/10.12, allocations: 3.085 MB / 2.541 GB, free: 52.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/10.12, allocations: 0.7812 kB / 2.541 GB, free: 52.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0273/10.15, allocations: 5.868 MB / 2.547 GB, free: 52.42 MB / 0.5105 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.01499/10.16, allocations: 3.727 MB / 2.55 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03325/10.19, allocations: 15.48 MB / 2.565 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.118e-05/10.19, allocations: 4.938 kB / 2.565 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01069/10.21, allocations: 4.805 MB / 2.57 GB, free: 47.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01811/10.22, allocations: 2.57 MB / 2.572 GB, free: 47.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/10.26, allocations: 14.36 MB / 2.587 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007594/10.27, allocations: 4.523 MB / 2.591 GB, free: 41.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02256/10.29, allocations: 5.497 MB / 2.596 GB, free: 40.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003314/10.29, allocations: 0.5308 MB / 2.597 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.794e-06/10.29, allocations: 0 / 2.597 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.8015/11.1, allocations: 192.5 MB / 2.785 GB, free: 30.59 MB / 0.5105 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)