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.01486/0.01486, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001629/0.001629, allocations: 109.2 kB / 24.19 MB, free: 2.688 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.002233/0.002233, allocations: 209.4 kB / 27.92 MB, free: 4.027 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.491/1.491, allocations: 230.6 MB / 262.1 MB, free: 5.992 MB / 206.1 MB " [Timeout remaining time 178] 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 1.078/1.078, allocations: 130.7 MB / 449.7 MB, free: 6.598 MB / 350.1 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.3.1 (/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: SMArtInt 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: 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: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03466/0.03466, allocations: 20.78 MB / 0.6358 GB, free: 5.141 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.2323, allocations: 81.9 MB / 0.7157 GB, free: 3.133 MB / 0.5294 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.57/0.8023, allocations: 62.32 MB / 0.7766 GB, free: 8.449 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04657/0.8489, allocations: 25.72 MB / 0.8017 GB, free: 5.934 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01096/0.8598, allocations: 162 kB / 0.8019 GB, free: 5.859 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.87, allocations: 3.102 MB / 0.8049 GB, free: 3.68 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01875/0.8888, allocations: 5.182 MB / 0.8099 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01492/0.9037, allocations: 5.034 MB / 0.8149 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.024/0.9277, allocations: 12.56 MB / 0.8271 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007569/0.9352, allocations: 3.456 MB / 0.8305 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.9479, allocations: 5.072 MB / 0.8355 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.012/0.9599, allocations: 5.317 MB / 0.8407 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003997/0.9639, allocations: 0.7832 MB / 0.8414 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.9751, allocations: 3.235 MB / 0.8446 GB, free: 15.1 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005326/0.9804, allocations: 2.472 MB / 0.847 GB, free: 12.62 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01017/0.9906, allocations: 4.2 MB / 0.8511 GB, free: 8.398 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0279/1.018, allocations: 12.8 MB / 0.8636 GB, free: 11.55 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/1.018, allocations: 4 kB / 0.8636 GB, free: 11.54 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.833e-06/1.018, allocations: 0 / 0.8636 GB, free: 11.54 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004695/1.019, allocations: 4 kB / 0.8636 GB, free: 11.54 MB / 0.6388 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.03296/1.052, allocations: 8.663 MB / 0.8721 GB, free: 2.805 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 7.669e-05/1.052, allocations: 10.69 kB / 0.8721 GB, free: 2.797 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003215/1.055, allocations: 0.6836 MB / 0.8727 GB, free: 2.102 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006857/1.062, allocations: 1.034 MB / 0.8737 GB, free: 1.062 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02558/1.088, allocations: 6.467 MB / 0.8801 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005977/1.088, allocations: 299.7 kB / 0.8804 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002145/1.09, allocations: 383.9 kB / 0.8807 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04202/1.132, allocations: 9.472 MB / 0.89 GB, free: 15.35 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002489/1.133, allocations: 50.22 kB / 0.89 GB, free: 15.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001711/1.134, allocations: 196 kB / 0.8902 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005081/1.135, allocations: 222.6 kB / 0.8904 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03427/1.169, allocations: 6.854 MB / 0.8971 GB, free: 8.035 MB / 0.67 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.0607/1.23, allocations: 40.32 MB / 0.9365 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/1.247, allocations: 5.776 MB / 0.9421 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006113/1.253, allocations: 1.972 MB / 0.944 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.254, allocations: 256.3 kB / 0.9443 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01765/1.272, allocations: 5.251 MB / 0.9494 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003409/1.276, allocations: 0.5486 MB / 0.95 GB, free: 304 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=796): time 1.993e-05/1.276, allocations: 0 / 0.95 GB, free: 304 kB / 0.7169 GB Notification: Performance of matching and sorting (n=798): time 0.08914/1.365, allocations: 44.23 MB / 0.9932 GB, free: 3.688 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001029/1.366, allocations: 1.689 MB / 0.9948 GB, free: 1.609 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/1.378, allocations: 6.118 MB / 1.001 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001467/1.38, allocations: 92.39 kB / 1.001 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003426/1.383, allocations: 2.883 MB / 1.004 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.00449/1.388, allocations: 2.687 MB / 1.006 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003655/1.391, allocations: 1.66 MB / 1.008 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.391, allocations: 301.1 kB / 1.008 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006141/1.398, allocations: 2.848 MB / 1.011 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009587/1.407, allocations: 5.231 MB / 1.016 GB, free: 10.75 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2649/1.672, allocations: 30.92 MB / 1.046 GB, free: 11 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.135e-05/1.672, allocations: 20 kB / 1.046 GB, free: 10.98 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.02706/1.699, allocations: 9.824 MB / 1.056 GB, free: 1.078 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/1.699, allocations: 129.1 kB / 1.056 GB, free: 0.9336 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3427/2.042, allocations: 7.199 MB / 1.063 GB, free: 350.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09317/2.135, allocations: 7.186 MB / 1.07 GB, free: 350.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007797/2.143, allocations: 2.032 MB / 1.072 GB, free: 350.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005296/2.148, allocations: 5.29 MB / 1.077 GB, free: 346.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006328/2.155, allocations: 286 kB / 1.078 GB, free: 346.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001955/2.157, allocations: 0.5309 MB / 1.078 GB, free: 346.3 MB / 0.8263 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.009879/2.166, allocations: 4.193 MB / 1.082 GB, free: 344.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007261/2.174, allocations: 5.185 MB / 1.087 GB, free: 340.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2389/2.413, allocations: 30.65 MB / 1.117 GB, free: 312.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.946e-05/2.413, allocations: 20 kB / 1.117 GB, free: 312.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1097) (initialization_lambda0): time 0.02129/2.434, allocations: 9.495 MB / 1.126 GB, free: 303.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/2.434, allocations: 136.8 kB / 1.127 GB, free: 303.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01401/2.448, allocations: 7.011 MB / 1.133 GB, free: 296.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08806/2.536, allocations: 6.864 MB / 1.14 GB, free: 289.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006802/2.543, allocations: 2.071 MB / 1.142 GB, free: 287.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003528/2.546, allocations: 4.909 MB / 1.147 GB, free: 282.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/2.552, allocations: 280.6 kB / 1.147 GB, free: 281.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/2.554, allocations: 0.527 MB / 1.148 GB, free: 281.4 MB / 0.8263 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.002614/2.556, allocations: 0.7773 MB / 1.148 GB, free: 280.6 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002237/2.559, allocations: 0.7659 MB / 1.149 GB, free: 280.3 MB / 0.8263 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.01635/2.575, allocations: 10.21 MB / 1.159 GB, free: 270.6 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.5584202259997255] Failed to read output from testmodel.py, exit status != 0: 2.736202249998314 2.7475406159999998 1.726103216 Calling exit ...