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.0008109/0.0008108, allocations: 83.2 kB / 17.58 MB, free: 5.758 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.0007826/0.0007827, allocations: 183.5 kB / 18.48 MB, free: 5.207 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.667/1.667, allocations: 205.4 MB / 224.6 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.0004462/0.0004462, allocations: 8 kB / 281.4 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1207, allocations: 47.59 MB / 329 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.2906/0.4114, allocations: 61 MB / 390 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.031/0.4425, allocations: 26.08 MB / 416.1 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.4447, allocations: 40.41 kB / 416.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.4464, allocations: 0.5946 MB / 416.7 MB, free: 9.281 MB / 318.1 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.01979/0.4662, allocations: 5.246 MB / 421.9 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.4776, allocations: 3.221 MB / 425.2 MB, free: 5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005756/0.4833, allocations: 4.125 MB / 429.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.485, allocations: 0.8748 MB / 430.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01683/0.5018, allocations: 9.739 MB / 439.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02499/0.5269, allocations: 15.46 MB / 455.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004841/0.5274, allocations: 75.94 kB / 455.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02119/0.5486, allocations: 8.269 MB / 463.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009567/0.5497, allocations: 409.7 kB / 464.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009773/0.5506, allocations: 321 kB / 464.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.5622, allocations: 4.791 MB / 469.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5622, allocations: 0 / 469.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5622, allocations: 3.938 kB / 469.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.5623, allocations: 0 / 469.2 MB, free: 13.82 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.008376/0.5706, allocations: 2.373 MB / 471.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5707, allocations: 12.02 kB / 471.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.5742, allocations: 488.5 kB / 472.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.5766, allocations: 0.8657 MB / 472.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.5769, allocations: 190.3 kB / 473.1 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.5771, allocations: 120.9 kB / 473.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004367/0.5815, allocations: 2.003 MB / 475.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.5816, allocations: 3.938 kB / 475.3 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.5817, allocations: 51.52 kB / 475.3 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.5818, allocations: 86.08 kB / 475.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003849/0.5857, allocations: 1.776 MB / 477.2 MB, free: 5.668 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.01475/0.6005, allocations: 9.287 MB / 486.5 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/0.6039, allocations: 1.489 MB / 487.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.6051, allocations: 0.6985 MB / 488.6 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1191/0.7242, allocations: 64.3 MB / 0.54 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003015/0.7272, allocations: 1.07 MB / 0.541 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=110): time 4.138e-06/0.7273, allocations: 4 kB / 0.541 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of matching and sorting (n=121): time 0.2843/1.012, allocations: 6.535 MB / 0.5474 GB, free: 174.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.012, allocations: 304.5 kB / 0.5477 GB, free: 173.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/1.014, allocations: 1.032 MB / 0.5487 GB, free: 173.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/1.014, allocations: 48.05 kB / 0.5488 GB, free: 173.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000451/1.014, allocations: 0.5735 MB / 0.5493 GB, free: 173 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/1.014, allocations: 412.6 kB / 0.5497 GB, free: 172.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/1.015, allocations: 31.88 kB / 0.5497 GB, free: 172.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/1.015, allocations: 361.2 kB / 0.5501 GB, free: 172.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/1.016, allocations: 0.6368 MB / 0.5507 GB, free: 172.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/1.017, allocations: 1.05 MB / 0.5517 GB, free: 171.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/1.019, allocations: 0.7354 MB / 0.5524 GB, free: 171.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.019, allocations: 11.78 kB / 0.5525 GB, free: 171.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004348/1.023, allocations: 2.173 MB / 0.5546 GB, free: 170.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002661/1.023, allocations: 435.1 kB / 0.555 GB, free: 169.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/1.023, allocations: 12.75 kB / 0.555 GB, free: 169.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005493/1.029, allocations: 1.013 MB / 0.556 GB, free: 169.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.03, allocations: 301.4 kB / 0.5563 GB, free: 169.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/1.033, allocations: 4.031 MB / 0.5602 GB, free: 165.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/1.035, allocations: 124.5 kB / 0.5603 GB, free: 165.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.035, allocations: 75.61 kB / 0.5604 GB, free: 165.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.035, allocations: 3.969 kB / 0.5604 GB, free: 165.9 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.00138/1.037, allocations: 0.761 MB / 0.5612 GB, free: 165.5 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated