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.008217/0.008217, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0007641/0.0007641, allocations: 82.69 kB / 26.19 MB, free: 6.074 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.0008826/0.0008826, allocations: 175 kB / 30.13 MB, free: 2.18 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.9829/0.9829, allocations: 177.2 MB / 211.1 MB, free: 3.449 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.6166/0.6166, allocations: 102.4 MB / 370.6 MB, free: 200 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.513e-06/1.513e-06, allocations: 0 / 471.2 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.37e-05, allocations: 8.844 kB / 471.2 MB, free: 18.82 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.1327/0.1328, allocations: 74.27 MB / 0.5327 GB, free: 13.29 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.04982/0.1826, allocations: 24.53 MB / 0.5567 GB, free: 4.691 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007879/0.1905, allocations: 143 kB / 0.5568 GB, free: 4.551 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.009187/0.1996, allocations: 2.895 MB / 0.5596 GB, free: 1.645 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009419/0.2091, allocations: 4.481 MB / 0.564 GB, free: 13.14 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007548/0.2166, allocations: 4.467 MB / 0.5684 GB, free: 8.66 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01413/0.2307, allocations: 12.76 MB / 0.5808 GB, free: 11.86 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006793/0.2375, allocations: 4.109 MB / 0.5849 GB, free: 7.684 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1232/0.3607, allocations: 52.19 MB / 0.6358 GB, free: 4.672 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006931/0.3676, allocations: 4.48 MB / 0.6402 GB, free: 184 kB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.2122/0.5798, allocations: 0.8046 MB / 0.641 GB, free: 79.8 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005511/0.5853, allocations: 2.578 MB / 0.6435 GB, free: 79.8 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.587, allocations: 2.658 MB / 0.6461 GB, free: 79.8 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003949/0.591, allocations: 2.648 MB / 0.6487 GB, free: 79.8 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.6011, allocations: 8.629 MB / 0.6571 GB, free: 79.13 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6011, allocations: 0 / 0.6571 GB, free: 79.13 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6011, allocations: 1.062 kB / 0.6571 GB, free: 79.13 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001232/0.6012, allocations: 0 / 0.6571 GB, free: 79.13 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.01025/0.6114, allocations: 10.18 MB / 0.6671 GB, free: 75.39 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.6115, allocations: 11.19 kB / 0.6671 GB, free: 75.39 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.6132, allocations: 1.219 MB / 0.6683 GB, free: 74.91 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.6177, allocations: 4.646 MB / 0.6728 GB, free: 73.78 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.6178, allocations: 305.8 kB / 0.6731 GB, free: 73.77 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004778/0.6183, allocations: 429.5 kB / 0.6735 GB, free: 73.77 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.6288, allocations: 10.13 MB / 0.6834 GB, free: 67.25 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-05/0.6289, allocations: 43.34 kB / 0.6834 GB, free: 67.25 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003984/0.6293, allocations: 198 kB / 0.6836 GB, free: 67.25 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003694/0.6297, allocations: 401.3 kB / 0.684 GB, free: 67.25 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008332/0.638, allocations: 4.185 MB / 0.6881 GB, free: 67.14 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.02747/0.6655, allocations: 47.6 MB / 0.7346 GB, free: 26.25 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007308/0.6728, allocations: 4.55 MB / 0.739 GB, free: 24.13 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.6741, allocations: 1.174 MB / 0.7402 GB, free: 23.59 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004519/0.6745, allocations: 270.9 kB / 0.7404 GB, free: 23.51 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006099/0.6806, allocations: 3.918 MB / 0.7443 GB, free: 21.63 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002552/0.6832, allocations: 0.599 MB / 0.7448 GB, free: 21.2 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=765): time 1.675e-05/0.6832, allocations: 0 / 0.7448 GB, free: 21.2 MB / 0.5418 GB Notification: Performance of matching and sorting (n=767): time 0.02855/0.7117, allocations: 12.91 MB / 0.7575 GB, free: 16.25 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002261/0.712, allocations: 2.012 MB / 0.7594 GB, free: 13.77 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/0.7156, allocations: 4.835 MB / 0.7641 GB, free: 9.719 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003146/0.7159, allocations: 97.7 kB / 0.7642 GB, free: 9.617 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.7172, allocations: 3.07 MB / 0.7672 GB, free: 6.75 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.7184, allocations: 2.691 MB / 0.7699 GB, free: 4.215 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/0.72, allocations: 1.826 MB / 0.7716 GB, free: 2.547 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.117e-05/0.7201, allocations: 476.8 kB / 0.7721 GB, free: 2.078 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.7216, allocations: 1.238 MB / 0.7733 GB, free: 0.8281 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004027/0.7256, allocations: 6.06 MB / 0.7792 GB, free: 9.184 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008166/0.7338, allocations: 7.562 MB / 0.7866 GB, free: 0.8008 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.549e-05/0.7338, allocations: 20 kB / 0.7866 GB, free: 0.7812 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.0104/0.7442, allocations: 6.568 MB / 0.793 GB, free: 10.67 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.7443, allocations: 36 kB / 0.7931 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006562/0.7508, allocations: 4.073 MB / 0.7971 GB, free: 6.559 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02402/0.7749, allocations: 4.016 MB / 0.801 GB, free: 2.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0063/0.7812, allocations: 2.225 MB / 0.8031 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005375/0.7865, allocations: 8.937 MB / 0.8119 GB, free: 7.469 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004994/0.7915, allocations: 330.9 kB / 0.8122 GB, free: 7.148 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009062/0.7924, allocations: 455.6 kB / 0.8126 GB, free: 6.703 MB / 0.5887 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.003979/0.7964, allocations: 1.421 MB / 0.814 GB, free: 5.273 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004205/0.8006, allocations: 6.052 MB / 0.8199 GB, free: 13.64 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008118/0.8087, allocations: 7.53 MB / 0.8273 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.472e-05/0.8088, allocations: 20 kB / 0.8273 GB, free: 5.273 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01077/0.8196, allocations: 6.538 MB / 0.8337 GB, free: 15.19 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.8196, allocations: 36.94 kB / 0.8337 GB, free: 15.16 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006436/0.826, allocations: 4.028 MB / 0.8377 GB, free: 11.12 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02353/0.8496, allocations: 3.984 MB / 0.8415 GB, free: 7.344 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005787/0.8554, allocations: 2.134 MB / 0.8436 GB, free: 5.32 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/0.8595, allocations: 6.234 MB / 0.8497 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004693/0.8642, allocations: 342.2 kB / 0.85 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007792/0.865, allocations: 455.6 kB / 0.8505 GB, free: 14.09 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: 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.001925/0.8669, allocations: 0.7568 MB / 0.8512 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002055/0.869, allocations: 0.8102 MB / 0.852 GB, free: 12.51 MB / 0.6355 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.009357/0.8783, allocations: 7.742 MB / 0.8596 GB, free: 5.332 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7508076187223196]