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.009963/0.009963, allocations: 1.348 MB / 20.45 MB, free: 1.262 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.001382/0.001382, allocations: 78.22 kB / 24.02 MB, free: 2.605 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.001637/0.001637, allocations: 155.7 kB / 27.71 MB, free: 3.859 MB / 19.63 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.467/1.467, allocations: 177.1 MB / 208.4 MB, free: 7.672 MB / 190.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.026/1.026, allocations: 102.5 MB / 367.7 MB, free: 4.562 MB / 334.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: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.5364 GB, free: 7.078 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.246e-05/4.491e-05, allocations: 6.5 kB / 0.5365 GB, free: 7.074 MB / 446.1 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.1893/0.1893, allocations: 71.99 MB / 0.6068 GB, free: 1.562 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04762/0.2369, allocations: 24.49 MB / 0.6307 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007488/0.2444, allocations: 166.8 kB / 0.6308 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009908/0.2543, allocations: 3.041 MB / 0.6338 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0163/0.2706, allocations: 5.329 MB / 0.639 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.2845, allocations: 5.094 MB / 0.644 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02284/0.3074, allocations: 12.89 MB / 0.6566 GB, free: 14.38 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008145/0.3155, allocations: 3.712 MB / 0.6602 GB, free: 10.6 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01958/0.3351, allocations: 6.879 MB / 0.6669 GB, free: 3.703 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01201/0.3471, allocations: 4.456 MB / 0.6713 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.003978/0.3511, allocations: 0.7773 MB / 0.672 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.3614, allocations: 2.566 MB / 0.6745 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.00559/0.367, allocations: 2.522 MB / 0.677 GB, free: 9.355 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.008267/0.3753, allocations: 2.61 MB / 0.6795 GB, free: 6.738 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.3844/0.7597, allocations: 12.64 MB / 0.6919 GB, free: 49.82 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.7597, allocations: 0.6562 kB / 0.6919 GB, free: 49.82 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7597, allocations: 0 / 0.6919 GB, free: 49.82 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0005069/0.7602, allocations: 0.75 kB / 0.6919 GB, free: 49.82 MB / 0.5763 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.03018/0.7904, allocations: 8.569 MB / 0.7002 GB, free: 46.02 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.7904, allocations: 8.844 kB / 0.7003 GB, free: 46.02 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006099/0.7965, allocations: 1.042 MB / 0.7013 GB, free: 45.51 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01809/0.8146, allocations: 6.456 MB / 0.7076 GB, free: 44.22 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004216/0.815, allocations: 299.5 kB / 0.7079 GB, free: 44.21 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001964/0.817, allocations: 386.4 kB / 0.7082 GB, free: 44.21 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02516/0.8422, allocations: 11.38 MB / 0.7193 GB, free: 38.79 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/0.8423, allocations: 47.91 kB / 0.7194 GB, free: 38.79 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006797/0.843, allocations: 199.7 kB / 0.7196 GB, free: 38.79 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002289/0.8432, allocations: 218.3 kB / 0.7198 GB, free: 38.78 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02052/0.8637, allocations: 6.923 MB / 0.7266 GB, free: 38.65 MB / 0.5763 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.04217/0.9059, allocations: 37.36 MB / 0.763 GB, free: 7.41 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/0.9218, allocations: 5.851 MB / 0.7688 GB, free: 4.027 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004551/0.9264, allocations: 2.063 MB / 0.7708 GB, free: 2.742 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.9274, allocations: 232.1 kB / 0.771 GB, free: 2.66 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01702/0.9445, allocations: 5.338 MB / 0.7762 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004483/0.949, allocations: 0.5255 MB / 0.7767 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=796): time 2.035e-05/0.949, allocations: 0 / 0.7767 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=798): time 0.1059/1.055, allocations: 44.44 MB / 0.8201 GB, free: 1.422 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000999/1.056, allocations: 1.682 MB / 0.8218 GB, free: 15.35 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01166/1.068, allocations: 6.068 MB / 0.8277 GB, free: 9.297 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001797/1.069, allocations: 95.02 kB / 0.8278 GB, free: 9.203 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.00302/1.072, allocations: 2.873 MB / 0.8306 GB, free: 6.328 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.004164/1.077, allocations: 2.652 MB / 0.8332 GB, free: 3.719 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003679/1.08, allocations: 1.664 MB / 0.8348 GB, free: 2.039 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.08, allocations: 301.1 kB / 0.8351 GB, free: 1.742 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005984/1.086, allocations: 2.975 MB / 0.838 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009039/1.095, allocations: 6.219 MB / 0.8441 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2657/1.361, allocations: 31.08 MB / 0.8744 GB, free: 8.238 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/1.361, allocations: 26.23 kB / 0.8744 GB, free: 8.215 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1105) (initialization): time 0.03145/1.393, allocations: 9.885 MB / 0.8841 GB, free: 14.64 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002134/1.393, allocations: 138.4 kB / 0.8842 GB, free: 14.48 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02283/1.416, allocations: 7.402 MB / 0.8915 GB, free: 7.012 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09399/1.51, allocations: 7.18 MB / 0.8985 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008707/1.518, allocations: 2.054 MB / 0.9005 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006985/1.525, allocations: 5.239 MB / 0.9056 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008075/1.533, allocations: 277.9 kB / 0.9059 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002592/1.536, allocations: 0.5387 MB / 0.9064 GB, free: 7.664 MB / 0.7169 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.01409/1.55, allocations: 4.325 MB / 0.9106 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01177/1.562, allocations: 6.177 MB / 0.9166 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2658/1.828, allocations: 30.8 MB / 0.9467 GB, free: 12.34 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001006/1.828, allocations: 20 kB / 0.9467 GB, free: 12.32 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1105) (initialization_lambda0): time 0.02932/1.857, allocations: 9.7 MB / 0.9562 GB, free: 2.918 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/1.857, allocations: 129.1 kB / 0.9563 GB, free: 2.773 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02023/1.878, allocations: 7.228 MB / 0.9634 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09352/1.971, allocations: 6.871 MB / 0.9701 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008365/1.979, allocations: 2.095 MB / 0.9721 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2974/2.277, allocations: 4.837 MB / 0.9769 GB, free: 299.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008065/2.285, allocations: 289.2 kB / 0.9771 GB, free: 299.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002831/2.288, allocations: 0.5283 MB / 0.9777 GB, free: 299.8 MB / 0.7794 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): 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.004027/2.292, allocations: 0.7827 MB / 0.9784 GB, free: 299.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003497/2.295, allocations: 0.7444 MB / 0.9791 GB, free: 299.5 MB / 0.7794 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.02131/2.317, allocations: 10.25 MB / 0.9892 GB, free: 298 MB / 0.7794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.1778343096375465] Failed to read output from testmodel.py, exit status != 0: 2.4846139289438725 2.493264754 1.730936739 Calling exit ...