Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.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|pipe5.mediums.1..T|pipe5.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",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork") translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.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|pipe5.mediums.1..T|pipe5.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",fileNamePrefix="Modelica_4.0.0_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.001244/0.001244, allocations: 107.9 kB / 17.74 MB, free: 5.336 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.001263/0.001263, allocations: 198.5 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 51.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2159, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.3742/0.5901, allocations: 181.6 MB / 0.5693 GB, free: 276 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04806/0.6382, allocations: 43.96 MB / 0.6123 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005503/0.6438, allocations: 252.7 kB / 0.6125 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004553/0.6484, allocations: 2.27 MB / 0.6147 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02507/0.6734, allocations: 13.38 MB / 0.6278 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03511/0.7086, allocations: 16.1 MB / 0.6435 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02359/0.7322, allocations: 21.09 MB / 0.6641 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008115/0.7403, allocations: 5.772 MB / 0.6697 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02199/0.7623, allocations: 15.17 MB / 0.6846 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02124/0.7836, allocations: 14.66 MB / 0.6989 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002907/0.7865, allocations: 0.7188 MB / 0.6996 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02052/0.807, allocations: 10.19 MB / 0.7095 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004774/0.8118, allocations: 3.416 MB / 0.7129 GB, free: 3.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007594/0.8195, allocations: 4.335 MB / 0.7171 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02409/0.8436, allocations: 15.8 MB / 0.7325 GB, free: 188 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.8436, allocations: 4 kB / 0.7325 GB, free: 184 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8436, allocations: 0 / 0.7325 GB, free: 184 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002988/0.8439, allocations: 0 / 0.7325 GB, free: 184 kB / 0.5606 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.02249/0.8664, allocations: 9.341 MB / 0.7416 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.8665, allocations: 16.02 kB / 0.7417 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008319/0.8748, allocations: 1.275 MB / 0.7429 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.8861, allocations: 6.186 MB / 0.7489 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.8864, allocations: 431.6 kB / 0.7494 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00086/0.8873, allocations: 0.5371 MB / 0.7499 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.9036, allocations: 9.458 MB / 0.7591 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.9037, allocations: 19.81 kB / 0.7591 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006748/0.9044, allocations: 238.7 kB / 0.7594 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008389/0.9053, allocations: 0.7049 MB / 0.7601 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2664/1.172, allocations: 8.255 MB / 0.7681 GB, free: 88.92 MB / 0.5919 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.04378/1.215, allocations: 39.16 MB / 0.8064 GB, free: 69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/1.226, allocations: 6.241 MB / 0.8124 GB, free: 68.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004565/1.23, allocations: 3.674 MB / 0.816 GB, free: 68.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004657/1.235, allocations: 6.59 MB / 0.8225 GB, free: 61.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.387e-05/1.235, allocations: 97.72 kB / 0.8226 GB, free: 61.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002956/1.238, allocations: 0.7467 MB / 0.8233 GB, free: 61.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=500): time 1.9e-05/1.238, allocations: 7.141 kB / 0.8233 GB, free: 61.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=632): time 0.167/1.405, allocations: 51.6 MB / 0.8737 GB, free: 32.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/1.405, allocations: 167.8 kB / 0.8738 GB, free: 32.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005576/1.411, allocations: 4.861 MB / 0.8786 GB, free: 27.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006127/1.411, allocations: 149.7 kB / 0.8787 GB, free: 27.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001457/1.413, allocations: 2.972 MB / 0.8816 GB, free: 24.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.414, allocations: 2.162 MB / 0.8837 GB, free: 22.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001863/1.416, allocations: 1.449 MB / 0.8852 GB, free: 21.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.19e-05/1.416, allocations: 309.1 kB / 0.8855 GB, free: 20.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004943/1.421, allocations: 4.039 MB / 0.8894 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00575/1.426, allocations: 5.743 MB / 0.895 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/1.438, allocations: 10.31 MB / 0.9051 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/1.438, allocations: 12.55 kB / 0.9051 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02191/1.46, allocations: 12.75 MB / 0.9175 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/1.46, allocations: 25 kB / 0.9176 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-05/1.46, allocations: 48 kB / 0.9176 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0281/1.489, allocations: 5.073 MB / 0.9226 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005295/1.494, allocations: 1.369 MB / 0.9239 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/1.508, allocations: 17.4 MB / 0.9409 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005703/1.514, allocations: 327.8 kB / 0.9412 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009154/1.515, allocations: 419.8 kB / 0.9416 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008896/1.524, allocations: 5.378 MB / 0.9469 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00751/1.531, allocations: 5.557 MB / 0.9523 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01423/1.546, allocations: 9.949 MB / 0.962 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.258e-05/1.546, allocations: 12 kB / 0.962 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of matching and sorting (n=922) (initialization_lambda0): time 0.0235/1.569, allocations: 12.67 MB / 0.9744 GB, free: 7.301 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/1.569, allocations: 32.03 kB / 0.9744 GB, free: 7.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.726e-05/1.569, allocations: 45.09 kB / 0.9745 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01144/1.581, allocations: 3.37 MB / 0.9778 GB, free: 3.789 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005282/1.586, allocations: 1.386 MB / 0.9791 GB, free: 2.488 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/1.608, allocations: 22.64 MB / 1.001 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005319/1.613, allocations: 323.7 kB / 1.002 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007738/1.614, allocations: 411.8 kB / 1.002 GB, free: 10.5 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 23 systems {(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.001692/1.616, allocations: 0.601 MB / 1.003 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.617, allocations: 0.6484 MB / 1.003 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2046/1.822, allocations: 18.46 MB / 1.021 GB, free: 351.5 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01424/1.836, allocations: 9.693 MB / 1.031 GB, free: 347.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.836, allocations: 0 / 1.031 GB, free: 347.7 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004256/1.841, allocations: 1.601 MB / 1.032 GB, free: 347.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/1.842, allocations: 146.9 kB / 1.032 GB, free: 347.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003671/1.846, allocations: 203.4 kB / 1.033 GB, free: 347.1 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007422/1.847, allocations: 402 kB / 1.033 GB, free: 347 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02057/1.867, allocations: 11.64 MB / 1.044 GB, free: 343.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01717/1.884, allocations: 14.33 MB / 1.058 GB, free: 337.1 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004673/1.889, allocations: 4.34 MB / 1.063 GB, free: 332.8 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003684/1.893, allocations: 3.207 MB / 1.066 GB, free: 329.6 MB / 0.7012 GB Notification: Performance of Backend: time 5.21e-07/1.893, allocations: 0 / 1.066 GB, free: 329.6 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02597/1.919, allocations: 15.24 MB / 1.081 GB, free: 315.3 MB / 0.7012 GB Notification: Performance of SimCode: time 0.02012/1.939, allocations: 16.72 MB / 1.097 GB, free: 299.4 MB / 0.7012 GB Notification: Performance of Templates: time 0.2348/2.174, allocations: 208.5 MB / 1.3 GB, free: 91.89 MB / 0.7012 GB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1)