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.001029/0.001029, allocations: 96.7 kB / 17.96 MB, free: 5.629 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.001229/0.001229, allocations: 180.2 kB / 18.86 MB, free: 4.773 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.995/1.995, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005125/0.0005125, allocations: 8 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1405, allocations: 47.57 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.4007/0.5413, allocations: 65.29 MB / 394.9 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04041/0.5818, allocations: 28.73 MB / 423.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.5845, allocations: 40.59 kB / 423.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.5869, allocations: 0.6282 MB / 424.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02304/0.61, allocations: 5.4 MB / 429.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01364/0.6236, allocations: 3.523 MB / 433.2 MB, free: 404 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007075/0.6307, allocations: 4.876 MB / 438.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.6327, allocations: 0.9195 MB / 439 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/0.6476, allocations: 6.132 MB / 445.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01921/0.6668, allocations: 9.232 MB / 454.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006291/0.6676, allocations: 72 kB / 454.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02495/0.6925, allocations: 8.763 MB / 463.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.6936, allocations: 422.6 kB / 463.6 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.6955, allocations: 0.8026 MB / 464.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01485/0.7103, allocations: 4.861 MB / 469.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.7104, allocations: 4 kB / 469.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.7104, allocations: 0 / 469.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.031e-05/0.7105, allocations: 0 / 469.3 MB, free: 14.14 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.01128/0.7218, allocations: 2.359 MB / 471.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.106e-05/0.7219, allocations: 8.031 kB / 471.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003751/0.7256, allocations: 494.8 kB / 472.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.728, allocations: 0.898 MB / 473 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.7283, allocations: 183.4 kB / 473.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.7285, allocations: 116 kB / 473.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004314/0.7328, allocations: 2.015 MB / 475.3 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.7329, allocations: 7.938 kB / 475.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.7331, allocations: 48 kB / 475.4 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.7332, allocations: 82.03 kB / 475.5 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/0.7373, allocations: 1.792 MB / 477.3 MB, free: 5.895 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.01616/0.7535, allocations: 9.282 MB / 486.6 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003425/0.7569, allocations: 1.507 MB / 488.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.7581, allocations: 0.702 MB / 488.8 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1343/0.8924, allocations: 64.31 MB / 0.5401 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002977/0.8954, allocations: 1.071 MB / 0.5412 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of pre-optimization done (n=110): time 4.118e-06/0.8954, allocations: 0 / 0.5412 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of matching and sorting (n=121): time 0.3176/1.213, allocations: 6.544 MB / 0.5475 GB, free: 173.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/1.213, allocations: 304.8 kB / 0.5478 GB, free: 172.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/1.215, allocations: 1.048 MB / 0.5489 GB, free: 172.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/1.215, allocations: 48.89 kB / 0.5489 GB, free: 172.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/1.216, allocations: 0.571 MB / 0.5495 GB, free: 172 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000461/1.217, allocations: 414 kB / 0.5499 GB, free: 171.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/1.217, allocations: 132 kB / 0.55 GB, free: 171.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/1.217, allocations: 301.1 kB / 0.5503 GB, free: 171.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/1.218, allocations: 0.6448 MB / 0.5509 GB, free: 171.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/1.22, allocations: 1.067 MB / 0.5519 GB, free: 170.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/1.224, allocations: 1.679 MB / 0.5536 GB, free: 169.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/1.224, allocations: 7.656 kB / 0.5536 GB, free: 169.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005092/1.229, allocations: 2.196 MB / 0.5557 GB, free: 168.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003237/1.229, allocations: 432.7 kB / 0.5561 GB, free: 168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/1.229, allocations: 15.88 kB / 0.5562 GB, free: 168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0064/1.236, allocations: 1.018 MB / 0.5572 GB, free: 167.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.237, allocations: 297.8 kB / 0.5574 GB, free: 167.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/1.24, allocations: 4.036 MB / 0.5614 GB, free: 164.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.242, allocations: 125.6 kB / 0.5615 GB, free: 164.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.242, allocations: 82.7 kB / 0.5616 GB, free: 164.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.242, allocations: 3.969 kB / 0.5616 GB, free: 164.2 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.001412/1.244, allocations: 0.7677 MB / 0.5623 GB, free: 163.8 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated