Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem") translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001097/0.001097, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001171/0.001171, allocations: 168.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.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.0004262/0.0004263, allocations: 19.98 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2339, allocations: 47.59 MB / 326.5 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.06627/0.3002, allocations: 61.01 MB / 387.5 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03589/0.3361, allocations: 26.07 MB / 413.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.3381, allocations: 39.69 kB / 413.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.3405, allocations: 0.5942 MB / 414.2 MB, free: 11.6 MB / 350.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.3603, allocations: 5.248 MB / 419.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01268/0.373, allocations: 3.22 MB / 422.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007035/0.3801, allocations: 4.127 MB / 426.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.3821, allocations: 0.8775 MB / 427.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01974/0.4018, allocations: 9.737 MB / 437.4 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02676/0.4286, allocations: 15.47 MB / 452.9 MB, free: 4.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00071/0.4294, allocations: 76 kB / 452.9 MB, free: 4.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2399/0.6693, allocations: 8.265 MB / 461.2 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.6704, allocations: 416.8 kB / 461.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008621/0.6713, allocations: 317.8 kB / 461.9 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009844/0.6811, allocations: 4.796 MB / 466.7 MB, free: 38.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.6812, allocations: 0 / 466.7 MB, free: 38.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6812, allocations: 0 / 466.7 MB, free: 38.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.6812, allocations: 0 / 466.7 MB, free: 38.37 MB / 382.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.00651/0.6877, allocations: 2.365 MB / 469.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6878, allocations: 7.125 kB / 469.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/0.6909, allocations: 490.3 kB / 469.6 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.6923, allocations: 0.8701 MB / 470.4 MB, free: 36.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.6925, allocations: 189.9 kB / 470.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.6927, allocations: 115.1 kB / 470.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/0.6963, allocations: 2.006 MB / 472.7 MB, free: 36.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.6963, allocations: 3.938 kB / 472.7 MB, free: 36.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.6965, allocations: 54.28 kB / 472.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.929e-05/0.6966, allocations: 77.95 kB / 472.9 MB, free: 36.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/0.7003, allocations: 1.778 MB / 474.7 MB, free: 36.39 MB / 382.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.01153/0.7118, allocations: 9.273 MB / 483.9 MB, free: 31.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002987/0.7148, allocations: 1.496 MB / 485.4 MB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.716, allocations: 0.6996 MB / 486.1 MB, free: 31.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1132/0.8293, allocations: 64.32 MB / 0.5375 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003136/0.8324, allocations: 1.068 MB / 0.5386 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=110): time 4.689e-06/0.8325, allocations: 4 kB / 0.5386 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01928/0.8517, allocations: 6.543 MB / 0.545 GB, free: 11.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002013/0.852, allocations: 299.7 kB / 0.5453 GB, free: 11.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.8539, allocations: 1.032 MB / 0.5463 GB, free: 10.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002308/0.8542, allocations: 50.95 kB / 0.5463 GB, free: 10.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006253/0.8548, allocations: 0.574 MB / 0.5469 GB, free: 9.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006194/0.8554, allocations: 416.2 kB / 0.5473 GB, free: 9.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.8556, allocations: 29.12 kB / 0.5473 GB, free: 9.477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.8558, allocations: 368.1 kB / 0.5477 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.857, allocations: 0.6347 MB / 0.5483 GB, free: 8.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.8586, allocations: 1.048 MB / 0.5493 GB, free: 7.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.8601, allocations: 0.738 MB / 0.55 GB, free: 7.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.8601, allocations: 4 kB / 0.55 GB, free: 7.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004328/0.8645, allocations: 2.17 MB / 0.5521 GB, free: 5.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003312/0.8648, allocations: 434 kB / 0.5526 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/0.8649, allocations: 12 kB / 0.5526 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005749/0.8706, allocations: 1.007 MB / 0.5535 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.8721, allocations: 297.8 kB / 0.5538 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004033/0.8762, allocations: 4.037 MB / 0.5578 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.8779, allocations: 128.7 kB / 0.5579 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/0.8782, allocations: 73.72 kB / 0.558 GB, free: 220 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.8782, allocations: 7.75 kB / 0.558 GB, free: 216 kB / 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.001959/0.8802, allocations: 0.7592 MB / 0.5587 GB, free: 15.77 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated