Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T.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.01249/0.01249, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.006238/0.006238, allocations: 80.39 kB / 24.44 MB, free: 7 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.001537/0.001537, allocations: 161.9 kB / 28.2 MB, free: 4.52 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 1.425/1.425, allocations: 177.1 MB / 209 MB, free: 2.805 MB / 186.7 MB " [Timeout remaining time 178] 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 1.062/1.062, allocations: 102.5 MB / 368.3 MB, free: 1.312 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15019,variableFilter="Time|temperatureSensorVLE_L3.fluidVolume.h|temperatureSensorVLE_L3.fluidVolume.p|temperatureSensorVLE_L3.pipeWall.U.1.|temperatureSensorVLE_L3.sensorWall.T.1.|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.h|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.p|temperatureSensorVLE_L3_considerHeatConduction.pipeWall.U.1.|temperatureSensorVLE_L3_considerHeatConduction.sensorWall.T.1.",fileNamePrefix="ClaRa_ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T") translateModel(ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15019,variableFilter="Time|temperatureSensorVLE_L3.fluidVolume.h|temperatureSensorVLE_L3.fluidVolume.p|temperatureSensorVLE_L3.pipeWall.U.1.|temperatureSensorVLE_L3.sensorWall.T.1.|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.h|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.p|temperatureSensorVLE_L3_considerHeatConduction.pipeWall.U.1.|temperatureSensorVLE_L3_considerHeatConduction.sensorWall.T.1.",fileNamePrefix="ClaRa_ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 468.3 MB, free: 13.52 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.859e-05, allocations: 2.312 kB / 468.3 MB, free: 13.51 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.Sensors.Check.TestSensorVLE_L3_T): time 0.4224/0.4225, allocations: 72.18 MB / 0.5278 GB, free: 70 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03427/0.4567, allocations: 24.48 MB / 0.5517 GB, free: 54.07 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006569/0.4633, allocations: 165.4 kB / 0.5519 GB, free: 53.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007653/0.471, allocations: 3.041 MB / 0.5549 GB, free: 52.59 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01443/0.4854, allocations: 5.324 MB / 0.5601 GB, free: 49.43 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01252/0.4979, allocations: 5.069 MB / 0.565 GB, free: 46.73 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02038/0.5183, allocations: 12.88 MB / 0.5776 GB, free: 39.45 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00705/0.5253, allocations: 3.878 MB / 0.5814 GB, free: 36.53 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01501/0.5404, allocations: 6.925 MB / 0.5881 GB, free: 31.41 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008463/0.5488, allocations: 4.486 MB / 0.5925 GB, free: 26.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.5511, allocations: 0.7917 MB / 0.5933 GB, free: 26.12 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09219/0.6433, allocations: 18.03 MB / 0.6109 GB, free: 10.09 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003599/0.6469, allocations: 2.542 MB / 0.6134 GB, free: 7.539 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005436/0.6523, allocations: 2.632 MB / 0.616 GB, free: 4.902 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02114/0.6734, allocations: 12.73 MB / 0.6284 GB, free: 8.129 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.6734, allocations: 4 kB / 0.6284 GB, free: 8.125 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6735, allocations: 0 / 0.6284 GB, free: 8.125 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004295/0.6739, allocations: 0 / 0.6284 GB, free: 8.125 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1474 * Number of variables: 1474 Notification: Performance of Generate backend data structure: time 0.02406/0.6979, allocations: 8.578 MB / 0.6368 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.698, allocations: 8.031 kB / 0.6368 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004109/0.7021, allocations: 1.349 MB / 0.6381 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/0.7178, allocations: 6.743 MB / 0.6447 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004059/0.7182, allocations: 306.4 kB / 0.645 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/0.7193, allocations: 419.9 kB / 0.6454 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02824/0.7476, allocations: 11.43 MB / 0.6565 GB, free: 9.562 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.7477, allocations: 47.56 kB / 0.6566 GB, free: 9.516 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006981/0.7484, allocations: 200 kB / 0.6568 GB, free: 9.32 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003147/0.7487, allocations: 223.6 kB / 0.657 GB, free: 9.102 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02219/0.7709, allocations: 6.985 MB / 0.6638 GB, free: 2.09 MB / 0.5262 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.06/0.8309, allocations: 37.73 MB / 0.7007 GB, free: 11.18 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/0.8495, allocations: 5.906 MB / 0.7064 GB, free: 5.09 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005077/0.8545, allocations: 2.093 MB / 0.7085 GB, free: 2.906 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009737/0.8555, allocations: 241.8 kB / 0.7087 GB, free: 2.668 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01696/0.8725, allocations: 5.393 MB / 0.714 GB, free: 13.08 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003315/0.8758, allocations: 0.5215 MB / 0.7145 GB, free: 12.55 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=796): time 1.948e-05/0.8758, allocations: 4 kB / 0.7145 GB, free: 12.55 MB / 0.5887 GB Notification: Performance of matching and sorting (n=798): time 0.3212/1.197, allocations: 45.24 MB / 0.7587 GB, free: 183.7 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003871/1.197, allocations: 1.69 MB / 0.7603 GB, free: 181.7 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/1.208, allocations: 6.065 MB / 0.7662 GB, free: 179.5 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001416/1.209, allocations: 88.02 kB / 0.7663 GB, free: 179.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002604/1.212, allocations: 2.876 MB / 0.7691 GB, free: 177.4 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003223/1.215, allocations: 2.654 MB / 0.7717 GB, free: 175.6 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003319/1.218, allocations: 1.66 MB / 0.7733 GB, free: 175 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.528e-05/1.218, allocations: 302.5 kB / 0.7736 GB, free: 174.7 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005685/1.224, allocations: 3.019 MB / 0.7766 GB, free: 173.3 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008032/1.232, allocations: 6.25 MB / 0.7827 GB, free: 167.9 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2501/1.482, allocations: 31.45 MB / 0.8134 GB, free: 152.4 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001516/1.482, allocations: 16 kB / 0.8134 GB, free: 152.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1105) (initialization): time 0.02849/1.511, allocations: 10.24 MB / 0.8234 GB, free: 142.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002182/1.511, allocations: 137.1 kB / 0.8235 GB, free: 141.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01791/1.529, allocations: 7.518 MB / 0.8309 GB, free: 134.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09062/1.62, allocations: 7.433 MB / 0.8381 GB, free: 126.9 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007592/1.627, allocations: 2.051 MB / 0.8401 GB, free: 124.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005779/1.633, allocations: 5.503 MB / 0.8455 GB, free: 119.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0069/1.64, allocations: 280 kB / 0.8458 GB, free: 118.8 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/1.642, allocations: 0.5309 MB / 0.8463 GB, free: 118.2 MB / 0.6043 GB Warning: Assuming fixed start value for the following 4 variables: temperatureSensorVLE_L3.sensorWall.T[1]:VARIABLE(min = 0.0 start = temperatureSensorVLE_L3.sensorWall.T_start[1] unit = \"K\" fixed = true nominal = 500.0 ) type: Real [1] temperatureSensorVLE_L3.fluidVolume.h:VARIABLE(start = temperatureSensorVLE_L3.fluidVolume.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real temperatureSensorVLE_L3_considerHeatConduction.sensorWall.T[1]:VARIABLE(min = 0.0 start = temperatureSensorVLE_L3_considerHeatConduction.sensorWall.T_start[1] unit = \"K\" fixed = true nominal = 500.0 ) type: Real [1] temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.h:VARIABLE(start = temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01096/1.653, allocations: 4.358 MB / 0.8506 GB, free: 113.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007904/1.661, allocations: 6.217 MB / 0.8566 GB, free: 106.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2433/1.904, allocations: 31.09 MB / 0.887 GB, free: 74.22 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.755e-05/1.904, allocations: 20 kB / 0.887 GB, free: 74.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1105) (initialization_lambda0): time 0.0228/1.927, allocations: 10.12 MB / 0.8969 GB, free: 63.98 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.927, allocations: 134.1 kB / 0.897 GB, free: 63.83 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01749/1.945, allocations: 7.406 MB / 0.9043 GB, free: 56.32 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09192/2.036, allocations: 7.308 MB / 0.9114 GB, free: 49.02 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00723/2.044, allocations: 2.055 MB / 0.9134 GB, free: 46.96 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004689/2.048, allocations: 5.367 MB / 0.9187 GB, free: 41.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006/2.054, allocations: 290.8 kB / 0.9189 GB, free: 41.04 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/2.056, allocations: 0.5309 MB / 0.9194 GB, free: 40.51 MB / 0.6043 GB Warning: Assuming fixed start value for the following 4 variables: temperatureSensorVLE_L3.sensorWall.T[1]:VARIABLE(min = 0.0 start = temperatureSensorVLE_L3.sensorWall.T_start[1] unit = \"K\" fixed = true nominal = 500.0 ) type: Real [1] temperatureSensorVLE_L3.fluidVolume.h:VARIABLE(start = temperatureSensorVLE_L3.fluidVolume.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real temperatureSensorVLE_L3_considerHeatConduction.sensorWall.T[1]:VARIABLE(min = 0.0 start = temperatureSensorVLE_L3_considerHeatConduction.sensorWall.T_start[1] unit = \"K\" fixed = true nominal = 500.0 ) type: Real [1] temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.h:VARIABLE(start = temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 305 * Number of states: 0 () * Number of discrete variables: 21 (timeTable2.nextEventScaled,timeTable2.nextEvent,$PRE.timeTable2.nextEvent,timeTable2.last,timeTable2.b,timeTable2.a,timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1050): * Single equations (assignments): 1042 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,16), (1,1), (1,16), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002927/2.059, allocations: 0.7815 MB / 0.9202 GB, free: 39.76 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003279/2.062, allocations: 0.858 MB / 0.921 GB, free: 38.89 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 1253 equation(s) and 1196 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (temperature.fluid.q, temperature.fluid.cp, temperature.fluid.cv, temperature.fluid.beta, temperature.fluid.kappa, temperature.fluid.drhodp_hxi, temperature.fluid.drhodh_pxi, _, temperature.fluid.w, temperature.fluid.gamma) = ($cse1, $cse2, $cse3, $cse4, $cse5, $cse6, $cse7, $cse8, $cse9, $cse10) has size 9 but 7 variables ($whenCondition1, timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, timeTable.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/2.079, allocations: 10.26 MB / 0.9311 GB, free: 29.04 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.751562871038914]