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: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 96.02 kB / 16.95 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.001559/0.001559, allocations: 182.7 kB / 17.84 MB, free: 6.008 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.536/1.536, allocations: 205.4 MB / 224 MB, free: 13.15 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.000537/0.0005371, allocations: 8 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 47.58 MB / 328.4 MB, free: 3.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.2729/0.376, allocations: 61 MB / 389.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02915/0.4052, allocations: 26.09 MB / 415.5 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.4073, allocations: 47.34 kB / 415.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.4091, allocations: 0.5843 MB / 416.2 MB, free: 9.23 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.01981/0.429, allocations: 5.245 MB / 421.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.4399, allocations: 3.221 MB / 424.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004609/0.4446, allocations: 4.126 MB / 428.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.4463, allocations: 0.8831 MB / 429.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01847/0.4648, allocations: 9.742 MB / 439.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02703/0.4919, allocations: 15.46 MB / 454.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000718/0.4926, allocations: 72 kB / 454.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01937/0.512, allocations: 8.282 MB / 463.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009903/0.5131, allocations: 411.9 kB / 463.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008565/0.5139, allocations: 321 kB / 463.9 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00855/0.5225, allocations: 4.785 MB / 468.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5225, allocations: 0 / 468.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5225, allocations: 0 / 468.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.172e-05/0.5226, allocations: 4 kB / 468.7 MB, free: 13.75 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.007041/0.5297, allocations: 2.365 MB / 471.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5297, allocations: 8.031 kB / 471.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004617/0.5302, allocations: 186.4 kB / 471.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/0.5334, allocations: 495.3 kB / 471.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.5352, allocations: 0.8661 MB / 472.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.5354, allocations: 186.9 kB / 472.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.5357, allocations: 115.8 kB / 472.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003977/0.5396, allocations: 2.002 MB / 474.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.5397, allocations: 3.938 kB / 474.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.5399, allocations: 52 kB / 474.9 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-05/0.54, allocations: 78.08 kB / 475 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003818/0.5438, allocations: 1.788 MB / 476.8 MB, free: 5.414 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.01225/0.556, allocations: 9.292 MB / 486.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.5591, allocations: 1.485 MB / 487.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.5603, allocations: 0.6985 MB / 488.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1161/0.6764, allocations: 64.31 MB / 0.5396 GB, free: 1.488 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003054/0.6795, allocations: 1.067 MB / 0.5407 GB, free: 392 kB / 446.1 MB Notification: Performance of pre-optimization done (n=110): time 5.059e-06/0.6796, allocations: 0 / 0.5407 GB, free: 392 kB / 446.1 MB Notification: Performance of matching and sorting (n=121): time 0.1904/0.8699, allocations: 6.547 MB / 0.5471 GB, free: 174.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.87, allocations: 301.8 kB / 0.5474 GB, free: 173.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.8713, allocations: 1.04 MB / 0.5484 GB, free: 173.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.585e-05/0.8714, allocations: 47.91 kB / 0.5484 GB, free: 173.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.8718, allocations: 0.5703 MB / 0.549 GB, free: 172.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.8721, allocations: 415.9 kB / 0.5494 GB, free: 172.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-05/0.8722, allocations: 27.03 kB / 0.5494 GB, free: 172.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.8723, allocations: 361.4 kB / 0.5498 GB, free: 172.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.8735, allocations: 0.6353 MB / 0.5504 GB, free: 172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.8748, allocations: 1.05 MB / 0.5514 GB, free: 171.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.8761, allocations: 0.7402 MB / 0.5521 GB, free: 171 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.8761, allocations: 3.688 kB / 0.5521 GB, free: 171 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003973/0.8801, allocations: 2.182 MB / 0.5543 GB, free: 170.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002714/0.8804, allocations: 433 kB / 0.5547 GB, free: 169.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.8804, allocations: 10.41 kB / 0.5547 GB, free: 169.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005562/0.886, allocations: 1.014 MB / 0.5557 GB, free: 169.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.8872, allocations: 299 kB / 0.556 GB, free: 169.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/0.8901, allocations: 4.031 MB / 0.5599 GB, free: 165.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.8916, allocations: 119.3 kB / 0.56 GB, free: 165.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.8917, allocations: 73.53 kB / 0.5601 GB, free: 165.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.8917, allocations: 3.781 kB / 0.5601 GB, free: 165.8 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.001285/0.893, allocations: 0.7602 MB / 0.5608 GB, free: 165.4 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated