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.01149/0.01149, allocations: 2.331 MB / 21.18 MB, free: 3.527 MB / 13.93 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.0008146/0.0008146, allocations: 125.8 kB / 24.89 MB, free: 232 kB / 13.93 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.0009268/0.0009268, allocations: 219.7 kB / 28.73 MB, free: 1.039 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.9203/0.9203, allocations: 230.6 MB / 263 MB, free: 0.4922 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7335/0.7335, allocations: 130.7 MB / 450.7 MB, free: 2.777 MB / 346.8 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T,fileNamePrefix="ClaRa_dev_ClaRa_Components_Sensors_Check_TestSensorVLE_L3_T",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T,fileNamePrefix="ClaRa_dev_ClaRa_Components_Sensors_Check_TestSensorVLE_L3_T",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.04345/0.04345, allocations: 29.94 MB / 0.6466 GB, free: 6.789 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1726, allocations: 82.03 MB / 0.7267 GB, free: 4.641 MB / 0.5418 GB 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.3951/0.5676, allocations: 58.32 MB / 0.7837 GB, free: 11.39 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.03113/0.5987, allocations: 24.75 MB / 0.8078 GB, free: 7.672 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005791/0.6045, allocations: 162.2 kB / 0.808 GB, free: 7.598 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.006784/0.6113, allocations: 3.03 MB / 0.811 GB, free: 4.711 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01528/0.6266, allocations: 5.198 MB / 0.816 GB, free: 15.53 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009942/0.6365, allocations: 5.032 MB / 0.8209 GB, free: 10.55 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.01508/0.6516, allocations: 12.56 MB / 0.8332 GB, free: 13.97 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005124/0.6567, allocations: 3.678 MB / 0.8368 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007986/0.6647, allocations: 5.088 MB / 0.8418 GB, free: 5.121 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007235/0.672, allocations: 5.031 MB / 0.8467 GB, free: 72 kB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.00243/0.6744, allocations: 0.7825 MB / 0.8474 GB, free: 15.29 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005944/0.6803, allocations: 2.549 MB / 0.8499 GB, free: 12.74 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.003103/0.6834, allocations: 2.456 MB / 0.8523 GB, free: 10.28 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.005552/0.689, allocations: 3.221 MB / 0.8555 GB, free: 7.039 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.01701/0.706, allocations: 12.73 MB / 0.8679 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.706, allocations: 3.984 kB / 0.8679 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.555e-06/0.706, allocations: 2.656 kB / 0.8679 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004295/0.7065, allocations: 0 / 0.8679 GB, free: 10.25 MB / 0.6355 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.01734/0.7238, allocations: 8.66 MB / 0.8764 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.7238, allocations: 8.031 kB / 0.8764 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001327/0.7252, allocations: 0.6797 MB / 0.877 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.7277, allocations: 1.041 MB / 0.8781 GB, free: 15.78 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.7401, allocations: 6.474 MB / 0.8844 GB, free: 9.254 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.7404, allocations: 299.7 kB / 0.8847 GB, free: 8.961 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.7414, allocations: 386.6 kB / 0.885 GB, free: 8.586 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/0.7591, allocations: 11.38 MB / 0.8961 GB, free: 11.59 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.7592, allocations: 54.17 kB / 0.8962 GB, free: 11.54 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004579/0.7597, allocations: 199.9 kB / 0.8964 GB, free: 11.34 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/0.7599, allocations: 217 kB / 0.8966 GB, free: 11.13 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.7745, allocations: 6.926 MB / 0.9034 GB, free: 4.18 MB / 0.6668 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.03646/0.811, allocations: 38.1 MB / 0.9406 GB, free: 12.88 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.8221, allocations: 5.855 MB / 0.9463 GB, free: 6.824 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00343/0.8256, allocations: 2.056 MB / 0.9483 GB, free: 4.68 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/0.8262, allocations: 229.8 kB / 0.9485 GB, free: 4.453 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01098/0.8371, allocations: 5.339 MB / 0.9537 GB, free: 14.92 MB / 0.7293 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002625/0.8398, allocations: 0.5525 MB / 0.9543 GB, free: 14.36 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=796): time 1.446e-05/0.8398, allocations: 0 / 0.9543 GB, free: 14.36 MB / 0.7293 GB Notification: Performance of matching and sorting (n=798): time 0.06131/0.9011, allocations: 44.44 MB / 0.9977 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005034/0.9016, allocations: 1.685 MB / 0.9993 GB, free: 15.43 MB / 0.7762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009099/0.9107, allocations: 6.238 MB / 1.005 GB, free: 9.207 MB / 0.7762 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/0.9117, allocations: 85.7 kB / 1.005 GB, free: 9.117 MB / 0.7762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002295/0.914, allocations: 2.872 MB / 1.008 GB, free: 6.23 MB / 0.7762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002833/0.9169, allocations: 2.687 MB / 1.011 GB, free: 3.52 MB / 0.7762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002645/0.9195, allocations: 1.664 MB / 1.013 GB, free: 1.84 MB / 0.7762 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.9196, allocations: 301.1 kB / 1.013 GB, free: 1.543 MB / 0.7762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004444/0.924, allocations: 2.943 MB / 1.016 GB, free: 14.56 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005933/0.93, allocations: 6.155 MB / 1.022 GB, free: 7.141 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1216/1.052, allocations: 30.96 MB / 1.052 GB, free: 7.367 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.118e-05/1.052, allocations: 20 kB / 1.052 GB, free: 7.348 MB / 0.823 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.2452/1.297, allocations: 9.935 MB / 1.062 GB, free: 350.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/1.297, allocations: 136.1 kB / 1.062 GB, free: 350.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01269/1.31, allocations: 7.317 MB / 1.069 GB, free: 348.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04307/1.353, allocations: 7.179 MB / 1.076 GB, free: 348.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/1.357, allocations: 2.043 MB / 1.078 GB, free: 348.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/1.36, allocations: 5.271 MB / 1.083 GB, free: 343.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/1.364, allocations: 277.7 kB / 1.083 GB, free: 343.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/1.365, allocations: 0.5282 MB / 1.084 GB, free: 343.5 MB / 0.823 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.007013/1.372, allocations: 4.295 MB / 1.088 GB, free: 341.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005408/1.378, allocations: 6.105 MB / 1.094 GB, free: 335.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1143/1.492, allocations: 30.68 MB / 1.124 GB, free: 304.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.635e-05/1.492, allocations: 20 kB / 1.124 GB, free: 304.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=1097) (initialization_lambda0): time 0.0146/1.507, allocations: 9.619 MB / 1.133 GB, free: 295.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-05/1.507, allocations: 130 kB / 1.134 GB, free: 295.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009766/1.516, allocations: 7.121 MB / 1.14 GB, free: 287.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05384/1.57, allocations: 6.869 MB / 1.147 GB, free: 281.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005849/1.576, allocations: 2.083 MB / 1.149 GB, free: 279 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/1.579, allocations: 4.876 MB / 1.154 GB, free: 273.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004807/1.584, allocations: 280.6 kB / 1.154 GB, free: 273.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/1.585, allocations: 0.527 MB / 1.155 GB, free: 273.1 MB / 0.823 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.003376/1.589, allocations: 0.7848 MB / 1.156 GB, free: 272.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002104/1.591, allocations: 0.7661 MB / 1.156 GB, free: 272 MB / 0.823 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.01234/1.603, allocations: 10.26 MB / 1.166 GB, free: 262.3 MB / 0.823 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.415421864949167]