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 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.006226/0.006226, 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.07722/0.07722, allocations: 18.25 MB / 42.2 MB, free: 5.18 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.0009301/0.0009301, allocations: 84.06 kB / 53.06 MB, free: 6.512 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.001115/0.001115, allocations: 154.5 kB / 64.03 MB, free: 10.21 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.8987/0.8987, allocations: 177.2 MB / 252 MB, free: 11.79 MB / 218.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.5115/0.5115, allocations: 102.5 MB / 418.6 MB, free: 5.203 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/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_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_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.814e-06/1.814e-06, allocations: 0 / 0.6029 GB, free: 268 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.573e-05, allocations: 6.938 kB / 0.6029 GB, free: 260 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple): time 0.02166/0.02168, allocations: 22.58 MB / 0.625 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03489/0.05657, allocations: 23.72 MB / 0.6482 GB, free: 1.781 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005343/0.06191, allocations: 139 kB / 0.6483 GB, free: 1.645 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.007098/0.06901, allocations: 2.879 MB / 0.6511 GB, free: 14.75 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01278/0.08179, allocations: 4.458 MB / 0.6555 GB, free: 10.27 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.009372/0.09116, allocations: 4.481 MB / 0.6598 GB, free: 5.789 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2503/0.3414, allocations: 12.76 MB / 0.6723 GB, free: 20.29 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005242/0.3467, allocations: 3.924 MB / 0.6761 GB, free: 19.89 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01209/0.3588, allocations: 6.844 MB / 0.6828 GB, free: 19.32 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007372/0.3661, allocations: 4.558 MB / 0.6873 GB, free: 18.87 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.00273/0.3689, allocations: 0.8469 MB / 0.6881 GB, free: 18.87 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006718/0.3756, allocations: 2.637 MB / 0.6907 GB, free: 18.77 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005774/0.3814, allocations: 2.751 MB / 0.6934 GB, free: 18.37 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.007274/0.3886, allocations: 2.717 MB / 0.696 GB, free: 18.02 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.4041, allocations: 13.44 MB / 0.7091 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4041, allocations: 0 / 0.7091 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4041, allocations: 0 / 0.7091 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004071/0.4045, allocations: 2.656 kB / 0.7091 GB, free: 12.8 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.01761/0.4222, allocations: 9.704 MB / 0.7186 GB, free: 6.16 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4222, allocations: 10.25 kB / 0.7186 GB, free: 6.16 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009303/0.4231, allocations: 0.7185 MB / 0.7193 GB, free: 5.637 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.4252, allocations: 1.009 MB / 0.7203 GB, free: 5.07 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009807/0.435, allocations: 6.144 MB / 0.7263 GB, free: 1.066 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.4352, allocations: 306 kB / 0.7266 GB, free: 0.9375 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.4363, allocations: 391.1 kB / 0.727 GB, free: 0.8125 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01735/0.4537, allocations: 12.61 MB / 0.7393 GB, free: 7.039 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.283e-05/0.4538, allocations: 46.48 kB / 0.7393 GB, free: 7.035 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005286/0.4543, allocations: 195.2 kB / 0.7395 GB, free: 6.918 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002989/0.4546, allocations: 399.4 kB / 0.7399 GB, free: 6.816 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01721/0.4718, allocations: 8.84 MB / 0.7485 GB, free: 14.68 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.04946/0.5213, allocations: 39.54 MB / 0.7871 GB, free: 6.418 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/0.5347, allocations: 7.157 MB / 0.7941 GB, free: 15.11 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004549/0.5392, allocations: 2.823 MB / 0.7969 GB, free: 12.21 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007142/0.5399, allocations: 254.2 kB / 0.7971 GB, free: 11.96 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01063/0.5506, allocations: 5.886 MB / 0.8029 GB, free: 5.938 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002301/0.5529, allocations: 0.5999 MB / 0.8035 GB, free: 5.336 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=765): time 1.612e-05/0.5529, allocations: 0 / 0.8035 GB, free: 5.336 MB / 0.6199 GB Notification: Performance of matching and sorting (n=767): time 0.05729/0.6102, allocations: 47.84 MB / 0.8502 GB, free: 5.18 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004675/0.6106, allocations: 1.678 MB / 0.8518 GB, free: 3.117 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007389/0.618, allocations: 5.67 MB / 0.8574 GB, free: 13.44 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.001299/0.6193, allocations: 89.7 kB / 0.8575 GB, free: 13.35 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.621, allocations: 2.826 MB / 0.8602 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0026/0.6236, allocations: 2.609 MB / 0.8628 GB, free: 7.953 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002095/0.6257, allocations: 1.665 MB / 0.8644 GB, free: 6.281 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.6258, allocations: 305.1 kB / 0.8647 GB, free: 5.98 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/0.6307, allocations: 3.819 MB / 0.8684 GB, free: 2.145 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007015/0.6377, allocations: 7.149 MB / 0.8754 GB, free: 9.746 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1481/0.7858, allocations: 46.25 MB / 0.9206 GB, free: 10.76 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.86e-05/0.7858, allocations: 24 kB / 0.9206 GB, free: 10.74 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02166/0.8075, allocations: 11.7 MB / 0.932 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.316e-05/0.8075, allocations: 32 kB / 0.932 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01425/0.8218, allocations: 9.012 MB / 0.9408 GB, free: 6.316 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02326/0.8451, allocations: 4.348 MB / 0.9451 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2402/1.085, allocations: 2.265 MB / 0.9473 GB, free: 267.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005602/1.091, allocations: 7.887 MB / 0.955 GB, free: 262 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004869/1.096, allocations: 405 kB / 0.9554 GB, free: 262 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000905/1.097, allocations: 0.5037 MB / 0.9559 GB, free: 262 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.007701/1.104, allocations: 5.299 MB / 0.961 GB, free: 260.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005252/1.11, allocations: 7.09 MB / 0.968 GB, free: 254.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1434/1.253, allocations: 46.05 MB / 1.013 GB, free: 232.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.006e-05/1.253, allocations: 24 kB / 1.013 GB, free: 232.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01489/1.268, allocations: 11.55 MB / 1.024 GB, free: 220.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.268, allocations: 36 kB / 1.024 GB, free: 220.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009875/1.278, allocations: 8.898 MB / 1.033 GB, free: 211.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02619/1.304, allocations: 4.261 MB / 1.037 GB, free: 207.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00661/1.311, allocations: 2.164 MB / 1.039 GB, free: 205.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005164/1.316, allocations: 6.714 MB / 1.046 GB, free: 198.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005594/1.321, allocations: 404.6 kB / 1.046 GB, free: 198 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008706/1.322, allocations: 0.5036 MB / 1.047 GB, free: 197.5 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.002323/1.325, allocations: 0.6706 MB / 1.047 GB, free: 196.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.326, allocations: 0.7013 MB / 1.048 GB, free: 196.6 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.01167/1.338, allocations: 9.606 MB / 1.057 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.03023792989552]