Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.PumpingSystem.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.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_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_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 94.53 kB / 16.94 MB, free: 5.98 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.001132/0.001133, allocations: 180 kB / 17.82 MB, free: 5.652 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.803/1.803, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004796/0.0004796, allocations: 8 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 47.59 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.2398/0.3475, allocations: 54.86 MB / 383.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0286/0.3762, allocations: 23.88 MB / 407.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.3777, allocations: 48.89 kB / 407.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.3793, allocations: 0.6197 MB / 407.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.016/0.3953, allocations: 5.181 MB / 412.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.4059, allocations: 3.29 MB / 416.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003699/0.4096, allocations: 2.158 MB / 418.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.4113, allocations: 0.8768 MB / 419.2 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01556/0.4269, allocations: 9.542 MB / 428.8 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02202/0.449, allocations: 14.9 MB / 443.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004051/0.4495, allocations: 72 kB / 443.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01833/0.4678, allocations: 8.58 MB / 452.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008381/0.4687, allocations: 395.3 kB / 452.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.4695, allocations: 317 kB / 453 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.4811, allocations: 4.769 MB / 457.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4811, allocations: 0 / 457.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4811, allocations: 0 / 457.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.805e-05/0.4812, allocations: 0 / 457.8 MB, free: 7.098 MB / 350.1 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.009231/0.4904, allocations: 2.371 MB / 460.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4905, allocations: 12.03 kB / 460.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/0.4941, allocations: 490.2 kB / 460.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.4963, allocations: 0.8713 MB / 461.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.4965, allocations: 188.2 kB / 461.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.4967, allocations: 114.9 kB / 461.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003913/0.5006, allocations: 1.992 MB / 463.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.5007, allocations: 3.938 kB / 463.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.5008, allocations: 59.2 kB / 463.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.5009, allocations: 78.08 kB / 464 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/0.5047, allocations: 1.776 MB / 465.7 MB, free: 14.97 MB / 366.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.01292/0.5176, allocations: 9.291 MB / 475 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.5207, allocations: 1.493 MB / 476.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1302/0.651, allocations: 64.31 MB / 0.5281 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002958/0.654, allocations: 1.07 MB / 0.5292 GB, free: 10.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=110): time 5.45e-06/0.654, allocations: 0 / 0.5292 GB, free: 10.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=121): time 0.0189/0.6729, allocations: 6.549 MB / 0.5356 GB, free: 3.992 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.6731, allocations: 299.7 kB / 0.5359 GB, free: 3.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.6747, allocations: 1.037 MB / 0.5369 GB, free: 2.574 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.6748, allocations: 45.7 kB / 0.5369 GB, free: 2.523 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/0.6754, allocations: 0.5737 MB / 0.5375 GB, free: 1.945 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/0.6759, allocations: 420.1 kB / 0.5379 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.676, allocations: 32 kB / 0.5379 GB, free: 1.508 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.6762, allocations: 365.9 kB / 0.5383 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.6775, allocations: 0.6285 MB / 0.5389 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1924/0.8699, allocations: 1.045 MB / 0.5399 GB, free: 174 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.8715, allocations: 0.7427 MB / 0.5406 GB, free: 173.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.8715, allocations: 6.469 kB / 0.5406 GB, free: 173.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004563/0.8761, allocations: 2.17 MB / 0.5428 GB, free: 173.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007482/0.8769, allocations: 4.442 MB / 0.5471 GB, free: 169.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.8769, allocations: 11.56 kB / 0.5471 GB, free: 169.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006476/0.8834, allocations: 1.012 MB / 0.5481 GB, free: 169 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.8848, allocations: 300.9 kB / 0.5484 GB, free: 168.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.888, allocations: 4.029 MB / 0.5523 GB, free: 165.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.8896, allocations: 121.6 kB / 0.5524 GB, free: 165.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.8897, allocations: 72.52 kB / 0.5525 GB, free: 165.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.8898, allocations: 7 kB / 0.5525 GB, free: 165.4 MB / 446.1 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.001608/0.8914, allocations: 0.7589 MB / 0.5532 GB, free: 165.1 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated