Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork") translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001101/0.001101, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001214/0.001214, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.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.0004564/0.0004565, allocations: 14.81 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2458, allocations: 47.58 MB / 326.4 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.1352/0.3811, allocations: 126 MB / 452.5 MB, free: 5.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3625/0.7436, allocations: 49.75 MB / 0.4904 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01166/0.7554, allocations: 282 kB / 0.4907 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.766, allocations: 2.293 MB / 0.4929 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04146/0.8075, allocations: 11.8 MB / 0.5045 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05092/0.8585, allocations: 13.91 MB / 0.5181 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02595/0.8844, allocations: 11.05 MB / 0.5288 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.8966, allocations: 4.761 MB / 0.5335 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03447/0.9311, allocations: 13.73 MB / 0.5469 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02633/0.9575, allocations: 12 MB / 0.5586 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004858/0.9625, allocations: 384 kB / 0.559 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03576/0.9983, allocations: 10.32 MB / 0.5691 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008819/1.007, allocations: 2.803 MB / 0.5718 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006689/1.014, allocations: 1.455 MB / 0.5732 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03215/1.046, allocations: 11.95 MB / 0.5849 GB, free: 5.645 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.046, allocations: 0 / 0.5849 GB, free: 5.645 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.386e-06/1.046, allocations: 0 / 0.5849 GB, free: 5.645 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005479/1.047, allocations: 0 / 0.5849 GB, free: 5.645 MB / 446.1 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.0287/1.075, allocations: 8.011 MB / 0.5927 GB, free: 13.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.884e-05/1.075, allocations: 8.031 kB / 0.5927 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/1.087, allocations: 1.286 MB / 0.594 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/1.102, allocations: 4.537 MB / 0.5984 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005912/1.103, allocations: 428.6 kB / 0.5988 GB, free: 7.504 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002667/1.106, allocations: 0.5311 MB / 0.5993 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/1.131, allocations: 9.39 MB / 0.6085 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/1.131, allocations: 19.81 kB / 0.6085 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/1.132, allocations: 238.8 kB / 0.6087 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009997/1.133, allocations: 0.7049 MB / 0.6094 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/1.156, allocations: 8.229 MB / 0.6175 GB, free: 4.16 MB / 478.1 MB 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.3684/1.524, allocations: 39.25 MB / 0.6558 GB, free: 183.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/1.537, allocations: 6.255 MB / 0.6619 GB, free: 181.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005094/1.542, allocations: 5.488 MB / 0.6673 GB, free: 175.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/1.542, allocations: 98.16 kB / 0.6674 GB, free: 175.5 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006334/1.548, allocations: 1.287 MB / 0.6686 GB, free: 175.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=500): time 2.141e-05/1.549, allocations: 1.875 kB / 0.6686 GB, free: 175.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=632): time 0.1693/1.718, allocations: 52.21 MB / 0.7196 GB, free: 136.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/1.718, allocations: 167.8 kB / 0.7198 GB, free: 136.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006645/1.725, allocations: 4.876 MB / 0.7245 GB, free: 131.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002142/1.727, allocations: 145.7 kB / 0.7247 GB, free: 131.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001977/1.729, allocations: 2.968 MB / 0.7276 GB, free: 128.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002699/1.731, allocations: 2.169 MB / 0.7297 GB, free: 126.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000483/1.732, allocations: 144 kB / 0.7298 GB, free: 126.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002893/1.732, allocations: 0.5958 MB / 0.7304 GB, free: 125.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005484/1.738, allocations: 3.953 MB / 0.7343 GB, free: 121.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007694/1.745, allocations: 5.647 MB / 0.7398 GB, free: 115.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006985/1.752, allocations: 4.905 MB / 0.7446 GB, free: 110.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-05/1.753, allocations: 16 kB / 0.7446 GB, free: 110.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02172/1.774, allocations: 12.59 MB / 0.7569 GB, free: 97.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.004661/1.779, allocations: 21.47 MB / 0.7778 GB, free: 74.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/1.779, allocations: 44 kB / 0.7779 GB, free: 74.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02586/1.805, allocations: 5.154 MB / 0.7829 GB, free: 69.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006615/1.812, allocations: 1.392 MB / 0.7843 GB, free: 68.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/1.824, allocations: 17.41 MB / 0.8013 GB, free: 50.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/1.836, allocations: 0.4915 MB / 0.8018 GB, free: 49.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00255/1.838, allocations: 455.8 kB / 0.8022 GB, free: 49.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.838, allocations: 4 kB / 0.8022 GB, free: 49.1 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02083/1.859, allocations: 12.1 MB / 0.814 GB, free: 36.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/1.859, allocations: 48.19 kB / 0.8141 GB, free: 36.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009848/1.869, allocations: 3.395 MB / 0.8174 GB, free: 33.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006489/1.876, allocations: 1.416 MB / 0.8188 GB, free: 31.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/1.894, allocations: 22.25 MB / 0.8405 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009851/1.904, allocations: 479.4 kB / 0.8409 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002614/1.906, allocations: 443.8 kB / 0.8414 GB, free: 8.094 MB / 494.1 MB 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 (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.005945/1.912, allocations: 1.929 MB / 0.8433 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002397/1.915, allocations: 0.6561 MB / 0.8439 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2853/2.2, allocations: 12.67 MB / 0.8563 GB, free: 189.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.315e-05/2.2, allocations: 65.28 kB / 0.8563 GB, free: 189.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/2.2, allocations: 2.219 kB / 0.8563 GB, free: 189.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01386/2.214, allocations: 9.71 MB / 0.8658 GB, free: 185.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04757/2.262, allocations: 24.81 MB / 0.89 GB, free: 173.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.933e-05/2.262, allocations: 15.38 kB / 0.8901 GB, free: 173.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004004/2.266, allocations: 0.8799 MB / 0.8909 GB, free: 173.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02559/2.291, allocations: 5.555 MB / 0.8963 GB, free: 169.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00186/2.293, allocations: 231.9 kB / 0.8966 GB, free: 169 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/2.305, allocations: 17.38 MB / 0.9135 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/2.305, allocations: 27.88 kB / 0.9136 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02714/2.332, allocations: 19.26 MB / 0.9324 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005822/2.338, allocations: 1.692 MB / 0.934 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002197/2.34, allocations: 167.9 kB / 0.9342 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005437/2.346, allocations: 324.9 kB / 0.9345 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00073/2.346, allocations: 472.2 kB / 0.9349 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006527/2.347, allocations: 347.8 kB / 0.9353 GB, free: 128.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004646/2.352, allocations: 3.211 MB / 0.9384 GB, free: 125.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/2.352, allocations: 0 / 0.9384 GB, free: 125.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.02035/2.372, allocations: 5.322 MB / 0.9436 GB, free: 120.5 MB / 494.1 MB 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.008663/2.381, allocations: 3.13 MB / 0.9467 GB, free: 118.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.03055/2.411, allocations: 15.68 MB / 0.962 GB, free: 102.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.009e-05/2.411, allocations: 13.66 kB / 0.962 GB, free: 102.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009772/2.421, allocations: 4.892 MB / 0.9668 GB, free: 97.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01581/2.437, allocations: 2.619 MB / 0.9693 GB, free: 95.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.034/2.471, allocations: 19.13 MB / 0.988 GB, free: 76.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003904/2.475, allocations: 4.511 MB / 0.9924 GB, free: 71.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01339/2.488, allocations: 4.201 MB / 0.9965 GB, free: 67.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/2.491, allocations: 0.632 MB / 0.9971 GB, free: 66.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.373e-06/2.491, allocations: 0 / 0.9971 GB, free: 66.79 MB / 494.1 MB Notification: Performance of Templates: time 0.488/2.979, allocations: 183.4 MB / 1.176 GB, free: 50.05 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) Environment - environmentSimulation: