Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2079, allocations: 50.53 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.3716/0.5795, allocations: 181.8 MB / 0.5778 GB, free: 192 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04923/0.6288, allocations: 44.07 MB / 0.6209 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005247/0.6341, allocations: 253.1 kB / 0.6211 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005247/0.6393, allocations: 2.272 MB / 0.6233 GB, free: 9.871 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02626/0.6656, allocations: 13.18 MB / 0.6362 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03451/0.7002, allocations: 16.2 MB / 0.652 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02448/0.7247, allocations: 21.23 MB / 0.6728 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007895/0.7326, allocations: 5.857 MB / 0.6785 GB, free: 8.102 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02283/0.7554, allocations: 15.39 MB / 0.6935 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02097/0.7764, allocations: 14.94 MB / 0.7081 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001721/0.7782, allocations: 0.7148 MB / 0.7088 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01856/0.7967, allocations: 10.18 MB / 0.7187 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003623/0.8004, allocations: 3.423 MB / 0.7221 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006107/0.8065, allocations: 4.337 MB / 0.7263 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02283/0.8293, allocations: 15.82 MB / 0.7418 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8294, allocations: 0 / 0.7418 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8294, allocations: 0 / 0.7418 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.000112/0.8295, allocations: 4 kB / 0.7418 GB, free: 10.14 MB / 0.5763 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.01916/0.8487, allocations: 9.35 MB / 0.7509 GB, free: 0.8594 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.8487, allocations: 12.03 kB / 0.7509 GB, free: 0.8477 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00785/0.8566, allocations: 1.274 MB / 0.7522 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.8678, allocations: 6.19 MB / 0.7582 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.8681, allocations: 426.8 kB / 0.7586 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008387/0.869, allocations: 0.5372 MB / 0.7591 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1926/1.062, allocations: 9.459 MB / 0.7684 GB, free: 249.9 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/1.062, allocations: 19.62 kB / 0.7684 GB, free: 249.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008245/1.063, allocations: 241.7 kB / 0.7686 GB, free: 249.9 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001017/1.064, allocations: 0.7103 MB / 0.7693 GB, free: 249.9 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/1.078, allocations: 8.258 MB / 0.7774 GB, free: 247.2 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.03945/1.117, allocations: 39.16 MB / 0.8156 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009388/1.126, allocations: 6.245 MB / 0.8217 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004238/1.131, allocations: 3.67 MB / 0.8253 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00476/1.135, allocations: 6.591 MB / 0.8317 GB, free: 202.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/1.136, allocations: 98.92 kB / 0.8318 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003048/1.139, allocations: 0.7428 MB / 0.8326 GB, free: 201.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=500): time 8.576e-06/1.139, allocations: 1.688 kB / 0.8326 GB, free: 201.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=632): time 0.1604/1.299, allocations: 51.61 MB / 0.883 GB, free: 150.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/1.299, allocations: 167.8 kB / 0.8831 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/1.304, allocations: 4.861 MB / 0.8879 GB, free: 145.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005428/1.304, allocations: 141.7 kB / 0.888 GB, free: 145.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/1.306, allocations: 2.976 MB / 0.8909 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001176/1.307, allocations: 2.169 MB / 0.893 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00181/1.309, allocations: 1.441 MB / 0.8944 GB, free: 139 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.257e-05/1.309, allocations: 313.1 kB / 0.8947 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004965/1.314, allocations: 4.035 MB / 0.8987 GB, free: 134.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005743/1.32, allocations: 5.742 MB / 0.9043 GB, free: 128.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.331, allocations: 10.3 MB / 0.9143 GB, free: 117.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/1.331, allocations: 19.94 kB / 0.9144 GB, free: 117.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.01789/1.349, allocations: 12.75 MB / 0.9268 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/1.349, allocations: 24 kB / 0.9268 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-05/1.349, allocations: 47.94 kB / 0.9269 GB, free: 104.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02595/1.375, allocations: 5.092 MB / 0.9319 GB, free: 99.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/1.38, allocations: 1.369 MB / 0.9332 GB, free: 97.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/1.391, allocations: 17.41 MB / 0.9502 GB, free: 79.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005586/1.396, allocations: 331.8 kB / 0.9505 GB, free: 79.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009508/1.397, allocations: 419.8 kB / 0.9509 GB, free: 79.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007428/1.405, allocations: 5.378 MB / 0.9562 GB, free: 73.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005925/1.41, allocations: 5.555 MB / 0.9616 GB, free: 67.51 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01161/1.422, allocations: 9.938 MB / 0.9713 GB, free: 56.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.667e-05/1.422, allocations: 19.36 kB / 0.9713 GB, free: 56.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=922) (initialization_lambda0): time 0.02034/1.443, allocations: 12.67 MB / 0.9837 GB, free: 44.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/1.443, allocations: 30.95 kB / 0.9837 GB, free: 44.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-05/1.443, allocations: 47.66 kB / 0.9838 GB, free: 43.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/1.453, allocations: 3.372 MB / 0.9871 GB, free: 40.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005076/1.458, allocations: 1.388 MB / 0.9884 GB, free: 39.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/1.475, allocations: 22.63 MB / 1.011 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005773/1.481, allocations: 319.8 kB / 1.011 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.482, allocations: 407.8 kB / 1.011 GB, free: 15.12 MB / 0.5919 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.001938/1.484, allocations: 0.6121 MB / 1.012 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00168/1.486, allocations: 0.6484 MB / 1.012 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2125/1.698, allocations: 18.47 MB / 1.03 GB, free: 236.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01329/1.711, allocations: 9.69 MB / 1.04 GB, free: 232.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.712, allocations: 0 / 1.04 GB, free: 232.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003466/1.715, allocations: 1.602 MB / 1.042 GB, free: 232.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008855/1.716, allocations: 148.7 kB / 1.042 GB, free: 232.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003365/1.719, allocations: 197.1 kB / 1.042 GB, free: 232 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007647/1.72, allocations: 408.1 kB / 1.042 GB, free: 232 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02007/1.74, allocations: 11.63 MB / 1.054 GB, free: 228.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01764/1.758, allocations: 14.34 MB / 1.068 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004637/1.762, allocations: 4.343 MB / 1.072 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004233/1.767, allocations: 3.203 MB / 1.075 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of Backend: time 1.072e-06/1.767, allocations: 0 / 1.075 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02792/1.795, allocations: 15.24 MB / 1.09 GB, free: 201.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02287/1.818, allocations: 16.74 MB / 1.106 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.417/2.235, allocations: 208.5 MB / 1.31 GB, free: 190.6 MB / 0.5919 GB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1)