Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.PumpingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|PT1.y|pumps.medium.T|pumps.medium.p|reservoir.level|reservoir.medium.T|PumpRPMGenerator.y|controller.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Fluid.Examples.PumpingSystem") translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|PT1.y|pumps.medium.T|pumps.medium.p|reservoir.level|reservoir.medium.T|PumpRPMGenerator.y|controller.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 178 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000768/0.0007678, allocations: 96.98 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.181, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.03954/0.2206, allocations: 61.01 MB / 435.6 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02752/0.2482, allocations: 26.08 MB / 461.6 MB, free: 9.547 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.2494, allocations: 43.62 kB / 461.7 MB, free: 9.504 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.2509, allocations: 0.5864 MB / 462.3 MB, free: 8.914 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01278/0.2637, allocations: 5.24 MB / 467.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007632/0.2713, allocations: 3.227 MB / 470.7 MB, free: 440 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003887/0.2752, allocations: 4.131 MB / 474.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.2763, allocations: 0.8785 MB / 475.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/0.2881, allocations: 9.741 MB / 485.5 MB, free: 1.645 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01782/0.3059, allocations: 15.46 MB / 0.4892 GB, free: 2.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002808/0.3062, allocations: 76 kB / 0.4893 GB, free: 2.102 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1666/0.4728, allocations: 8.265 MB / 0.4974 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005204/0.4734, allocations: 419.5 kB / 0.4978 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005926/0.474, allocations: 314.3 kB / 0.4981 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007316/0.4813, allocations: 4.791 MB / 0.5027 GB, free: 36.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4813, allocations: 0.8125 kB / 0.5027 GB, free: 36.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4814, allocations: 0.6562 kB / 0.5027 GB, free: 36.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.546e-05/0.4814, allocations: 3.969 kB / 0.5027 GB, free: 36.78 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 307 * Number of variables: 307 Notification: Performance of Generate backend data structure: time 0.007204/0.4886, allocations: 2.368 MB / 0.505 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4887, allocations: 9.125 kB / 0.5051 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/0.4918, allocations: 484.5 kB / 0.5055 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.4933, allocations: 0.8737 MB / 0.5064 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.4934, allocations: 185.9 kB / 0.5065 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.4936, allocations: 115.3 kB / 0.5067 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.4973, allocations: 2.006 MB / 0.5086 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.4973, allocations: 5.719 kB / 0.5086 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.4975, allocations: 54.16 kB / 0.5087 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.06e-05/0.4976, allocations: 79.02 kB / 0.5088 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/0.5008, allocations: 1.782 MB / 0.5105 GB, free: 34.79 MB / 378.7 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.009839/0.5106, allocations: 9.279 MB / 0.5196 GB, free: 29.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.5133, allocations: 1.496 MB / 0.521 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009492/0.5142, allocations: 0.6975 MB / 0.5217 GB, free: 29.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1109/0.6252, allocations: 64.31 MB / 0.5845 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002477/0.6277, allocations: 1.073 MB / 0.5855 GB, free: 11.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=110): time 2.875e-06/0.6277, allocations: 0 / 0.5855 GB, free: 11.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=121): time 0.01621/0.6439, allocations: 6.551 MB / 0.5919 GB, free: 6.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.6441, allocations: 299 kB / 0.5922 GB, free: 6.125 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.6453, allocations: 1.034 MB / 0.5932 GB, free: 5.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.991e-05/0.6454, allocations: 47.33 kB / 0.5933 GB, free: 5.297 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.6458, allocations: 0.5681 MB / 0.5938 GB, free: 4.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.6461, allocations: 427.2 kB / 0.5942 GB, free: 4.578 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/0.6462, allocations: 31.44 kB / 0.5943 GB, free: 4.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6464, allocations: 357.5 kB / 0.5946 GB, free: 4.238 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.6474, allocations: 0.6315 MB / 0.5952 GB, free: 3.832 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.6487, allocations: 1.045 MB / 0.5962 GB, free: 2.887 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.6499, allocations: 0.7536 MB / 0.597 GB, free: 2.445 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.6499, allocations: 4 kB / 0.597 GB, free: 2.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003678/0.6536, allocations: 2.17 MB / 0.5991 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002333/0.6539, allocations: 427.6 kB / 0.5995 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.6539, allocations: 14.88 kB / 0.5995 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006026/0.6599, allocations: 1.011 MB / 0.6005 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.6611, allocations: 304.6 kB / 0.6008 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/0.6643, allocations: 4.032 MB / 0.6047 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.6656, allocations: 129.5 kB / 0.6049 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.6658, allocations: 72.97 kB / 0.6049 GB, free: 11.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.6658, allocations: 4 kB / 0.6049 GB, free: 11.31 MB / 442.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001306/0.6671, allocations: 0.7564 MB / 0.6057 GB, free: 10.87 MB / 442.7 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated