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.008344/0.008344, allocations: 1.798 MB / 21.36 MB, free: 3.191 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.0008237/0.0008237, allocations: 88.09 kB / 25.15 MB, free: 6.383 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.0009208/0.0009208, allocations: 166.8 kB / 29.06 MB, free: 3.371 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.9441/0.9441, allocations: 177.2 MB / 210 MB, free: 3.574 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.6391/0.6391, allocations: 102.4 MB / 369.5 MB, free: 312 kB / 330.7 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 1.0.0 (/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.[0-9,]+.",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.[0-9,]+.",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 / 470 MB, free: 19.01 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.774e-05, allocations: 2.969 kB / 470 MB, free: 19.01 MB / 410.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.1374/0.1374, allocations: 74.93 MB / 0.5321 GB, free: 12.94 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03096/0.1684, allocations: 24.67 MB / 0.5562 GB, free: 4.207 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005832/0.1742, allocations: 139 kB / 0.5563 GB, free: 4.07 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006919/0.1811, allocations: 2.884 MB / 0.5592 GB, free: 1.172 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.1921, allocations: 4.473 MB / 0.5635 GB, free: 12.67 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009143/0.2012, allocations: 4.482 MB / 0.5679 GB, free: 8.18 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01509/0.2163, allocations: 12.76 MB / 0.5804 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007028/0.2233, allocations: 4.121 MB / 0.5844 GB, free: 7.199 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1291/0.3525, allocations: 52.19 MB / 0.6354 GB, free: 4.152 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2305/0.583, allocations: 4.491 MB / 0.6397 GB, free: 75.51 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002644/0.5856, allocations: 0.8054 MB / 0.6405 GB, free: 75.51 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005905/0.5915, allocations: 2.576 MB / 0.6431 GB, free: 75.51 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002722/0.5943, allocations: 2.653 MB / 0.6456 GB, free: 75.51 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.005509/0.5998, allocations: 2.649 MB / 0.6482 GB, free: 75.51 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.6146, allocations: 8.626 MB / 0.6567 GB, free: 74.85 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.6146, allocations: 0 / 0.6567 GB, free: 74.85 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6146, allocations: 0 / 0.6567 GB, free: 74.85 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003304/0.6149, allocations: 0 / 0.6567 GB, free: 74.85 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.01583/0.6307, allocations: 10.09 MB / 0.6665 GB, free: 71.11 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.6308, allocations: 10.38 kB / 0.6665 GB, free: 71.11 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.6332, allocations: 1.23 MB / 0.6677 GB, free: 70.63 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007166/0.6403, allocations: 4.781 MB / 0.6724 GB, free: 69.5 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.6406, allocations: 305.2 kB / 0.6727 GB, free: 69.49 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007506/0.6413, allocations: 425.3 kB / 0.6731 GB, free: 69.49 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0164/0.6577, allocations: 10.54 MB / 0.6834 GB, free: 62.97 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002517/0.658, allocations: 46.67 kB / 0.6834 GB, free: 62.97 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00084/0.6588, allocations: 197.5 kB / 0.6836 GB, free: 62.97 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005201/0.6593, allocations: 400.7 kB / 0.684 GB, free: 62.96 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.6736, allocations: 4.731 MB / 0.6886 GB, free: 62.91 MB / 0.5418 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.03528/0.7088, allocations: 48.7 MB / 0.7362 GB, free: 18.89 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008808/0.7176, allocations: 4.925 MB / 0.741 GB, free: 16.54 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.7198, allocations: 1.383 MB / 0.7423 GB, free: 15.89 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.7204, allocations: 276.7 kB / 0.7426 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007204/0.7276, allocations: 4.134 MB / 0.7466 GB, free: 13.61 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002398/0.73, allocations: 0.6023 MB / 0.7472 GB, free: 13.17 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=765): time 1.631e-05/0.73, allocations: 0 / 0.7472 GB, free: 13.17 MB / 0.5418 GB Notification: Performance of matching and sorting (n=767): time 0.04774/0.7777, allocations: 39.47 MB / 0.7858 GB, free: 13.95 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006819/0.7784, allocations: 2.015 MB / 0.7877 GB, free: 11.48 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006011/0.7844, allocations: 4.912 MB / 0.7925 GB, free: 6.535 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001372/0.7858, allocations: 102.7 kB / 0.7926 GB, free: 6.43 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002098/0.7879, allocations: 3.024 MB / 0.7956 GB, free: 3.41 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002958/0.7908, allocations: 2.676 MB / 0.7982 GB, free: 0.7734 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002379/0.7932, allocations: 1.782 MB / 0.7999 GB, free: 14.98 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.7933, allocations: 476.8 kB / 0.8004 GB, free: 14.51 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/0.796, allocations: 1.558 MB / 0.8019 GB, free: 12.94 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004826/0.8009, allocations: 6.333 MB / 0.8081 GB, free: 4.824 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009914/0.8108, allocations: 8.374 MB / 0.8163 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.926e-05/0.8108, allocations: 26.62 kB / 0.8163 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01326/0.8241, allocations: 7.429 MB / 0.8236 GB, free: 4.43 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.8241, allocations: 36 kB / 0.8236 GB, free: 4.395 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008328/0.8325, allocations: 4.799 MB / 0.8283 GB, free: 15.59 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02438/0.8568, allocations: 4.237 MB / 0.8324 GB, free: 11.55 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006085/0.8629, allocations: 2.246 MB / 0.8346 GB, free: 9.449 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/0.8683, allocations: 9.021 MB / 0.8434 GB, free: 120 kB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004819/0.8732, allocations: 361.9 kB / 0.8438 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/0.8745, allocations: 0.5075 MB / 0.8443 GB, free: 15.26 MB / 0.6355 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.004928/0.8794, allocations: 1.741 MB / 0.846 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005103/0.8845, allocations: 6.318 MB / 0.8521 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01094/0.8955, allocations: 8.329 MB / 0.8603 GB, free: 12.07 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.722e-05/0.8955, allocations: 22.73 kB / 0.8603 GB, free: 12.05 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01456/0.9101, allocations: 7.392 MB / 0.8675 GB, free: 5.109 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.9101, allocations: 37.25 kB / 0.8675 GB, free: 5.074 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009802/0.9199, allocations: 4.763 MB / 0.8722 GB, free: 312 kB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2767/1.197, allocations: 4.189 MB / 0.8763 GB, free: 179.4 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005547/1.202, allocations: 2.15 MB / 0.8784 GB, free: 179.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/1.206, allocations: 6.32 MB / 0.8846 GB, free: 173.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00575/1.212, allocations: 371.5 kB / 0.8849 GB, free: 173.9 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001907/1.213, allocations: 0.4997 MB / 0.8854 GB, free: 173.9 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: 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.002867/1.216, allocations: 0.7563 MB / 0.8861 GB, free: 173.7 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0027/1.219, allocations: 0.8093 MB / 0.8869 GB, free: 173.7 MB / 0.6512 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 1164 equation(s) and 1113 variable(s). Error: ($cse431, $cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441, $cse442) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.tubes.p, -1.0, {}, pressureSink_ph1.fluidOut.vleFluidPointer) has size 12 but 8 variables ($cse279, $cse280, $cse281, $cse282, 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.01205/1.231, allocations: 7.986 MB / 0.8947 GB, free: 173.2 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.9046079139225185]