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.008324/0.008324, allocations: 1.787 MB / 20.88 MB, free: 3.648 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.003839/0.003839, allocations: 80.78 kB / 24.59 MB, free: 7.203 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.0009734/0.0009734, allocations: 171 kB / 28.41 MB, free: 4.316 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.8313/0.8313, allocations: 177.2 MB / 209.3 MB, free: 2.516 MB / 186.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.6425/0.6425, allocations: 102.5 MB / 368.7 MB, free: 0.9844 MB / 330.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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5378 GB, free: 39.04 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.346e-06/1.004e-05, allocations: 4.562 kB / 0.5378 GB, free: 39.04 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.129/0.129, allocations: 80.65 MB / 0.6166 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02449/0.1535, allocations: 24.5 MB / 0.6405 GB, free: 1.891 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004063/0.1576, allocations: 166.8 kB / 0.6407 GB, free: 1.727 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004373/0.1619, allocations: 3.045 MB / 0.6437 GB, free: 14.66 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.007401/0.1693, allocations: 5.333 MB / 0.6489 GB, free: 9.301 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.006892/0.1762, allocations: 5.089 MB / 0.6538 GB, free: 4.203 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01002/0.1863, allocations: 12.87 MB / 0.6664 GB, free: 7.285 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003532/0.1898, allocations: 3.743 MB / 0.6701 GB, free: 3.473 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005474/0.1953, allocations: 6.883 MB / 0.6768 GB, free: 12.57 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.1988, allocations: 4.454 MB / 0.6811 GB, free: 8.105 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0007383/0.1995, allocations: 0.7773 MB / 0.6819 GB, free: 7.328 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.203, allocations: 2.585 MB / 0.6844 GB, free: 4.738 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.2043, allocations: 2.526 MB / 0.6869 GB, free: 2.203 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.2062, allocations: 2.614 MB / 0.6894 GB, free: 15.58 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.009191/0.2154, allocations: 12.64 MB / 0.7018 GB, free: 2.902 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2154, allocations: 0 / 0.7018 GB, free: 2.902 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2154, allocations: 0 / 0.7018 GB, free: 2.902 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0001814/0.2156, allocations: 0 / 0.7018 GB, free: 2.902 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.009569/0.2252, allocations: 8.57 MB / 0.7102 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2252, allocations: 12.03 kB / 0.7102 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000597/0.2258, allocations: 0.6836 MB / 0.7108 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.2274, allocations: 1.034 MB / 0.7118 GB, free: 8.48 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007195/0.2346, allocations: 6.467 MB / 0.7182 GB, free: 1.938 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.2347, allocations: 295.7 kB / 0.7184 GB, free: 1.648 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003633/0.2351, allocations: 387.9 kB / 0.7188 GB, free: 1.27 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.2475, allocations: 11.37 MB / 0.7299 GB, free: 4.277 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.436e-05/0.2475, allocations: 47.56 kB / 0.73 GB, free: 4.23 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003076/0.2479, allocations: 196 kB / 0.7301 GB, free: 4.039 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.248, allocations: 228.9 kB / 0.7304 GB, free: 3.812 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.2587, allocations: 6.918 MB / 0.7371 GB, free: 12.86 MB / 0.6355 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.2257/0.4844, allocations: 37.99 MB / 0.7742 GB, free: 144.8 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00902/0.4934, allocations: 5.86 MB / 0.7799 GB, free: 143.5 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/0.4955, allocations: 2.056 MB / 0.7819 GB, free: 142.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/0.4959, allocations: 228.1 kB / 0.7822 GB, free: 142.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008027/0.5039, allocations: 5.34 MB / 0.7874 GB, free: 140.1 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001847/0.5058, allocations: 0.5481 MB / 0.7879 GB, free: 140 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=796): time 1.896e-05/0.5058, allocations: 0 / 0.7879 GB, free: 140 MB / 0.6512 GB Notification: Performance of matching and sorting (n=798): time 0.04768/0.5535, allocations: 44.45 MB / 0.8313 GB, free: 110.8 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002135/0.5537, allocations: 1.683 MB / 0.833 GB, free: 108.8 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005542/0.5592, allocations: 6.238 MB / 0.8391 GB, free: 105.7 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003099/0.5596, allocations: 88.08 kB / 0.8391 GB, free: 105.6 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.5607, allocations: 2.87 MB / 0.8419 GB, free: 103.3 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.5618, allocations: 2.657 MB / 0.8445 GB, free: 101.3 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/0.5632, allocations: 1.642 MB / 0.8461 GB, free: 99.85 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.189e-05/0.5632, allocations: 301.1 kB / 0.8464 GB, free: 99.55 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/0.5663, allocations: 2.948 MB / 0.8493 GB, free: 96.57 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003792/0.5701, allocations: 6.157 MB / 0.8553 GB, free: 89.18 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1167/0.6868, allocations: 30.96 MB / 0.8856 GB, free: 58.4 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-05/0.6868, allocations: 21.44 kB / 0.8856 GB, free: 58.38 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.01195/0.6988, allocations: 9.943 MB / 0.8953 GB, free: 48.4 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.6988, allocations: 133.1 kB / 0.8954 GB, free: 48.25 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007706/0.7066, allocations: 7.319 MB / 0.9026 GB, free: 40.84 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04356/0.7501, allocations: 7.177 MB / 0.9096 GB, free: 33.82 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/0.7535, allocations: 2.051 MB / 0.9116 GB, free: 31.77 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.7561, allocations: 5.267 MB / 0.9167 GB, free: 26.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/0.759, allocations: 270.6 kB / 0.917 GB, free: 25.94 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004697/0.7595, allocations: 0.5313 MB / 0.9175 GB, free: 25.41 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.004955/0.7645, allocations: 4.294 MB / 0.9217 GB, free: 21.1 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003754/0.7682, allocations: 6.107 MB / 0.9277 GB, free: 13.72 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.122/0.8902, allocations: 30.7 MB / 0.9576 GB, free: 14.02 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.711e-05/0.8903, allocations: 20 kB / 0.9577 GB, free: 14 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1097) (initialization_lambda0): time 0.01207/0.9023, allocations: 9.613 MB / 0.967 GB, free: 4.285 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-05/0.9024, allocations: 133.1 kB / 0.9672 GB, free: 4.137 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00865/0.9111, allocations: 7.12 MB / 0.9741 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04399/0.9551, allocations: 6.872 MB / 0.9808 GB, free: 6.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004034/0.9591, allocations: 2.081 MB / 0.9829 GB, free: 3.977 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/0.9619, allocations: 4.864 MB / 0.9876 GB, free: 14.81 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/0.9649, allocations: 294.3 kB / 0.9879 GB, free: 14.53 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005495/0.9655, allocations: 0.5308 MB / 0.9884 GB, free: 14 MB / 0.7137 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.001721/0.9672, allocations: 0.7774 MB / 0.9892 GB, free: 13.25 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/0.9683, allocations: 0.7682 MB / 0.9899 GB, free: 12.48 MB / 0.7137 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.01073/0.979, allocations: 10.25 MB / 0.9999 GB, free: 2.566 MB / 0.7137 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.70623875875026]