Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="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_3.2.3_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_3.2.3_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.00106/0.00106, allocations: 107.2 kB / 18.41 MB, free: 4.672 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.001007/0.001007, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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.001163/0.001163, allocations: 48.36 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0729/0.07407, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.5571/0.6312, allocations: 203.7 MB / 0.566 GB, free: 12 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.05252/0.6837, allocations: 44.19 MB / 0.6091 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005793/0.6896, allocations: 256 kB / 0.6094 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005044/0.6946, allocations: 2.26 MB / 0.6116 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03163/0.7263, allocations: 15.29 MB / 0.6265 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03576/0.7621, allocations: 16.1 MB / 0.6422 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02502/0.7871, allocations: 21.05 MB / 0.6628 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008375/0.7955, allocations: 5.775 MB / 0.6684 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02299/0.8185, allocations: 14.96 MB / 0.683 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02183/0.8404, allocations: 14.67 MB / 0.6974 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.003128/0.8435, allocations: 0.7109 MB / 0.6981 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02594/0.8695, allocations: 12.49 MB / 0.7103 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00553/0.8751, allocations: 3.421 MB / 0.7136 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008689/0.8838, allocations: 4.335 MB / 0.7178 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03042/0.9142, allocations: 17.1 MB / 0.7345 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9142, allocations: 0 / 0.7345 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.717e-06/0.9143, allocations: 0 / 0.7345 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003113/0.9146, allocations: 3.938 kB / 0.7345 GB, free: 11.24 MB / 0.5762 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.02359/0.9382, allocations: 9.606 MB / 0.7439 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9382, allocations: 8.031 kB / 0.7439 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009001/0.9472, allocations: 1.278 MB / 0.7452 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.9588, allocations: 6.216 MB / 0.7512 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.9591, allocations: 423.7 kB / 0.7516 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009776/0.9601, allocations: 0.5393 MB / 0.7522 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01692/0.977, allocations: 9.472 MB / 0.7614 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.682e-05/0.9772, allocations: 19.81 kB / 0.7614 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006647/0.9778, allocations: 242.2 kB / 0.7617 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008026/0.9786, allocations: 0.701 MB / 0.7624 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.9944, allocations: 8.264 MB / 0.7704 GB, free: 6.445 MB / 0.6075 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.2174/1.212, allocations: 39.62 MB / 0.8091 GB, free: 255.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/1.222, allocations: 6.269 MB / 0.8152 GB, free: 253.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004632/1.227, allocations: 3.667 MB / 0.8188 GB, free: 252 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006498/1.233, allocations: 9.586 MB / 0.8282 GB, free: 241.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.421e-05/1.233, allocations: 98.67 kB / 0.8283 GB, free: 241.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003136/1.236, allocations: 0.7401 MB / 0.829 GB, free: 240.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=500): time 8.386e-06/1.237, allocations: 1.25 kB / 0.829 GB, free: 240.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=632): time 0.1636/1.4, allocations: 51.7 MB / 0.8795 GB, free: 203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.4, allocations: 175.8 kB / 0.8797 GB, free: 202.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005137/1.405, allocations: 4.861 MB / 0.8844 GB, free: 198 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006264/1.406, allocations: 145.7 kB / 0.8845 GB, free: 197.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/1.407, allocations: 2.976 MB / 0.8875 GB, free: 194.9 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001231/1.409, allocations: 2.159 MB / 0.8896 GB, free: 192.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001909/1.41, allocations: 1.465 MB / 0.891 GB, free: 191.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.405e-05/1.41, allocations: 309.1 kB / 0.8913 GB, free: 190.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004979/1.415, allocations: 4.058 MB / 0.8953 GB, free: 186.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005839/1.421, allocations: 5.754 MB / 0.9009 GB, free: 180.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/1.433, allocations: 10.34 MB / 0.911 GB, free: 169.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.106e-05/1.433, allocations: 15.94 kB / 0.911 GB, free: 169.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.01823/1.451, allocations: 12.8 MB / 0.9235 GB, free: 156.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/1.451, allocations: 27.94 kB / 0.9235 GB, free: 156.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.47e-05/1.451, allocations: 44 kB / 0.9236 GB, free: 156.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02509/1.477, allocations: 5.118 MB / 0.9286 GB, free: 151.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005246/1.482, allocations: 1.373 MB / 0.9299 GB, free: 149.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/1.492, allocations: 17.41 MB / 0.9469 GB, free: 131.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006279/1.499, allocations: 327.9 kB / 0.9472 GB, free: 131.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008261/1.5, allocations: 451.8 kB / 0.9476 GB, free: 131.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007162/1.507, allocations: 5.397 MB / 0.9529 GB, free: 125.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00569/1.513, allocations: 5.567 MB / 0.9583 GB, free: 119.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01115/1.524, allocations: 9.981 MB / 0.9681 GB, free: 108.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-05/1.524, allocations: 12 kB / 0.9681 GB, free: 108.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=922) (initialization_lambda0): time 0.01961/1.543, allocations: 12.73 MB / 0.9805 GB, free: 95.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/1.543, allocations: 24 kB / 0.9806 GB, free: 95.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.271e-05/1.543, allocations: 44 kB / 0.9806 GB, free: 95.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009932/1.553, allocations: 3.369 MB / 0.9839 GB, free: 92.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0051/1.558, allocations: 1.412 MB / 0.9853 GB, free: 91.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0168/1.575, allocations: 22.63 MB / 1.007 GB, free: 67.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/1.581, allocations: 324 kB / 1.008 GB, free: 67.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007716/1.582, allocations: 443.8 kB / 1.008 GB, free: 66.97 MB / 0.6075 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.001568/1.584, allocations: 0.6004 MB / 1.009 GB, free: 66.36 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/1.585, allocations: 0.6484 MB / 1.009 GB, free: 65.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/1.605, allocations: 12.64 MB / 1.022 GB, free: 52.97 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01289/1.618, allocations: 9.729 MB / 1.031 GB, free: 43.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.618, allocations: 0 / 1.031 GB, free: 43.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00312/1.621, allocations: 1.656 MB / 1.033 GB, free: 41.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009748/1.622, allocations: 144 kB / 1.033 GB, free: 41.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003345/1.625, allocations: 203.7 kB / 1.033 GB, free: 41.04 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006682/1.626, allocations: 412.8 kB / 1.034 GB, free: 40.64 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01988/1.646, allocations: 11.67 MB / 1.045 GB, free: 28.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01712/1.663, allocations: 14.38 MB / 1.059 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004651/1.668, allocations: 4.359 MB / 1.063 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003708/1.671, allocations: 3.211 MB / 1.066 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of Backend: time 2.9e-07/1.671, allocations: 0 / 1.066 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.1904/1.862, allocations: 16.01 MB / 1.082 GB, free: 267.1 MB / 0.6075 GB Notification: Performance of SimCode: time 0.02535/1.887, allocations: 16.76 MB / 1.098 GB, free: 260.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.2418/2.129, allocations: 214.5 MB / 1.308 GB, free: 67.86 MB / 0.6075 GB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1)