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.005903/0.005903, 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.0006974/0.0006974, allocations: 91.45 kB / 24.16 MB, free: 396 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.0008481/0.0008481, allocations: 159.2 kB / 27.85 MB, free: 5.5 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.8383/0.8383, allocations: 177.2 MB / 208.6 MB, free: 2.957 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.71/0.71, allocations: 102.5 MB / 367.9 MB, free: 1.492 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 1.352e-06/1.352e-06, allocations: 0 / 0.5362 GB, free: 40.15 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.35e-05, allocations: 6.094 kB / 0.5362 GB, free: 40.14 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.1163/0.1163, allocations: 71.96 MB / 0.6065 GB, free: 4.52 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03006/0.1464, allocations: 24.5 MB / 0.6304 GB, free: 11.94 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005478/0.1519, allocations: 166.8 kB / 0.6305 GB, free: 11.78 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005043/0.1569, allocations: 3.041 MB / 0.6335 GB, free: 8.719 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009742/0.1667, allocations: 5.333 MB / 0.6387 GB, free: 3.355 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007816/0.1745, allocations: 5.089 MB / 0.6437 GB, free: 14.26 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01343/0.1879, allocations: 12.88 MB / 0.6563 GB, free: 1.332 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005174/0.1931, allocations: 3.716 MB / 0.6599 GB, free: 13.55 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007802/0.2009, allocations: 6.886 MB / 0.6666 GB, free: 6.645 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004432/0.2053, allocations: 4.44 MB / 0.671 GB, free: 2.191 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.2064, allocations: 0.7773 MB / 0.6717 GB, free: 1.414 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/0.2105, allocations: 2.578 MB / 0.6742 GB, free: 14.83 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.2123, allocations: 2.522 MB / 0.6767 GB, free: 12.3 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003783/0.2161, allocations: 2.614 MB / 0.6793 GB, free: 9.68 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.2282, allocations: 12.64 MB / 0.6916 GB, free: 13 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2282, allocations: 0 / 0.6916 GB, free: 13 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2282, allocations: 4 kB / 0.6916 GB, free: 13 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0002748/0.2285, allocations: 0 / 0.6916 GB, free: 13 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.01324/0.2417, allocations: 8.566 MB / 0.7 GB, free: 4.328 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.2418, allocations: 8.031 kB / 0.7 GB, free: 4.32 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006042/0.2424, allocations: 0.6875 MB / 0.7007 GB, free: 3.621 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.2441, allocations: 1.045 MB / 0.7017 GB, free: 2.57 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007261/0.2514, allocations: 6.459 MB / 0.708 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.2516, allocations: 303.7 kB / 0.7083 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004448/0.252, allocations: 383.9 kB / 0.7086 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.264, allocations: 11.38 MB / 0.7197 GB, free: 14.36 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.341e-05/0.264, allocations: 47.56 kB / 0.7198 GB, free: 14.31 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/0.2643, allocations: 196 kB / 0.72 GB, free: 14.12 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/0.2645, allocations: 220.9 kB / 0.7202 GB, free: 13.9 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.2747, allocations: 6.922 MB / 0.727 GB, free: 6.941 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.3205/0.5952, allocations: 37.99 MB / 0.7641 GB, free: 171.3 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.6062, allocations: 5.859 MB / 0.7698 GB, free: 170.4 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002715/0.6089, allocations: 2.055 MB / 0.7718 GB, free: 169.3 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004479/0.6094, allocations: 230.1 kB / 0.772 GB, free: 169.3 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007831/0.6172, allocations: 5.339 MB / 0.7772 GB, free: 167.3 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002186/0.6194, allocations: 0.5473 MB / 0.7777 GB, free: 167.2 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=796): time 7.114e-06/0.6194, allocations: 0 / 0.7777 GB, free: 167.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=798): time 0.04988/0.6693, allocations: 44.46 MB / 0.8212 GB, free: 138.7 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002216/0.6695, allocations: 1.687 MB / 0.8228 GB, free: 136.7 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005826/0.6753, allocations: 6.234 MB / 0.8289 GB, free: 131.9 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001044/0.6764, allocations: 85.7 kB / 0.829 GB, free: 131.8 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00121/0.6776, allocations: 2.865 MB / 0.8318 GB, free: 129.1 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00152/0.6791, allocations: 2.655 MB / 0.8344 GB, free: 126.9 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/0.6805, allocations: 1.64 MB / 0.836 GB, free: 125.2 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.123e-05/0.6806, allocations: 301.1 kB / 0.8363 GB, free: 124.9 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/0.6836, allocations: 2.945 MB / 0.8391 GB, free: 121.9 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003695/0.6873, allocations: 6.154 MB / 0.8451 GB, free: 114.6 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1151/0.8024, allocations: 30.97 MB / 0.8754 GB, free: 83.67 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.734e-05/0.8025, allocations: 16 kB / 0.8754 GB, free: 83.66 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.0137/0.8162, allocations: 9.948 MB / 0.8851 GB, free: 73.62 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.532e-05/0.8162, allocations: 137.2 kB / 0.8853 GB, free: 73.47 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007608/0.8238, allocations: 7.329 MB / 0.8924 GB, free: 66.04 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04175/0.8656, allocations: 7.171 MB / 0.8994 GB, free: 58.9 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004585/0.8702, allocations: 2.044 MB / 0.9014 GB, free: 56.85 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.8731, allocations: 5.264 MB / 0.9065 GB, free: 51.29 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/0.8775, allocations: 280.5 kB / 0.9068 GB, free: 51.02 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005191/0.878, allocations: 0.5307 MB / 0.9073 GB, free: 50.5 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.005431/0.8835, allocations: 4.285 MB / 0.9115 GB, free: 46.19 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003525/0.887, allocations: 6.115 MB / 0.9175 GB, free: 38.8 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1151/1.002, allocations: 30.7 MB / 0.9475 GB, free: 7.102 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.172e-05/1.002, allocations: 16 kB / 0.9475 GB, free: 7.086 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1097) (initialization_lambda0): time 0.01204/1.014, allocations: 9.614 MB / 0.9569 GB, free: 13.37 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/1.014, allocations: 134.5 kB / 0.957 GB, free: 13.22 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008538/1.023, allocations: 7.114 MB / 0.9639 GB, free: 6.004 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04221/1.065, allocations: 6.877 MB / 0.9707 GB, free: 15.15 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005316/1.07, allocations: 2.075 MB / 0.9727 GB, free: 13.07 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/1.074, allocations: 4.866 MB / 0.9774 GB, free: 7.902 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004721/1.078, allocations: 283.9 kB / 0.9777 GB, free: 7.629 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007464/1.079, allocations: 0.532 MB / 0.9782 GB, free: 7.098 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.002097/1.081, allocations: 0.7821 MB / 0.979 GB, free: 6.344 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.083, allocations: 0.7681 MB / 0.9797 GB, free: 5.57 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.01102/1.094, allocations: 10.25 MB / 0.9898 GB, free: 11.66 MB / 0.698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.071283727884293] Failed to read output from testmodel.py, exit status != 0: 1.485868508927524 1.4922223559999999 1.262672078 Calling exit ...