Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.007238/0.007238, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0007532/0.0007532, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.001118/0.001118, allocations: 160.8 kB / 27.85 MB, free: 5.098 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.8749/0.8749, allocations: 177.2 MB / 208.6 MB, free: 2.957 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.7285/0.7285, allocations: 102.5 MB / 367.9 MB, free: 1.48 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.5362 GB, free: 40.03 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.487e-05, allocations: 8.938 kB / 0.5362 GB, free: 40.02 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.125/0.125, allocations: 69.25 MB / 0.6038 GB, free: 7.227 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03394/0.1589, allocations: 23.72 MB / 0.627 GB, free: 15.43 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006473/0.1654, allocations: 139 kB / 0.6271 GB, free: 15.29 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.007423/0.1728, allocations: 2.884 MB / 0.6299 GB, free: 12.39 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.1854, allocations: 4.458 MB / 0.6343 GB, free: 7.906 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009728/0.1952, allocations: 4.475 MB / 0.6387 GB, free: 3.422 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01689/0.212, allocations: 12.77 MB / 0.6511 GB, free: 6.602 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006935/0.219, allocations: 3.927 MB / 0.655 GB, free: 2.605 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01423/0.2332, allocations: 6.841 MB / 0.6617 GB, free: 11.75 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008169/0.2414, allocations: 4.566 MB / 0.6661 GB, free: 7.176 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.003789/0.2452, allocations: 0.8477 MB / 0.6669 GB, free: 6.328 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008002/0.2532, allocations: 2.624 MB / 0.6695 GB, free: 3.699 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.004155/0.2573, allocations: 2.753 MB / 0.6722 GB, free: 0.9375 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.006687/0.264, allocations: 2.731 MB / 0.6749 GB, free: 14.2 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01874/0.2828, allocations: 13.42 MB / 0.688 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.2828, allocations: 8 kB / 0.688 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2828, allocations: 0 / 0.688 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000484/0.2833, allocations: 0 / 0.688 GB, free: 0.7344 MB / 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.02237/0.3056, allocations: 9.705 MB / 0.6975 GB, free: 6.934 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 8.46e-05/0.3057, allocations: 12.03 kB / 0.6975 GB, free: 6.922 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002816/0.3085, allocations: 0.7124 MB / 0.6982 GB, free: 6.199 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003842/0.3124, allocations: 1.021 MB / 0.6992 GB, free: 5.172 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01387/0.3262, allocations: 6.141 MB / 0.7052 GB, free: 14.94 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.3266, allocations: 307.7 kB / 0.7055 GB, free: 14.64 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/0.3282, allocations: 391.9 kB / 0.7058 GB, free: 14.26 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02317/0.3514, allocations: 12.61 MB / 0.7181 GB, free: 116 kB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.295e-05/0.3514, allocations: 39.62 kB / 0.7182 GB, free: 76 kB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005371/0.352, allocations: 200 kB / 0.7184 GB, free: 15.88 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003119/0.3523, allocations: 406.1 kB / 0.7188 GB, free: 15.48 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.3691, allocations: 8.846 MB / 0.7274 GB, free: 6.613 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.3091/0.6782, allocations: 39.52 MB / 0.766 GB, free: 169.8 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.6904, allocations: 7.154 MB / 0.773 GB, free: 168.6 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004292/0.6947, allocations: 2.82 MB / 0.7757 GB, free: 167.3 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006804/0.6953, allocations: 255.1 kB / 0.776 GB, free: 167.3 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009815/0.7051, allocations: 5.887 MB / 0.7817 GB, free: 164.9 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002553/0.7077, allocations: 0.5935 MB / 0.7823 GB, free: 164.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=765): time 1.048e-05/0.7077, allocations: 1.094 kB / 0.7823 GB, free: 164.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=767): time 0.05834/0.7661, allocations: 47.85 MB / 0.829 GB, free: 132.8 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002553/0.7663, allocations: 1.674 MB / 0.8307 GB, free: 130.8 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005961/0.7723, allocations: 5.676 MB / 0.8362 GB, free: 125.2 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001625/0.7739, allocations: 89.7 kB / 0.8363 GB, free: 125.1 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.7753, allocations: 2.826 MB / 0.8391 GB, free: 122.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002638/0.7779, allocations: 2.6 MB / 0.8416 GB, free: 120.3 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001772/0.7797, allocations: 1.674 MB / 0.8432 GB, free: 118.6 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.131e-05/0.7797, allocations: 301.1 kB / 0.8435 GB, free: 118.3 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004011/0.7838, allocations: 3.822 MB / 0.8473 GB, free: 114.5 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00483/0.7886, allocations: 7.145 MB / 0.8542 GB, free: 106.1 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1334/0.922, allocations: 46.25 MB / 0.8994 GB, free: 59.86 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.195e-05/0.922, allocations: 24 kB / 0.8994 GB, free: 59.84 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01795/0.94, allocations: 11.7 MB / 0.9109 GB, free: 48.08 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.079e-05/0.94, allocations: 36.28 kB / 0.9109 GB, free: 48.05 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01135/0.9514, allocations: 9.016 MB / 0.9197 GB, free: 38.97 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02196/0.9733, allocations: 4.345 MB / 0.9239 GB, free: 34.65 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005703/0.9791, allocations: 2.262 MB / 0.9261 GB, free: 32.39 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004825/0.9839, allocations: 7.887 MB / 0.9338 GB, free: 24.17 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005144/0.989, allocations: 400.8 kB / 0.9342 GB, free: 23.79 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/0.9902, allocations: 0.5036 MB / 0.9347 GB, free: 23.28 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.007726/0.9979, allocations: 5.296 MB / 0.9399 GB, free: 17.97 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00518/1.003, allocations: 7.094 MB / 0.9468 GB, free: 9.586 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1403/1.143, allocations: 46.05 MB / 0.9918 GB, free: 10.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.194e-05/1.143, allocations: 20 kB / 0.9918 GB, free: 10.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01991/1.163, allocations: 11.55 MB / 1.003 GB, free: 14.94 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/1.163, allocations: 44.19 kB / 1.003 GB, free: 14.89 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01354/1.177, allocations: 8.898 MB / 1.012 GB, free: 5.938 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02241/1.199, allocations: 4.262 MB / 1.016 GB, free: 1.691 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005783/1.205, allocations: 2.164 MB / 1.018 GB, free: 15.52 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/1.211, allocations: 6.725 MB / 1.025 GB, free: 8.445 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005362/1.216, allocations: 408.5 kB / 1.025 GB, free: 8.047 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/1.218, allocations: 0.4997 MB / 1.026 GB, free: 7.547 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.002732/1.221, allocations: 0.6677 MB / 1.026 GB, free: 6.914 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002234/1.223, allocations: 0.7022 MB / 1.027 GB, free: 6.207 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.2975/1.52, allocations: 9.586 MB / 1.036 GB, free: 241.8 MB / 0.7293 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.369417103007436] Failed to read output from testmodel.py, exit status != 0: 1.6765929348766804 1.683041129 1.398532151 Calling exit ...