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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01089/0.01089, allocations: 1.358 MB / 20.45 MB, free: 4.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07787/0.07787, allocations: 18.25 MB / 42.2 MB, free: 5.188 MB / 33.03 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.001037/0.001037, allocations: 87.42 kB / 53.06 MB, free: 6.387 MB / 44.04 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.001349/0.001349, allocations: 154.5 kB / 64.03 MB, free: 10.08 MB / 58.72 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.8912/0.8912, allocations: 177.2 MB / 252.1 MB, free: 11.79 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.4868/0.4868, allocations: 102.6 MB / 418.7 MB, free: 5.324 MB / 362.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.603 GB, free: 340 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.127e-05, allocations: 3.969 kB / 0.603 GB, free: 336 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple): time 0.01664/0.01666, allocations: 22.59 MB / 0.6251 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0305/0.04716, allocations: 23.71 MB / 0.6483 GB, free: 1.859 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0049/0.05206, allocations: 139 kB / 0.6484 GB, free: 1.723 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.007513/0.05958, allocations: 2.882 MB / 0.6512 GB, free: 14.83 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.07037, allocations: 4.464 MB / 0.6556 GB, free: 10.34 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.009491/0.07986, allocations: 4.476 MB / 0.6599 GB, free: 5.867 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2664/0.3463, allocations: 12.76 MB / 0.6724 GB, free: 20.3 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00652/0.3528, allocations: 3.929 MB / 0.6762 GB, free: 19.9 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01629/0.3691, allocations: 6.841 MB / 0.6829 GB, free: 19.33 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00947/0.3785, allocations: 4.568 MB / 0.6874 GB, free: 18.88 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.00388/0.3824, allocations: 0.8473 MB / 0.6882 GB, free: 18.88 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008718/0.3911, allocations: 2.633 MB / 0.6908 GB, free: 18.78 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.00438/0.3955, allocations: 2.75 MB / 0.6935 GB, free: 18.38 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.007955/0.4035, allocations: 2.72 MB / 0.6961 GB, free: 18.04 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01901/0.4225, allocations: 13.44 MB / 0.7092 GB, free: 12.89 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4225, allocations: 3.984 kB / 0.7092 GB, free: 12.88 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4225, allocations: 0 / 0.7092 GB, free: 12.88 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004416/0.4229, allocations: 0 / 0.7092 GB, free: 12.88 MB / 0.5418 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.01974/0.4427, allocations: 9.703 MB / 0.7187 GB, free: 6.254 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.4427, allocations: 13.31 kB / 0.7187 GB, free: 6.25 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001341/0.4441, allocations: 0.7145 MB / 0.7194 GB, free: 5.73 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/0.4465, allocations: 1.011 MB / 0.7204 GB, free: 5.164 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008204/0.4547, allocations: 6.143 MB / 0.7264 GB, free: 1.16 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.4549, allocations: 309.9 kB / 0.7267 GB, free: 1.027 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005388/0.4554, allocations: 387.3 kB / 0.7271 GB, free: 0.9062 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.4724, allocations: 12.61 MB / 0.7394 GB, free: 7.137 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.746e-05/0.4725, allocations: 41.47 kB / 0.7394 GB, free: 7.137 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004681/0.4729, allocations: 205 kB / 0.7396 GB, free: 7.012 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003027/0.4732, allocations: 398.7 kB / 0.74 GB, free: 6.91 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/0.4905, allocations: 8.843 MB / 0.7486 GB, free: 14.79 MB / 0.573 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.04247/0.5329, allocations: 39.53 MB / 0.7872 GB, free: 6.551 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.5453, allocations: 7.168 MB / 0.7942 GB, free: 15.24 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004061/0.5493, allocations: 2.816 MB / 0.797 GB, free: 12.34 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/0.55, allocations: 264.1 kB / 0.7972 GB, free: 12.09 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01158/0.5616, allocations: 5.876 MB / 0.803 GB, free: 6.066 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002863/0.5644, allocations: 0.6003 MB / 0.8036 GB, free: 5.465 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=765): time 1.624e-05/0.5645, allocations: 0 / 0.8036 GB, free: 5.465 MB / 0.6199 GB Notification: Performance of matching and sorting (n=767): time 0.06755/0.632, allocations: 47.85 MB / 0.8503 GB, free: 5.309 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004816/0.6325, allocations: 1.681 MB / 0.8519 GB, free: 3.242 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007996/0.6405, allocations: 5.665 MB / 0.8575 GB, free: 13.57 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.00131/0.6418, allocations: 97.7 kB / 0.8576 GB, free: 13.47 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.001883/0.6437, allocations: 2.822 MB / 0.8603 GB, free: 10.65 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.003537/0.6472, allocations: 2.599 MB / 0.8629 GB, free: 8.086 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003099/0.6503, allocations: 1.671 MB / 0.8645 GB, free: 6.406 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.6504, allocations: 301.9 kB / 0.8648 GB, free: 6.109 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005387/0.6558, allocations: 3.819 MB / 0.8685 GB, free: 2.273 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008217/0.664, allocations: 7.147 MB / 0.8755 GB, free: 9.875 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1551/0.8191, allocations: 46.25 MB / 0.9207 GB, free: 10.89 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.699e-05/0.8191, allocations: 23.98 kB / 0.9207 GB, free: 10.87 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.0211/0.8402, allocations: 11.7 MB / 0.9321 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.8403, allocations: 36.94 kB / 0.9321 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01831/0.8586, allocations: 9.015 MB / 0.9409 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02418/0.8828, allocations: 4.345 MB / 0.9452 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2773/1.16, allocations: 2.262 MB / 0.9474 GB, free: 267.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005932/1.166, allocations: 7.884 MB / 0.9551 GB, free: 261.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005042/1.171, allocations: 404.2 kB / 0.9555 GB, free: 261.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/1.173, allocations: 0.5033 MB / 0.956 GB, free: 261.8 MB / 0.7605 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.009795/1.182, allocations: 5.296 MB / 0.9611 GB, free: 260 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006877/1.189, allocations: 7.087 MB / 0.9681 GB, free: 254.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.151/1.34, allocations: 46.06 MB / 1.013 GB, free: 232.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.256e-05/1.34, allocations: 20 kB / 1.013 GB, free: 232.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01929/1.36, allocations: 11.56 MB / 1.024 GB, free: 221 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/1.36, allocations: 36 kB / 1.024 GB, free: 221 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01628/1.376, allocations: 8.898 MB / 1.033 GB, free: 212 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02311/1.399, allocations: 4.262 MB / 1.037 GB, free: 207.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0056/1.405, allocations: 2.168 MB / 1.039 GB, free: 205.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004448/1.409, allocations: 6.72 MB / 1.046 GB, free: 198.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005474/1.415, allocations: 408.5 kB / 1.046 GB, free: 198.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001448/1.416, allocations: 0.5036 MB / 1.047 GB, free: 197.7 MB / 0.7605 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.002814/1.419, allocations: 0.6612 MB / 1.047 GB, free: 197.1 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002061/1.421, allocations: 0.7095 MB / 1.048 GB, free: 196.8 MB / 0.7605 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.01276/1.434, allocations: 9.595 MB / 1.058 GB, free: 187.5 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.178862443193793]