Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01529/0.01529, allocations: 1.757 MB / 20.6 MB, free: 0.8828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 105.5 kB / 24.18 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 217.9 kB / 27.9 MB, free: 3.504 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 230.6 MB / 262.1 MB, free: 5.859 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.059/1.059, allocations: 130.7 MB / 449.6 MB, free: 6.426 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06591/0.06591, allocations: 20.98 MB / 0.6363 GB, free: 4.207 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.2417, allocations: 81.91 MB / 0.7163 GB, free: 2.207 MB / 0.5294 GB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple): time 0.5505/0.7921, allocations: 55.62 MB / 0.7706 GB, free: 14.08 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04566/0.8378, allocations: 24 MB / 0.7941 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008721/0.8465, allocations: 138.9 kB / 0.7942 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.8566, allocations: 2.867 MB / 0.797 GB, free: 11.31 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01644/0.8731, allocations: 4.337 MB / 0.8012 GB, free: 7.879 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01439/0.8875, allocations: 4.407 MB / 0.8055 GB, free: 4.523 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02339/0.9109, allocations: 12.48 MB / 0.8177 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009505/0.9204, allocations: 3.897 MB / 0.8215 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01234/0.9327, allocations: 5.05 MB / 0.8265 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.9442, allocations: 5.091 MB / 0.8314 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003874/0.9481, allocations: 0.8502 MB / 0.8323 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.9584, allocations: 2.602 MB / 0.8348 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005735/0.9641, allocations: 2.683 MB / 0.8374 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0101/0.9742, allocations: 3.297 MB / 0.8406 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0272/1.001, allocations: 13.35 MB / 0.8537 GB, free: 5.449 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.001, allocations: 0 / 0.8537 GB, free: 5.449 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.294e-06/1.001, allocations: 4 kB / 0.8537 GB, free: 5.445 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004986/1.002, allocations: 3.938 kB / 0.8537 GB, free: 5.441 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1530 * Number of variables: 1530 Notification: Performance of Generate backend data structure: time 0.03146/1.033, allocations: 9.776 MB / 0.8632 GB, free: 11.61 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/1.033, allocations: 12.03 kB / 0.8632 GB, free: 11.6 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/1.039, allocations: 1.02 MB / 0.8642 GB, free: 10.58 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01738/1.056, allocations: 6.142 MB / 0.8702 GB, free: 4.375 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005581/1.056, allocations: 315.7 kB / 0.8705 GB, free: 4.066 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002157/1.059, allocations: 383.9 kB / 0.8709 GB, free: 3.691 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03254/1.091, allocations: 12.61 MB / 0.8832 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002366/1.091, allocations: 43.56 kB / 0.8833 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001882/1.093, allocations: 200 kB / 0.8834 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006638/1.094, allocations: 402.2 kB / 0.8838 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02719/1.121, allocations: 8.847 MB / 0.8925 GB, free: 12.09 MB / 0.67 GB 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.06837/1.19, allocations: 38.99 MB / 0.9305 GB, free: 3.973 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02136/1.211, allocations: 7.166 MB / 0.9375 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006876/1.218, allocations: 2.821 MB / 0.9403 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/1.219, allocations: 256.8 kB / 0.9405 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01775/1.237, allocations: 5.883 MB / 0.9463 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00363/1.24, allocations: 0.5868 MB / 0.9469 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=765): time 2.292e-05/1.24, allocations: 0 / 0.9469 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=767): time 0.09855/1.339, allocations: 47.84 MB / 0.9936 GB, free: 2.719 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001018/1.34, allocations: 1.679 MB / 0.9952 GB, free: 0.6445 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009947/1.35, allocations: 5.529 MB / 1.001 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001713/1.352, allocations: 93.7 kB / 1.001 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003042/1.355, allocations: 2.847 MB / 1.003 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003972/1.359, allocations: 2.633 MB / 1.006 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003089/1.362, allocations: 1.688 MB / 1.008 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.362, allocations: 309.1 kB / 1.008 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008769/1.371, allocations: 3.811 MB / 1.012 GB, free: 15.66 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/1.382, allocations: 7.149 MB / 1.019 GB, free: 7.219 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6329/2.015, allocations: 46.25 MB / 1.064 GB, free: 345 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.076e-05/2.015, allocations: 22.25 kB / 1.064 GB, free: 345 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02626/2.041, allocations: 11.69 MB / 1.075 GB, free: 341.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/2.041, allocations: 35.78 kB / 1.075 GB, free: 341.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01683/2.058, allocations: 9.014 MB / 1.084 GB, free: 337.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04325/2.102, allocations: 4.341 MB / 1.088 GB, free: 337.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009306/2.111, allocations: 2.266 MB / 1.091 GB, free: 337.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008009/2.119, allocations: 7.837 MB / 1.098 GB, free: 331 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006986/2.126, allocations: 413.3 kB / 1.099 GB, free: 330.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001847/2.128, allocations: 0.5026 MB / 1.099 GB, free: 330.3 MB / 0.8263 GB Warning: Assuming fixed start value for the following 2 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01177/2.139, allocations: 5.297 MB / 1.104 GB, free: 325.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009367/2.149, allocations: 7.091 MB / 1.111 GB, free: 316.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2681/2.417, allocations: 46.04 MB / 1.156 GB, free: 270.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.241e-05/2.417, allocations: 24.44 kB / 1.156 GB, free: 270.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02618/2.443, allocations: 11.56 MB / 1.168 GB, free: 259.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/2.443, allocations: 37.41 kB / 1.168 GB, free: 259.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01919/2.462, allocations: 8.894 MB / 1.176 GB, free: 250.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04253/2.505, allocations: 4.261 MB / 1.18 GB, free: 245.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007886/2.513, allocations: 2.168 MB / 1.183 GB, free: 243.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/2.52, allocations: 6.661 MB / 1.189 GB, free: 236.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006589/2.527, allocations: 404.6 kB / 1.189 GB, free: 236.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001664/2.528, allocations: 0.4997 MB / 1.19 GB, free: 235.9 MB / 0.8263 GB Warning: Assuming fixed start value for the following 2 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.PI.time_lag_I_activation.entryTime,$PRE.PI.switch_OnOff.u2,PI.I_activation.y,PI.time_lag_I_activation.entryTime,PI.switch_OnOff.u2,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1063): * Single equations (assignments): 1056 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,3,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,17)} Notification: Performance of prepare postOptimizeDAE: time 0.003294/2.532, allocations: 0.6709 MB / 1.191 GB, free: 235.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002862/2.534, allocations: 0.6902 MB / 1.191 GB, free: 234.9 MB / 0.8263 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 1165 equation(s) and 1114 variable(s). Error: ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441, $cse442, $cse443) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.tubes.p, -1.0, {}, pressureSink_ph1.fluidOut.vleFluidPointer) has size 12 but 8 variables ($cse280, $cse281, $cse282, $cse283, hex.shell.liq.transp.Pr, hex.shell.liq.transp.lambda, hex.shell.liq.transp.eta, hex.shell.liq.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/2.553, allocations: 9.588 MB / 1.201 GB, free: 225.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.3288440350443125] Failed to read output from testmodel.py, exit status != 0: 2.713738538324833 2.724837412 1.720683092 Calling exit ...