Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.009942/0.009942, allocations: 1.773 MB / 18.82 MB, free: 4.246 MB / 14.72 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.001133/0.001133, allocations: 111.6 kB / 22.07 MB, free: 0.9922 MB / 14.72 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.001531/0.001531, allocations: 208.5 kB / 25.45 MB, free: 3.25 MB / 14.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 1.455/1.455, allocations: 230.6 MB / 259.3 MB, free: 13.11 MB / 206.1 MB " [Timeout remaining time 178] 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 1.069/1.069, allocations: 130.6 MB / 446.3 MB, free: 15 MB / 350.1 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 0.3.1 (/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_dev_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_dev_ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T") [Timeout 800] "Notification: SMArtInt 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: ClaRa 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 uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.3805/0.3805, allocations: 46.16 MB / 0.6557 GB, free: 30.72 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.5709, allocations: 89.05 MB / 0.7426 GB, free: 2.418 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T): time 0.03188/0.6028, allocations: 29.34 MB / 0.7713 GB, free: 4.977 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04237/0.6452, allocations: 25.41 MB / 0.7961 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00845/0.6536, allocations: 166.8 kB / 0.7962 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008285/0.6619, allocations: 3.092 MB / 0.7993 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01445/0.6763, allocations: 5.096 MB / 0.8042 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01378/0.6901, allocations: 4.954 MB / 0.8091 GB, free: 14.14 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02276/0.7129, allocations: 12.54 MB / 0.8213 GB, free: 1.562 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009039/0.7219, allocations: 3.541 MB / 0.8248 GB, free: 13.95 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01216/0.7341, allocations: 5.068 MB / 0.8297 GB, free: 8.863 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.7446, allocations: 5.305 MB / 0.8349 GB, free: 3.539 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003821/0.7484, allocations: 0.7773 MB / 0.8357 GB, free: 2.762 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009591/0.758, allocations: 3.065 MB / 0.8387 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005116/0.7631, allocations: 2.46 MB / 0.8411 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009962/0.7731, allocations: 4.201 MB / 0.8452 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02511/0.7982, allocations: 12.75 MB / 0.8576 GB, free: 12.21 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.7982, allocations: 3.938 kB / 0.8576 GB, free: 12.2 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7982, allocations: 0 / 0.8576 GB, free: 12.2 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005048/0.7987, allocations: 4 kB / 0.8576 GB, free: 12.2 MB / 0.67 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.02813/0.8269, allocations: 8.734 MB / 0.8662 GB, free: 3.344 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/0.8269, allocations: 12.03 kB / 0.8662 GB, free: 3.332 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006098/0.833, allocations: 1.038 MB / 0.8672 GB, free: 2.289 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4177/1.251, allocations: 6.67 MB / 0.8737 GB, free: 110.7 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/1.251, allocations: 303.3 kB / 0.874 GB, free: 110.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005349/1.251, allocations: 380.8 kB / 0.8743 GB, free: 110.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02132/1.273, allocations: 9.468 MB / 0.8836 GB, free: 105.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/1.273, allocations: 50.38 kB / 0.8836 GB, free: 105.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005668/1.273, allocations: 198.9 kB / 0.8838 GB, free: 105.1 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003278/1.274, allocations: 222 kB / 0.884 GB, free: 105.1 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01767/1.291, allocations: 6.859 MB / 0.8907 GB, free: 103.1 MB / 0.67 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.03602/1.327, allocations: 40.44 MB / 0.9302 GB, free: 67.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01758/1.345, allocations: 5.777 MB / 0.9359 GB, free: 64.04 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004809/1.35, allocations: 1.968 MB / 0.9378 GB, free: 62.86 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008661/1.351, allocations: 0.5499 MB / 0.9383 GB, free: 62.41 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01349/1.364, allocations: 5.244 MB / 0.9435 GB, free: 59.34 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003031/1.367, allocations: 0.5425 MB / 0.944 GB, free: 59.08 MB / 0.67 GB Notification: Performance of pre-optimization done (n=796): time 1.247e-05/1.367, allocations: 0 / 0.944 GB, free: 59.08 MB / 0.67 GB Notification: Performance of matching and sorting (n=798): time 0.06844/1.436, allocations: 44.7 MB / 0.9876 GB, free: 23.83 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003457/1.436, allocations: 1.688 MB / 0.9893 GB, free: 21.76 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008053/1.444, allocations: 6.138 MB / 0.9953 GB, free: 15.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001318/1.445, allocations: 86.27 kB / 0.9954 GB, free: 15.61 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/1.447, allocations: 2.866 MB / 0.9982 GB, free: 12.95 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002546/1.45, allocations: 2.688 MB / 1.001 GB, free: 10.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002204/1.452, allocations: 1.683 MB / 1.002 GB, free: 8.605 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.513e-05/1.452, allocations: 307.8 kB / 1.003 GB, free: 8.305 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004205/1.456, allocations: 2.889 MB / 1.006 GB, free: 5.395 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005764/1.462, allocations: 5.3 MB / 1.011 GB, free: 15.14 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2531/1.715, allocations: 31.08 MB / 1.041 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.926e-05/1.715, allocations: 20 kB / 1.041 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1109) (initialization): time 0.02402/1.739, allocations: 9.809 MB / 1.051 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/1.739, allocations: 134 kB / 1.051 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01532/1.755, allocations: 7.276 MB / 1.058 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08924/1.844, allocations: 7.176 MB / 1.065 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007901/1.852, allocations: 2.067 MB / 1.067 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006177/1.858, allocations: 5.494 MB / 1.072 GB, free: 15.43 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006279/1.864, allocations: 288 kB / 1.073 GB, free: 15.16 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/1.865, allocations: 0.5309 MB / 1.073 GB, free: 14.62 MB / 0.7482 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.008807/1.874, allocations: 4.232 MB / 1.077 GB, free: 10.39 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007611/1.882, allocations: 5.259 MB / 1.082 GB, free: 4.07 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2488/2.131, allocations: 30.8 MB / 1.112 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.039e-05/2.131, allocations: 23.94 kB / 1.112 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1109) (initialization_lambda0): time 0.02329/2.154, allocations: 9.622 MB / 1.122 GB, free: 10.52 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/2.154, allocations: 131.9 kB / 1.122 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01542/2.169, allocations: 7.086 MB / 1.129 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08876/2.258, allocations: 6.869 MB / 1.136 GB, free: 12.36 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007943/2.266, allocations: 2.094 MB / 1.138 GB, free: 10.26 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/2.271, allocations: 5.111 MB / 1.143 GB, free: 4.793 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006434/2.278, allocations: 284.5 kB / 1.143 GB, free: 4.516 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/2.279, allocations: 0.5309 MB / 1.143 GB, free: 3.984 MB / 0.8107 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 (1054): * Single equations (assignments): 1046 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,16), (1,16), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002623/2.282, allocations: 0.7788 MB / 1.144 GB, free: 3.184 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002669/2.285, allocations: 0.7604 MB / 1.145 GB, free: 2.418 MB / 0.8107 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.0185/2.303, allocations: 10.23 MB / 1.155 GB, free: 8.387 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.846831210015807] Failed to read output from testmodel.py, exit status != 0: 2.3122397729894146 2.324008653 1.522676364 Calling exit ...