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: translateModel(AES.Devel_test_models.Test_twin_pipes_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_twin_pipes_003") translateModel(AES.Devel_test_models.Test_twin_pipes_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_twin_pipes_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 99.86 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.001113/0.001113, 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.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2572/0.2572, allocations: 22.33 MB / 313.3 MB, free: 13.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003474, allocations: 12 kB / 381.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3415, allocations: 55.98 MB / 437.8 MB, free: 39.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_twin_pipes_003): time 0.01337/0.3549, allocations: 17.31 MB / 455.1 MB, free: 26.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.3666, allocations: 7.035 MB / 462.2 MB, free: 21.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003865/0.3705, allocations: 103.8 kB / 462.3 MB, free: 21.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003874/0.3744, allocations: 0.9063 MB / 463.2 MB, free: 21.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007315/0.3817, allocations: 2.006 MB / 465.2 MB, free: 19.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.3856, allocations: 1.134 MB / 466.3 MB, free: 19.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01491/0.4006, allocations: 7.591 MB / 473.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01717/0.4178, allocations: 7.929 MB / 481.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.4288, allocations: 3.926 MB / 485.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.4394, allocations: 4.517 MB / 490.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004827/0.4443, allocations: 0.6589 MB / 490.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007108/0.4514, allocations: 0.661 MB / 491.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009987/0.4615, allocations: 3.215 MB / 494.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008416/0.4699, allocations: 1.978 MB / 496.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02264/0.4926, allocations: 16.73 MB / 0.5015 GB, free: 1.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4926, allocations: 4 kB / 0.5015 GB, free: 1.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.4927, allocations: 0 / 0.5015 GB, free: 1.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007647/0.4934, allocations: 0 / 0.5015 GB, free: 1.613 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.03282/0.5263, allocations: 9.644 MB / 0.5109 GB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/0.5264, allocations: 8.031 kB / 0.5109 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007173/0.5335, allocations: 0.9267 MB / 0.5118 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/0.5486, allocations: 5.494 MB / 0.5172 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008407/0.5494, allocations: 0.5414 MB / 0.5177 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004471/0.5539, allocations: 0.8076 MB / 0.5185 GB, free: 0 / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03581/0.5898, allocations: 10.92 MB / 0.5292 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001608/0.59, allocations: 4 kB / 0.5292 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002128/0.5921, allocations: 292 kB / 0.5294 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/0.5923, allocations: 172 kB / 0.5296 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/0.6172, allocations: 10.66 MB / 0.54 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5364/1.154, allocations: 51.99 MB / 0.5908 GB, free: 90.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04025/1.194, allocations: 18.69 MB / 0.609 GB, free: 83.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/1.195, allocations: 111.1 kB / 0.6091 GB, free: 83.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.224e-05/1.195, allocations: 106.4 kB / 0.6092 GB, free: 83.16 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00503/1.2, allocations: 0.508 MB / 0.6097 GB, free: 83.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=705): time 3.489e-05/1.2, allocations: 0 / 0.6097 GB, free: 83.04 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.102/1.302, allocations: 49.37 MB / 0.6579 GB, free: 48.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/1.303, allocations: 125 kB / 0.6581 GB, free: 48.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005129/1.308, allocations: 3.825 MB / 0.6618 GB, free: 45.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002056/1.31, allocations: 141.7 kB / 0.6619 GB, free: 45.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/1.311, allocations: 2.799 MB / 0.6647 GB, free: 42.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003839/1.315, allocations: 2.693 MB / 0.6673 GB, free: 40.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/1.316, allocations: 160 kB / 0.6675 GB, free: 40.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003936/1.317, allocations: 0.6215 MB / 0.6681 GB, free: 39.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008754/1.326, allocations: 5.698 MB / 0.6736 GB, free: 34.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00986/1.335, allocations: 6.34 MB / 0.6798 GB, free: 28.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/1.346, allocations: 6.751 MB / 0.6864 GB, free: 21.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.667e-05/1.346, allocations: 4 kB / 0.6864 GB, free: 21.93 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.03664/1.383, allocations: 18.67 MB / 0.7046 GB, free: 2.758 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004871/1.384, allocations: 2.61 MB / 0.7072 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/1.384, allocations: 4 kB / 0.7072 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01724/1.401, allocations: 5.854 MB / 0.7129 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01103/1.412, allocations: 1.877 MB / 0.7147 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4284/1.84, allocations: 217.5 MB / 0.9271 GB, free: 5.152 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/1.851, allocations: 0.541 MB / 0.9277 GB, free: 5.016 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003432/1.855, allocations: 263.1 kB / 0.9279 GB, free: 4.957 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.855, allocations: 3.594 kB / 0.9279 GB, free: 4.957 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.01832/1.873, allocations: 6.501 MB / 0.9343 GB, free: 1.785 MB / 0.5138 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated