Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Fluid.Examples.PumpingSystem") translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.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.0007889/0.0007889, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001049/0.001049, allocations: 172.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.55/1.55, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004522/0.0004523, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2565, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.0695/0.3261, allocations: 61.02 MB / 387.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03867/0.3648, allocations: 26.08 MB / 413.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.3671, allocations: 39.69 kB / 413.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.3695, allocations: 0.5942 MB / 414.2 MB, free: 11.55 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.01659/0.3861, allocations: 5.248 MB / 419.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01041/0.3965, allocations: 3.223 MB / 422.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005246/0.4018, allocations: 4.123 MB / 426.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.4036, allocations: 0.8775 MB / 427.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01775/0.4214, allocations: 9.741 MB / 437.4 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0252/0.4466, allocations: 15.46 MB / 452.9 MB, free: 4.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005786/0.4472, allocations: 80 kB / 452.9 MB, free: 4.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2338/0.681, allocations: 8.262 MB / 461.2 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.6824, allocations: 412.1 kB / 461.6 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009315/0.6833, allocations: 316.9 kB / 461.9 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.6936, allocations: 4.791 MB / 466.7 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.6937, allocations: 2.844 kB / 466.7 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.6937, allocations: 0 / 466.7 MB, free: 38.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.136e-05/0.6938, allocations: 0 / 466.7 MB, free: 38.41 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.00774/0.7015, allocations: 2.373 MB / 469.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.7016, allocations: 9.625 kB / 469.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.7048, allocations: 485.7 kB / 469.6 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.7066, allocations: 0.8701 MB / 470.4 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.7068, allocations: 184.2 kB / 470.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.7069, allocations: 116.8 kB / 470.7 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003651/0.7106, allocations: 2.004 MB / 472.7 MB, free: 36.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.7107, allocations: 7.031 kB / 472.7 MB, free: 36.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.7108, allocations: 58.67 kB / 472.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.933e-05/0.7109, allocations: 82.52 kB / 472.9 MB, free: 36.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003289/0.7142, allocations: 1.777 MB / 474.7 MB, free: 36.44 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.01025/0.7245, allocations: 9.275 MB / 483.9 MB, free: 31.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/0.7274, allocations: 1.494 MB / 485.4 MB, free: 31.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009533/0.7283, allocations: 0.6926 MB / 486.1 MB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1141/0.8424, allocations: 64.33 MB / 0.5375 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003205/0.8457, allocations: 1.064 MB / 0.5386 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=110): time 4.468e-06/0.8457, allocations: 0 / 0.5386 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01928/0.865, allocations: 6.547 MB / 0.545 GB, free: 11.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.8652, allocations: 298.9 kB / 0.5453 GB, free: 11.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.8669, allocations: 1.036 MB / 0.5463 GB, free: 10.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.8671, allocations: 56.61 kB / 0.5463 GB, free: 10.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/0.8676, allocations: 0.568 MB / 0.5469 GB, free: 9.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/0.8681, allocations: 409.8 kB / 0.5473 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.8683, allocations: 35.61 kB / 0.5473 GB, free: 9.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.8684, allocations: 358 kB / 0.5477 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.8698, allocations: 0.6358 MB / 0.5483 GB, free: 8.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.8714, allocations: 1.045 MB / 0.5493 GB, free: 7.777 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.8728, allocations: 0.7421 MB / 0.55 GB, free: 7.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.8728, allocations: 6.516 kB / 0.55 GB, free: 7.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004578/0.8774, allocations: 2.167 MB / 0.5521 GB, free: 5.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004184/0.8779, allocations: 432.4 kB / 0.5526 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.19e-05/0.8779, allocations: 12 kB / 0.5526 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006227/0.8841, allocations: 1.016 MB / 0.5536 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.8857, allocations: 301.7 kB / 0.5538 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004314/0.89, allocations: 4.031 MB / 0.5578 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.892, allocations: 131.6 kB / 0.5579 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/0.8924, allocations: 71.97 kB / 0.558 GB, free: 208 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.8924, allocations: 4 kB / 0.558 GB, free: 204 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.001853/0.8943, allocations: 0.7589 MB / 0.5587 GB, free: 15.76 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated