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.008472/0.008472, allocations: 1.791 MB / 21.89 MB, free: 2.629 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.000767/0.000767, allocations: 88.75 kB / 25.62 MB, free: 6.594 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.00121/0.00121, allocations: 162.8 kB / 29.46 MB, free: 3.035 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.913/0.913, allocations: 177.1 MB / 210.3 MB, free: 2.258 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.7303/0.7303, allocations: 102.5 MB / 369.8 MB, free: 0.8281 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 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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 469.9 MB, free: 12.94 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.062e-05, allocations: 6.25 kB / 469.9 MB, free: 12.93 MB / 442.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.3007/0.3007, allocations: 74.78 MB / 0.5319 GB, free: 69.26 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02657/0.3272, allocations: 24.62 MB / 0.556 GB, free: 52.71 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003684/0.3309, allocations: 138.6 kB / 0.5561 GB, free: 52.64 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004691/0.3356, allocations: 2.88 MB / 0.5589 GB, free: 51.31 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007299/0.3429, allocations: 4.463 MB / 0.5633 GB, free: 48.64 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00704/0.35, allocations: 4.46 MB / 0.5676 GB, free: 46.22 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01261/0.3626, allocations: 12.77 MB / 0.5801 GB, free: 38.83 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00495/0.3675, allocations: 4.11 MB / 0.5841 GB, free: 35.72 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00902/0.3765, allocations: 6.855 MB / 0.5908 GB, free: 30.22 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00557/0.3821, allocations: 4.569 MB / 0.5953 GB, free: 25.65 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001696/0.3838, allocations: 0.8477 MB / 0.5961 GB, free: 24.8 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00459/0.3884, allocations: 2.637 MB / 0.5987 GB, free: 22.16 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.39, allocations: 2.773 MB / 0.6014 GB, free: 19.38 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003041/0.393, allocations: 2.724 MB / 0.604 GB, free: 16.65 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009167/0.4022, allocations: 8.731 MB / 0.6126 GB, free: 7.895 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4022, allocations: 0 / 0.6126 GB, free: 7.895 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4022, allocations: 0 / 0.6126 GB, free: 7.895 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002449/0.4024, allocations: 0 / 0.6126 GB, free: 7.895 MB / 490.8 MB 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.0107/0.4131, allocations: 10.33 MB / 0.6226 GB, free: 13.49 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4132, allocations: 14.69 kB / 0.6227 GB, free: 13.48 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.4152, allocations: 1.323 MB / 0.6239 GB, free: 12.15 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008876/0.4241, allocations: 5.706 MB / 0.6295 GB, free: 6.379 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/0.4245, allocations: 311.7 kB / 0.6298 GB, free: 6.074 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/0.426, allocations: 423.9 kB / 0.6302 GB, free: 5.66 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0174/0.4434, allocations: 10.48 MB / 0.6405 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.244e-05/0.4435, allocations: 43.56 kB / 0.6405 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006092/0.4441, allocations: 202.6 kB / 0.6407 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000329/0.4444, allocations: 402.2 kB / 0.6411 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.4553, allocations: 4.682 MB / 0.6456 GB, free: 3.961 MB / 0.5105 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.03807/0.4934, allocations: 48.51 MB / 0.693 GB, free: 2 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009925/0.5033, allocations: 4.894 MB / 0.6978 GB, free: 12.86 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/0.5059, allocations: 1.356 MB / 0.6991 GB, free: 11.39 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/0.5065, allocations: 280.7 kB / 0.6994 GB, free: 11.12 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008315/0.5148, allocations: 4.105 MB / 0.7034 GB, free: 6.82 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00217/0.517, allocations: 0.5782 MB / 0.704 GB, free: 6.238 MB / 0.573 GB Notification: Performance of pre-optimization done (n=765): time 1.458e-05/0.517, allocations: 2.625 kB / 0.704 GB, free: 6.238 MB / 0.573 GB Notification: Performance of matching and sorting (n=767): time 0.2454/0.7624, allocations: 39.31 MB / 0.7424 GB, free: 193.6 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002405/0.7626, allocations: 1.675 MB / 0.744 GB, free: 191.6 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006405/0.769, allocations: 4.961 MB / 0.7488 GB, free: 191.1 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/0.7701, allocations: 94.27 kB / 0.7489 GB, free: 191.1 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001915/0.772, allocations: 3.031 MB / 0.7519 GB, free: 190.5 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002013/0.774, allocations: 2.674 MB / 0.7545 GB, free: 188.9 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002296/0.7763, allocations: 1.774 MB / 0.7562 GB, free: 188.2 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.7763, allocations: 476.8 kB / 0.7567 GB, free: 187.7 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003137/0.7795, allocations: 1.536 MB / 0.7582 GB, free: 187.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004824/0.7843, allocations: 5.882 MB / 0.7639 GB, free: 181.8 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/0.7964, allocations: 8.323 MB / 0.7721 GB, free: 176.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.586e-05/0.7964, allocations: 20.84 kB / 0.7721 GB, free: 176.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01497/0.8114, allocations: 7.397 MB / 0.7793 GB, free: 174.3 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.8114, allocations: 34.38 kB / 0.7793 GB, free: 174.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009142/0.8206, allocations: 4.758 MB / 0.784 GB, free: 173.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02594/0.8465, allocations: 4.197 MB / 0.7881 GB, free: 173.2 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005346/0.8519, allocations: 2.205 MB / 0.7902 GB, free: 173 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003972/0.8558, allocations: 8.999 MB / 0.799 GB, free: 164.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003838/0.8597, allocations: 360.4 kB / 0.7994 GB, free: 164.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008191/0.8605, allocations: 0.501 MB / 0.7998 GB, free: 164.3 MB / 0.6043 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.004284/0.8648, allocations: 1.734 MB / 0.8015 GB, free: 163.3 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003798/0.8686, allocations: 5.863 MB / 0.8073 GB, free: 156.1 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008792/0.8774, allocations: 8.281 MB / 0.8154 GB, free: 146.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.066e-05/0.8774, allocations: 16 kB / 0.8154 GB, free: 146.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01137/0.8888, allocations: 7.335 MB / 0.8225 GB, free: 140 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.8888, allocations: 38.66 kB / 0.8226 GB, free: 140 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007642/0.8965, allocations: 4.731 MB / 0.8272 GB, free: 135.2 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02503/0.9215, allocations: 4.138 MB / 0.8312 GB, free: 131.2 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004725/0.9262, allocations: 2.107 MB / 0.8333 GB, free: 129.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/0.9297, allocations: 7.093 MB / 0.8402 GB, free: 121.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003924/0.9336, allocations: 361.8 kB / 0.8406 GB, free: 121.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007958/0.9344, allocations: 0.4997 MB / 0.841 GB, free: 120.8 MB / 0.6043 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.001782/0.9362, allocations: 0.7556 MB / 0.8418 GB, free: 120.1 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/0.9378, allocations: 0.8083 MB / 0.8426 GB, free: 119.3 MB / 0.6043 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.009049/0.9468, allocations: 7.959 MB / 0.8503 GB, free: 111.9 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.418462032917887]