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.0009949/0.000995, allocations: 95.83 kB / 17.3 MB, free: 5.977 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.001339/0.001339, allocations: 180.2 kB / 18.21 MB, free: 5.398 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.502/1.502, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0005158/0.0005162, allocations: 17.44 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 47.58 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.2959/0.4077, allocations: 65.28 MB / 394.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03354/0.4413, allocations: 28.74 MB / 423 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.4434, allocations: 40.12 kB / 423 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.4452, allocations: 0.6289 MB / 423.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01861/0.4638, allocations: 5.39 MB / 429 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0137/0.4776, allocations: 3.527 MB / 432.6 MB, free: 436 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006234/0.4838, allocations: 4.878 MB / 437.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.4857, allocations: 0.9184 MB / 438.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01311/0.4989, allocations: 6.132 MB / 444.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01688/0.5158, allocations: 9.223 MB / 453.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004447/0.5163, allocations: 80 kB / 453.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02035/0.5366, allocations: 8.759 MB / 462.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.5377, allocations: 422.6 kB / 463 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.5395, allocations: 0.8065 MB / 463.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01994/0.5594, allocations: 6.933 MB / 470.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5595, allocations: 0 / 470.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5595, allocations: 0 / 470.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.103e-05/0.5595, allocations: 4 kB / 470.7 MB, free: 12.09 MB / 366.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.008567/0.5681, allocations: 2.356 MB / 473.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.5682, allocations: 12.03 kB / 473.1 MB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/0.5714, allocations: 482.9 kB / 473.6 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.5729, allocations: 0.898 MB / 474.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.5731, allocations: 187.4 kB / 474.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.5733, allocations: 112 kB / 474.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/0.5771, allocations: 2.019 MB / 476.8 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.5772, allocations: 7.875 kB / 476.8 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.5773, allocations: 55.98 kB / 476.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.834e-05/0.5774, allocations: 74.09 kB / 476.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003525/0.5809, allocations: 1.784 MB / 478.7 MB, free: 3.863 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.01234/0.5933, allocations: 9.293 MB / 488 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/0.5964, allocations: 1.507 MB / 489.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.5976, allocations: 0.6982 MB / 490.2 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3279/0.9255, allocations: 64.29 MB / 0.5415 GB, free: 149.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002937/0.9285, allocations: 1.076 MB / 0.5425 GB, free: 149 MB / 430.1 MB Notification: Performance of pre-optimization done (n=110): time 4.369e-06/0.9285, allocations: 0 / 0.5425 GB, free: 149 MB / 430.1 MB Notification: Performance of matching and sorting (n=121): time 0.01683/0.9453, allocations: 6.553 MB / 0.5489 GB, free: 146.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.9456, allocations: 307.2 kB / 0.5492 GB, free: 145.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.9471, allocations: 1.048 MB / 0.5502 GB, free: 145.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.9472, allocations: 45.64 kB / 0.5503 GB, free: 145.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/0.9477, allocations: 0.5751 MB / 0.5508 GB, free: 144.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.9482, allocations: 412.8 kB / 0.5512 GB, free: 144.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.9484, allocations: 129.1 kB / 0.5514 GB, free: 144.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.9485, allocations: 305.1 kB / 0.5517 GB, free: 144 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009839/0.9495, allocations: 0.6494 MB / 0.5523 GB, free: 143.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.9507, allocations: 1.064 MB / 0.5533 GB, free: 142.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.953, allocations: 1.679 MB / 0.555 GB, free: 141.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.953, allocations: 3.094 kB / 0.555 GB, free: 141.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003882/0.9569, allocations: 2.203 MB / 0.5571 GB, free: 140.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/0.9571, allocations: 425.2 kB / 0.5575 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.9572, allocations: 11.98 kB / 0.5575 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005902/0.9631, allocations: 1.014 MB / 0.5585 GB, free: 138.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.9644, allocations: 303.5 kB / 0.5588 GB, free: 138.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.9672, allocations: 4.039 MB / 0.5628 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.9688, allocations: 127.9 kB / 0.5629 GB, free: 134 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.9689, allocations: 75.97 kB / 0.563 GB, free: 133.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.969, allocations: 4 kB / 0.563 GB, free: 133.9 MB / 430.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.001239/0.9702, allocations: 0.7682 MB / 0.5637 GB, free: 133.2 MB / 430.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated