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.006249/0.006249, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0007093/0.0007093, allocations: 91.45 kB / 24.16 MB, free: 392 kB / 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.00087/0.00087, allocations: 163.6 kB / 27.85 MB, free: 5.496 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.8645/0.8645, allocations: 177.2 MB / 208.6 MB, free: 2.961 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.7424/0.7424, allocations: 102.5 MB / 367.9 MB, free: 1.457 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: "" <> buildModelFMU(ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T,fileNamePrefix="ClaRa_ClaRa_Components_Sensors_Check_TestSensorVLE_L3_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T,fileNamePrefix="ClaRa_ClaRa_Components_Sensors_Check_TestSensorVLE_L3_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.5362 GB, free: 40.23 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.495e-05, allocations: 5.906 kB / 0.5362 GB, free: 40.23 MB / 490.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.1123/0.1123, allocations: 71.95 MB / 0.6065 GB, free: 4.504 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03261/0.1449, allocations: 24.5 MB / 0.6304 GB, free: 11.93 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008754/0.1537, allocations: 162.8 kB / 0.6305 GB, free: 11.77 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005048/0.1587, allocations: 3.041 MB / 0.6335 GB, free: 8.711 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.008922/0.1677, allocations: 5.341 MB / 0.6387 GB, free: 3.34 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008357/0.176, allocations: 5.087 MB / 0.6437 GB, free: 14.24 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01424/0.1903, allocations: 12.89 MB / 0.6563 GB, free: 1.309 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004597/0.1949, allocations: 3.716 MB / 0.6599 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007072/0.2019, allocations: 6.89 MB / 0.6666 GB, free: 6.613 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004096/0.206, allocations: 4.436 MB / 0.671 GB, free: 2.164 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0008058/0.2068, allocations: 0.7812 MB / 0.6717 GB, free: 1.383 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.2104, allocations: 2.57 MB / 0.6742 GB, free: 14.81 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.2119, allocations: 2.526 MB / 0.6767 GB, free: 12.27 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.2141, allocations: 2.614 MB / 0.6793 GB, free: 9.652 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.009974/0.2241, allocations: 12.64 MB / 0.6916 GB, free: 12.98 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2241, allocations: 0 / 0.6916 GB, free: 12.98 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2241, allocations: 0 / 0.6916 GB, free: 12.98 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.000122/0.2242, allocations: 0 / 0.6916 GB, free: 12.98 MB / 0.5887 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.009876/0.2341, allocations: 8.569 MB / 0.7 GB, free: 4.305 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 6.521e-05/0.2341, allocations: 11.97 kB / 0.7 GB, free: 4.293 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006517/0.2348, allocations: 0.6875 MB / 0.7007 GB, free: 3.594 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.2368, allocations: 1.042 MB / 0.7017 GB, free: 2.547 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007855/0.2446, allocations: 6.456 MB / 0.708 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.2448, allocations: 303.7 kB / 0.7083 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003944/0.2452, allocations: 383.9 kB / 0.7086 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.2579, allocations: 11.38 MB / 0.7198 GB, free: 14.33 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.402e-05/0.258, allocations: 43.56 kB / 0.7198 GB, free: 14.29 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003153/0.2583, allocations: 200 kB / 0.72 GB, free: 14.09 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.2584, allocations: 216.9 kB / 0.7202 GB, free: 13.88 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.2694, allocations: 6.922 MB / 0.7269 GB, free: 6.918 MB / 0.6199 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.3155/0.5849, allocations: 37.99 MB / 0.7641 GB, free: 173.4 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.5957, allocations: 5.859 MB / 0.7698 GB, free: 172.6 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002803/0.5985, allocations: 2.048 MB / 0.7718 GB, free: 171.5 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000537/0.599, allocations: 233.2 kB / 0.772 GB, free: 171.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008753/0.6078, allocations: 5.344 MB / 0.7772 GB, free: 169.4 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002079/0.6098, allocations: 0.5448 MB / 0.7777 GB, free: 169.3 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=796): time 9.498e-06/0.6098, allocations: 2.656 kB / 0.7777 GB, free: 169.3 MB / 0.6512 GB Notification: Performance of matching and sorting (n=798): time 0.04672/0.6566, allocations: 44.45 MB / 0.8212 GB, free: 141 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002255/0.6568, allocations: 1.683 MB / 0.8228 GB, free: 139 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005905/0.6627, allocations: 6.242 MB / 0.8289 GB, free: 134.8 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0009392/0.6636, allocations: 85.7 kB / 0.829 GB, free: 134.7 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.6648, allocations: 2.865 MB / 0.8318 GB, free: 131.9 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001362/0.6662, allocations: 2.659 MB / 0.8344 GB, free: 129.3 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/0.6676, allocations: 1.643 MB / 0.836 GB, free: 127.6 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.189e-05/0.6676, allocations: 309.1 kB / 0.8363 GB, free: 127.3 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002991/0.6706, allocations: 2.942 MB / 0.8391 GB, free: 124.3 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003684/0.6743, allocations: 6.15 MB / 0.8451 GB, free: 117 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1148/0.7891, allocations: 30.97 MB / 0.8754 GB, free: 86.07 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-05/0.7891, allocations: 20 kB / 0.8754 GB, free: 86.05 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.01203/0.8012, allocations: 9.939 MB / 0.8851 GB, free: 76.02 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.866e-05/0.8012, allocations: 133 kB / 0.8852 GB, free: 75.87 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007321/0.8085, allocations: 7.323 MB / 0.8924 GB, free: 68.45 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04319/0.8517, allocations: 7.181 MB / 0.8994 GB, free: 61.29 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00437/0.8561, allocations: 2.036 MB / 0.9014 GB, free: 59.25 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.8591, allocations: 5.271 MB / 0.9065 GB, free: 53.69 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004317/0.8634, allocations: 276.2 kB / 0.9068 GB, free: 53.42 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005928/0.864, allocations: 0.5382 MB / 0.9073 GB, free: 52.89 MB / 0.6512 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.005555/0.8695, allocations: 4.279 MB / 0.9115 GB, free: 48.59 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003652/0.8732, allocations: 6.119 MB / 0.9175 GB, free: 41.2 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.112/0.9852, allocations: 30.69 MB / 0.9475 GB, free: 9.492 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.33e-05/0.9852, allocations: 20 kB / 0.9475 GB, free: 9.473 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1097) (initialization_lambda0): time 0.01188/0.9971, allocations: 9.617 MB / 0.9569 GB, free: 15.76 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 8.355e-05/0.9972, allocations: 137.7 kB / 0.957 GB, free: 15.61 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008452/1.006, allocations: 7.116 MB / 0.964 GB, free: 8.395 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04175/1.047, allocations: 6.874 MB / 0.9707 GB, free: 1.535 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005165/1.053, allocations: 2.075 MB / 0.9727 GB, free: 15.46 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/1.056, allocations: 4.871 MB / 0.9775 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004334/1.06, allocations: 288.7 kB / 0.9777 GB, free: 10.01 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005834/1.061, allocations: 0.5305 MB / 0.9782 GB, free: 9.484 MB / 0.6824 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: 301 * 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 (1042): * Single equations (assignments): 1034 * 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.002188/1.063, allocations: 0.7739 MB / 0.979 GB, free: 8.691 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/1.064, allocations: 0.7681 MB / 0.9798 GB, free: 7.918 MB / 0.6824 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.01321/1.077, allocations: 10.25 MB / 0.9898 GB, free: 13.88 MB / 0.698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.139999874867499] Failed to read output from testmodel.py, exit status != 0: 1.4702821904793382 1.478093814 1.252452235 Calling exit ...