Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_twin_pipes_003.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(AES.Devel_test_models.Test_twin_pipes_003,fileNamePrefix="AES_AES_Devel_test_models_Test_twin_pipes_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_twin_pipes_003,fileNamePrefix="AES_AES_Devel_test_models_Test_twin_pipes_003",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.0007785/0.0007785, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0008003/0.0008003, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2662/0.2662, allocations: 22.35 MB / 313.3 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005568/0.0005569, allocations: 8 kB / 381.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3579, allocations: 55.97 MB / 437.9 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_twin_pipes_003): time 0.01367/0.3717, allocations: 17.32 MB / 455.2 MB, free: 26.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.3849, allocations: 7.044 MB / 462.2 MB, free: 21.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00515/0.3901, allocations: 102.9 kB / 462.3 MB, free: 21.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003458/0.3936, allocations: 0.9035 MB / 463.2 MB, free: 20.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008065/0.4017, allocations: 2.006 MB / 465.3 MB, free: 19.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005085/0.4068, allocations: 1.136 MB / 466.4 MB, free: 18.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01634/0.4232, allocations: 7.583 MB / 474 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0216/0.4448, allocations: 7.928 MB / 481.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01284/0.4577, allocations: 3.932 MB / 485.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01234/0.4701, allocations: 4.507 MB / 490.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005486/0.4756, allocations: 0.6635 MB / 491 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007297/0.4829, allocations: 0.6626 MB / 491.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006739/0.4897, allocations: 3.215 MB / 494.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006373/0.4961, allocations: 1.974 MB / 496.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02202/0.5182, allocations: 16.73 MB / 0.5016 GB, free: 1.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5182, allocations: 0 / 0.5016 GB, free: 1.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.5182, allocations: 4 kB / 0.5016 GB, free: 1.441 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006777/0.5189, allocations: 3.938 kB / 0.5016 GB, free: 1.438 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.0338/0.5527, allocations: 9.644 MB / 0.511 GB, free: 7.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.897e-05/0.5528, allocations: 12.03 kB / 0.511 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006104/0.559, allocations: 0.9665 MB / 0.5119 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006279/0.5653, allocations: 0.9228 MB / 0.5128 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01877/0.5841, allocations: 5.501 MB / 0.5182 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000831/0.5849, allocations: 0.5298 MB / 0.5187 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004937/0.5899, allocations: 0.8115 MB / 0.5195 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0351/0.625, allocations: 10.92 MB / 0.5302 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002608/0.6253, allocations: 0 / 0.5302 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003725/0.6291, allocations: 292 kB / 0.5305 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/0.6293, allocations: 172 kB / 0.5306 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02912/0.6584, allocations: 10.66 MB / 0.541 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5886/1.247, allocations: 52 MB / 0.5918 GB, free: 88.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04063/1.288, allocations: 18.68 MB / 0.6101 GB, free: 82.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/1.289, allocations: 116.6 kB / 0.6102 GB, free: 82.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.428e-05/1.289, allocations: 102.2 kB / 0.6103 GB, free: 82.01 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00641/1.295, allocations: 0.507 MB / 0.6108 GB, free: 81.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=705): time 6.106e-05/1.295, allocations: 0 / 0.6108 GB, free: 81.89 MB / 446.1 MB Warning: The linear system: 1 : Tpipe3.tubeH.fluidStream.w + Tpipe2.tubeH.fluidStream.w - pumpC.w = 0.0 2 : Tpipec2.tubeC.fluidStream.w + Tpipe4.tubeC.fluidStream.w + (-Tpipe3.tubeH.fluidStream.w) - Tpipe2.tubeH.fluidStream.w = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ Tpipe2.tubeH.fluidStream.w ; Tpipe3.tubeH.fluidStream.w ] = [ pumpC.w ; (-Tpipec2.tubeC.fluidStream.w) - Tpipe4.tubeC.fluidStream.w ] might be structurally or numerically singular for variable Tpipe3.tubeH.fluidStream.w since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=710): time 0.1033/1.399, allocations: 49.37 MB / 0.659 GB, free: 47.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/1.399, allocations: 125.1 kB / 0.6591 GB, free: 47.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008464/1.407, allocations: 3.823 MB / 0.6628 GB, free: 43.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002533/1.41, allocations: 141.7 kB / 0.663 GB, free: 43.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001904/1.412, allocations: 2.806 MB / 0.6657 GB, free: 41.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004754/1.417, allocations: 2.691 MB / 0.6683 GB, free: 38.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002776/1.419, allocations: 160 kB / 0.6685 GB, free: 38.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0007078/1.42, allocations: 0.6206 MB / 0.6691 GB, free: 37.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01105/1.431, allocations: 5.693 MB / 0.6747 GB, free: 32.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01145/1.443, allocations: 6.342 MB / 0.6808 GB, free: 26.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01664/1.459, allocations: 6.751 MB / 0.6874 GB, free: 20.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.421e-05/1.459, allocations: 4 kB / 0.6874 GB, free: 20.17 MB / 446.1 MB Warning: The linear system: 1 : Tpipe3.tubeH.fluidStream.w + Tpipe2.tubeH.fluidStream.w - pumpC.w = 0.0 2 : Tpipec2.tubeC.fluidStream.w + Tpipe4.tubeC.fluidStream.w + (-Tpipe3.tubeH.fluidStream.w) - Tpipe2.tubeH.fluidStream.w = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ Tpipe3.tubeH.fluidStream.w ; Tpipe2.tubeH.fluidStream.w ] = [ pumpC.w ; (-Tpipec2.tubeC.fluidStream.w) - Tpipe4.tubeC.fluidStream.w ] might be structurally or numerically singular for variable Tpipe2.tubeH.fluidStream.w since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=997) (initialization): time 0.04614/1.506, allocations: 18.67 MB / 0.7057 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008651/1.507, allocations: 2.611 MB / 0.7082 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.58e-05/1.507, allocations: 4 kB / 0.7082 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0183/1.525, allocations: 5.848 MB / 0.7139 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009807/1.535, allocations: 1.893 MB / 0.7158 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4084/1.943, allocations: 217.5 MB / 0.9282 GB, free: 3.879 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009669/1.953, allocations: 0.5442 MB / 0.9287 GB, free: 3.742 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002766/1.956, allocations: 265.2 kB / 0.9289 GB, free: 3.68 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.956, allocations: 12.64 kB / 0.929 GB, free: 3.676 MB / 0.5138 GB 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.01751/1.973, allocations: 6.486 MB / 0.9353 GB, free: 0.5039 MB / 0.5138 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated