Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Fluid.Examples.PumpingSystem") translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0007556/0.0007557, allocations: 87.34 kB / 16.31 MB, free: 6.453 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.0008903/0.0008903, allocations: 183.8 kB / 17.21 MB, free: 6.32 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.576/1.576, allocations: 205.4 MB / 223.4 MB, free: 5.262 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.0005387/0.0005389, allocations: 15.98 kB / 280.1 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2341, allocations: 47.6 MB / 327.7 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.06792/0.302, allocations: 61.01 MB / 388.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03413/0.3362, allocations: 26.07 MB / 414.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.3379, allocations: 47.62 kB / 414.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.3401, allocations: 0.5825 MB / 415.4 MB, free: 11.56 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.01745/0.3576, allocations: 5.24 MB / 420.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01166/0.3692, allocations: 3.223 MB / 423.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005207/0.3745, allocations: 4.127 MB / 428 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.3761, allocations: 0.8775 MB / 428.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01767/0.3938, allocations: 9.745 MB / 438.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02457/0.4184, allocations: 15.46 MB / 454.1 MB, free: 4.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007863/0.4193, allocations: 76 kB / 454.2 MB, free: 4.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2455/0.6648, allocations: 8.264 MB / 462.5 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008079/0.6657, allocations: 415 kB / 462.9 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007112/0.6664, allocations: 319.3 kB / 463.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.6775, allocations: 4.789 MB / 468 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.6776, allocations: 0 / 468 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.55e-06/0.6776, allocations: 0 / 468 MB, free: 38.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.378e-05/0.6777, allocations: 2.844 kB / 468 MB, free: 38.38 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.008548/0.6862, allocations: 2.371 MB / 470.3 MB, free: 37.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.6863, allocations: 12.03 kB / 470.3 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/0.6896, allocations: 487.2 kB / 470.8 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.6913, allocations: 0.8665 MB / 471.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.6915, allocations: 187.6 kB / 471.9 MB, free: 36.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.6917, allocations: 118.7 kB / 472 MB, free: 36.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/0.6956, allocations: 2.003 MB / 474 MB, free: 36.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.6956, allocations: 3.094 kB / 474 MB, free: 36.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.6958, allocations: 60.75 kB / 474.1 MB, free: 36.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-05/0.6959, allocations: 81.59 kB / 474.1 MB, free: 36.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003459/0.6993, allocations: 1.775 MB / 475.9 MB, free: 36.4 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.01066/0.71, allocations: 9.279 MB / 485.2 MB, free: 31.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/0.7129, allocations: 1.502 MB / 486.7 MB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.714, allocations: 0.6935 MB / 487.4 MB, free: 31.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1137/0.8277, allocations: 64.32 MB / 0.5388 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003703/0.8314, allocations: 1.06 MB / 0.5398 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of pre-optimization done (n=110): time 5.981e-06/0.8315, allocations: 0 / 0.5398 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01981/0.8513, allocations: 6.545 MB / 0.5462 GB, free: 11.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.8515, allocations: 299.9 kB / 0.5465 GB, free: 10.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.8532, allocations: 1.039 MB / 0.5475 GB, free: 10.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.8534, allocations: 45.95 kB / 0.5475 GB, free: 10.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/0.8539, allocations: 0.5729 MB / 0.5481 GB, free: 9.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000533/0.8545, allocations: 418.9 kB / 0.5485 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.8546, allocations: 30.19 kB / 0.5485 GB, free: 9.441 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.8548, allocations: 355.1 kB / 0.5489 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.856, allocations: 0.6386 MB / 0.5495 GB, free: 8.699 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.8576, allocations: 1.044 MB / 0.5505 GB, free: 7.758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.8589, allocations: 0.7416 MB / 0.5512 GB, free: 7.316 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.8589, allocations: 6.953 kB / 0.5512 GB, free: 7.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004326/0.8633, allocations: 2.172 MB / 0.5534 GB, free: 5.836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004672/0.8638, allocations: 428.7 kB / 0.5538 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.622e-05/0.8638, allocations: 12 kB / 0.5538 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/0.8696, allocations: 1.021 MB / 0.5548 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.8711, allocations: 296.5 kB / 0.5551 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/0.8747, allocations: 4.037 MB / 0.559 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.8765, allocations: 122.2 kB / 0.5591 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/0.8768, allocations: 77.53 kB / 0.5592 GB, free: 184 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.8768, allocations: 4 kB / 0.5592 GB, free: 180 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.001748/0.8786, allocations: 0.756 MB / 0.5599 GB, free: 15.73 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated