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.008671/0.008671, allocations: 1.435 MB / 21.29 MB, free: 3.25 MB / 18.57 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.0009972/0.0009972, allocations: 92 kB / 24.91 MB, free: 7.273 MB / 18.57 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.001145/0.001145, allocations: 168.6 kB / 28.62 MB, free: 4.445 MB / 18.57 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 0.8702/0.8702, allocations: 177.1 MB / 209.4 MB, free: 2.965 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7601/0.7601, allocations: 102.5 MB / 368.7 MB, free: 1.441 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5374 GB, free: 39.74 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.187e-05, allocations: 4.891 kB / 0.5374 GB, free: 39.74 MB / 490.8 MB 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.1277/0.1278, allocations: 69.26 MB / 0.605 GB, free: 6.691 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03459/0.1624, allocations: 23.71 MB / 0.6282 GB, free: 14.9 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00547/0.1678, allocations: 139 kB / 0.6283 GB, free: 14.77 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.006603/0.1744, allocations: 2.883 MB / 0.6312 GB, free: 11.87 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009998/0.1844, allocations: 4.466 MB / 0.6355 GB, free: 7.375 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008467/0.1929, allocations: 4.482 MB / 0.6399 GB, free: 2.883 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01415/0.2071, allocations: 12.77 MB / 0.6524 GB, free: 6.07 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005773/0.2128, allocations: 3.916 MB / 0.6562 GB, free: 2.082 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/0.2246, allocations: 6.845 MB / 0.6629 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007281/0.2318, allocations: 4.563 MB / 0.6673 GB, free: 6.648 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.002168/0.234, allocations: 0.8438 MB / 0.6682 GB, free: 5.805 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00601/0.24, allocations: 2.639 MB / 0.6707 GB, free: 3.16 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.003226/0.2433, allocations: 2.753 MB / 0.6734 GB, free: 408 kB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.005278/0.2485, allocations: 2.72 MB / 0.6761 GB, free: 13.67 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.2638, allocations: 13.43 MB / 0.6892 GB, free: 208 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2638, allocations: 0 / 0.6892 GB, free: 208 kB / 0.573 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2638, allocations: 0 / 0.6892 GB, free: 208 kB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003314/0.2642, allocations: 7.938 kB / 0.6892 GB, free: 200 kB / 0.573 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.01541/0.2796, allocations: 9.698 MB / 0.6987 GB, free: 6.402 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2796, allocations: 8.031 kB / 0.6987 GB, free: 6.395 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/0.2818, allocations: 1.018 MB / 0.6997 GB, free: 5.371 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.2923, allocations: 6.134 MB / 0.7057 GB, free: 15.14 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.2925, allocations: 307.7 kB / 0.706 GB, free: 14.85 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009543/0.2935, allocations: 395.8 kB / 0.7063 GB, free: 14.46 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.3111, allocations: 12.61 MB / 0.7186 GB, free: 332 kB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.3112, allocations: 47.61 kB / 0.7187 GB, free: 284 kB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006982/0.3119, allocations: 200 kB / 0.7189 GB, free: 84 kB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003443/0.3123, allocations: 406.2 kB / 0.7193 GB, free: 15.68 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/0.3274, allocations: 8.838 MB / 0.7279 GB, free: 6.824 MB / 0.6199 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.3124/0.6397, allocations: 38.87 MB / 0.7659 GB, free: 169.6 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/0.6538, allocations: 7.157 MB / 0.7729 GB, free: 168.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00621/0.66, allocations: 2.823 MB / 0.7756 GB, free: 167.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.661, allocations: 258.4 kB / 0.7759 GB, free: 167.3 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01143/0.6724, allocations: 5.887 MB / 0.7816 GB, free: 165.2 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002452/0.6749, allocations: 0.5754 MB / 0.7822 GB, free: 165.1 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=765): time 2.155e-05/0.6749, allocations: 2.594 kB / 0.7822 GB, free: 165.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=767): time 0.05842/0.7333, allocations: 47.84 MB / 0.8289 GB, free: 133.6 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002178/0.7336, allocations: 1.674 MB / 0.8305 GB, free: 131.6 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005615/0.7392, allocations: 5.527 MB / 0.8359 GB, free: 126.1 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001465/0.7406, allocations: 91.11 kB / 0.836 GB, free: 126 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.742, allocations: 2.842 MB / 0.8388 GB, free: 123.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00261/0.7446, allocations: 2.599 MB / 0.8413 GB, free: 121.2 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/0.7463, allocations: 1.666 MB / 0.8429 GB, free: 119.6 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.915e-05/0.7464, allocations: 315.2 kB / 0.8432 GB, free: 119.3 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004232/0.7506, allocations: 3.809 MB / 0.847 GB, free: 115.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005245/0.7558, allocations: 7.151 MB / 0.854 GB, free: 107 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1413/0.8972, allocations: 46.26 MB / 0.8991 GB, free: 60.82 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.462e-05/0.8972, allocations: 23.94 kB / 0.8991 GB, free: 60.79 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01765/0.9149, allocations: 11.7 MB / 0.9106 GB, free: 49.04 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.9149, allocations: 36 kB / 0.9106 GB, free: 49.01 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01166/0.9266, allocations: 9.007 MB / 0.9194 GB, free: 39.94 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0232/0.9498, allocations: 4.349 MB / 0.9236 GB, free: 35.62 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005929/0.9557, allocations: 2.267 MB / 0.9259 GB, free: 33.36 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004897/0.9606, allocations: 7.836 MB / 0.9335 GB, free: 25.21 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005084/0.9657, allocations: 409.3 kB / 0.9339 GB, free: 24.82 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008854/0.9666, allocations: 0.4997 MB / 0.9344 GB, free: 24.32 MB / 0.6512 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.007575/0.9741, allocations: 5.293 MB / 0.9396 GB, free: 19.01 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00494/0.9791, allocations: 7.094 MB / 0.9465 GB, free: 10.62 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1443/1.123, allocations: 46.05 MB / 0.9915 GB, free: 11.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-05/1.123, allocations: 24 kB / 0.9915 GB, free: 11.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01949/1.143, allocations: 11.54 MB / 1.003 GB, free: 15.97 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/1.143, allocations: 39.98 kB / 1.003 GB, free: 15.93 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01332/1.156, allocations: 8.898 MB / 1.011 GB, free: 6.973 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02431/1.181, allocations: 4.253 MB / 1.016 GB, free: 2.734 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006198/1.187, allocations: 2.168 MB / 1.018 GB, free: 0.5625 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006721/1.194, allocations: 6.647 MB / 1.024 GB, free: 9.59 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004786/1.198, allocations: 416.4 kB / 1.025 GB, free: 9.188 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007622/1.199, allocations: 0.4997 MB / 1.025 GB, free: 8.688 MB / 0.7293 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.001806/1.201, allocations: 0.6653 MB / 1.026 GB, free: 8.059 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/1.202, allocations: 0.6983 MB / 1.026 GB, free: 7.355 MB / 0.7293 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.2958/1.498, allocations: 9.573 MB / 1.036 GB, free: 241.4 MB / 0.7293 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.330230547115207] Failed to read output from testmodel.py, exit status != 0: 1.6668219733983278 1.675416826 1.409693353 Calling exit ...