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.002519/0.002519, allocations: 177.8 kB / 17.39 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.501/2.501, allocations: 205.4 MB / 223.5 MB, free: 9 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.0009954/0.0009955, allocations: 95.8 kB / 271.9 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 8 kB / 328.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.5093, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.07563/0.585, allocations: 61.25 MB / 437 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0475/0.6326, allocations: 26.09 MB / 463.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00389/0.6366, allocations: 43.62 kB / 463.1 MB, free: 9.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.64, allocations: 0.5903 MB / 463.7 MB, free: 8.527 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.03174/0.6718, allocations: 5.358 MB / 469.1 MB, free: 3.164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01802/0.6899, allocations: 3.251 MB / 472.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0091/0.699, allocations: 4.154 MB / 476.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003442/0.7025, allocations: 0.8985 MB / 477.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02606/0.7286, allocations: 9.753 MB / 487.1 MB, free: 1.062 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03392/0.7626, allocations: 15.45 MB / 0.4908 GB, free: 1.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.764, allocations: 76 kB / 0.4909 GB, free: 1.527 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5131/1.277, allocations: 8.474 MB / 0.4992 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00162/1.279, allocations: 412.6 kB / 0.4995 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003067/1.282, allocations: 0.7663 MB / 0.5003 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02122/1.303, allocations: 4.873 MB / 0.5051 GB, free: 36.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/1.303, allocations: 3.875 kB / 0.5051 GB, free: 36.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.807e-06/1.303, allocations: 1.156 kB / 0.5051 GB, free: 36.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001839/1.303, allocations: 0 / 0.5051 GB, free: 36.65 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.01791/1.321, allocations: 2.351 MB / 0.5074 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.196e-05/1.321, allocations: 8.719 kB / 0.5074 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/1.327, allocations: 489.2 kB / 0.5078 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/1.331, allocations: 0.9016 MB / 0.5087 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004963/1.332, allocations: 192.3 kB / 0.5089 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008814/1.333, allocations: 113.4 kB / 0.509 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007302/1.34, allocations: 1.999 MB / 0.511 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/1.34, allocations: 3 kB / 0.511 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/1.34, allocations: 56.2 kB / 0.511 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/1.341, allocations: 79.97 kB / 0.5111 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004697/1.345, allocations: 1.784 MB / 0.5128 GB, free: 34.62 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.01725/1.363, allocations: 9.279 MB / 0.5219 GB, free: 29.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/1.367, allocations: 1.504 MB / 0.5234 GB, free: 29.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002245/1.369, allocations: 0.6997 MB / 0.524 GB, free: 28.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1455/1.515, allocations: 64.31 MB / 0.5868 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004606/1.519, allocations: 1.072 MB / 0.5879 GB, free: 10.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=110): time 1.216e-05/1.52, allocations: 0 / 0.5879 GB, free: 10.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=121): time 0.02544/1.545, allocations: 6.538 MB / 0.5943 GB, free: 4.887 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002748/1.545, allocations: 298.8 kB / 0.5946 GB, free: 4.531 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/1.547, allocations: 1.04 MB / 0.5956 GB, free: 3.734 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000164/1.548, allocations: 51.64 kB / 0.5956 GB, free: 3.695 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007132/1.548, allocations: 0.569 MB / 0.5962 GB, free: 3.328 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006184/1.549, allocations: 420.9 kB / 0.5966 GB, free: 2.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/1.549, allocations: 28.69 kB / 0.5966 GB, free: 2.977 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002808/1.549, allocations: 368.5 kB / 0.597 GB, free: 2.633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.551, allocations: 0.63 MB / 0.5976 GB, free: 2.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/1.553, allocations: 1.053 MB / 0.5986 GB, free: 1.281 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003099/1.556, allocations: 1.665 MB / 0.6002 GB, free: 48 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/1.556, allocations: 0 / 0.6002 GB, free: 48 kB / 426.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005091/1.561, allocations: 2.167 MB / 0.6024 GB, free: 14.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006365/1.561, allocations: 437.2 kB / 0.6028 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/1.562, allocations: 16 kB / 0.6028 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007023/1.569, allocations: 0.9976 MB / 0.6038 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.57, allocations: 309.1 kB / 0.6041 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005459/1.576, allocations: 4.028 MB / 0.608 GB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/1.578, allocations: 122.2 kB / 0.6081 GB, free: 8.992 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/1.579, allocations: 76.53 kB / 0.6082 GB, free: 8.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.579, allocations: 4 kB / 0.6082 GB, free: 8.926 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.002108/1.581, allocations: 0.7601 MB / 0.6089 GB, free: 8.477 MB / 442.7 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated