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.01618/0.01618, allocations: 1.749 MB / 21.38 MB, free: 0.5625 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.001705/0.001705, allocations: 109 kB / 24.98 MB, free: 2.156 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.002484/0.002484, allocations: 204 kB / 28.71 MB, free: 3.441 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.417/1.417, allocations: 230.6 MB / 262.9 MB, free: 5.996 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.031/1.031, allocations: 130.7 MB / 450.5 MB, free: 6.555 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T,fileNamePrefix="ClaRa_ClaRa_Components_Sensors_Check_TestSensorVLE_L3_T",fmuType="cs",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.03063/0.03063, allocations: 20.6 MB / 0.6363 GB, free: 5.273 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.2007, allocations: 81.91 MB / 0.7163 GB, free: 3.273 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.4843/0.6849, allocations: 62.32 MB / 0.7772 GB, free: 8.531 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04793/0.7329, allocations: 25.72 MB / 0.8023 GB, free: 6.031 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01259/0.7454, allocations: 162.6 kB / 0.8024 GB, free: 5.957 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009973/0.7554, allocations: 3.108 MB / 0.8055 GB, free: 3.773 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01843/0.7739, allocations: 5.19 MB / 0.8106 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01434/0.7882, allocations: 5.014 MB / 0.8154 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02455/0.8127, allocations: 12.56 MB / 0.8277 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007513/0.8203, allocations: 3.459 MB / 0.8311 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01153/0.8318, allocations: 5.076 MB / 0.8361 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01118/0.843, allocations: 5.316 MB / 0.8412 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00351/0.8465, allocations: 0.7773 MB / 0.842 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00961/0.8561, allocations: 3.241 MB / 0.8452 GB, free: 15.25 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.004613/0.8607, allocations: 2.468 MB / 0.8476 GB, free: 12.77 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.008492/0.8692, allocations: 4.205 MB / 0.8517 GB, free: 8.543 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02364/0.8928, allocations: 12.8 MB / 0.8642 GB, free: 11.69 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.8928, allocations: 3.984 kB / 0.8642 GB, free: 11.68 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8928, allocations: 5.281 kB / 0.8642 GB, free: 11.68 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004835/0.8933, allocations: 0 / 0.8642 GB, free: 11.68 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.02249/0.9158, allocations: 8.661 MB / 0.8727 GB, free: 2.957 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.9159, allocations: 12.03 kB / 0.8727 GB, free: 2.945 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001339/0.916, allocations: 115.9 kB / 0.8728 GB, free: 2.832 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001197/0.9172, allocations: 0.6823 MB / 0.8734 GB, free: 2.141 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/0.9204, allocations: 1.038 MB / 0.8745 GB, free: 1.098 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.935, allocations: 6.47 MB / 0.8808 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003884/0.9354, allocations: 295.7 kB / 0.8811 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.9366, allocations: 387.9 kB / 0.8814 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.9606, allocations: 9.475 MB / 0.8907 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001474/0.9607, allocations: 47.56 kB / 0.8907 GB, free: 15.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006362/0.9614, allocations: 192 kB / 0.8909 GB, free: 15.15 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003251/0.9617, allocations: 220.9 kB / 0.8911 GB, free: 14.93 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02075/0.9825, allocations: 6.854 MB / 0.8978 GB, free: 8.074 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.05503/1.037, allocations: 40.32 MB / 0.9372 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/1.055, allocations: 5.774 MB / 0.9428 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004595/1.059, allocations: 1.975 MB / 0.9448 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008777/1.06, allocations: 260.2 kB / 0.945 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01656/1.077, allocations: 5.25 MB / 0.9501 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003445/1.08, allocations: 0.5422 MB / 0.9507 GB, free: 344 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=796): time 1.788e-05/1.08, allocations: 0 / 0.9507 GB, free: 344 kB / 0.7169 GB Notification: Performance of matching and sorting (n=798): time 0.08897/1.169, allocations: 44.24 MB / 0.9939 GB, free: 3.723 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009165/1.17, allocations: 1.681 MB / 0.9955 GB, free: 1.648 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/1.181, allocations: 6.13 MB / 1.001 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001442/1.182, allocations: 81.7 kB / 1.002 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002886/1.185, allocations: 2.88 MB / 1.004 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003744/1.189, allocations: 2.693 MB / 1.007 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003184/1.192, allocations: 1.656 MB / 1.009 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.192, allocations: 305.1 kB / 1.009 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005511/1.198, allocations: 2.85 MB / 1.012 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007859/1.206, allocations: 5.223 MB / 1.017 GB, free: 10.79 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2513/1.457, allocations: 30.93 MB / 1.047 GB, free: 11.01 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.815e-05/1.457, allocations: 21.22 kB / 1.047 GB, free: 10.99 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.0239/1.481, allocations: 9.817 MB / 1.057 GB, free: 1.094 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/1.481, allocations: 129.1 kB / 1.057 GB, free: 0.9492 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3182/1.799, allocations: 7.197 MB / 1.064 GB, free: 352.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08904/1.888, allocations: 7.181 MB / 1.071 GB, free: 352.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007094/1.895, allocations: 2.044 MB / 1.073 GB, free: 352.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004612/1.9, allocations: 5.288 MB / 1.078 GB, free: 348.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005954/1.906, allocations: 280.2 kB / 1.078 GB, free: 347.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/1.907, allocations: 0.5282 MB / 1.079 GB, free: 347.9 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.008061/1.915, allocations: 4.189 MB / 1.083 GB, free: 345.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005955/1.921, allocations: 5.185 MB / 1.088 GB, free: 341.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2375/2.159, allocations: 30.65 MB / 1.118 GB, free: 315 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.602e-05/2.159, allocations: 20 kB / 1.118 GB, free: 315 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1097) (initialization_lambda0): time 0.01912/2.178, allocations: 9.502 MB / 1.127 GB, free: 305.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.19e-05/2.178, allocations: 132.1 kB / 1.127 GB, free: 305.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01321/2.191, allocations: 7.004 MB / 1.134 GB, free: 298.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08667/2.278, allocations: 6.866 MB / 1.141 GB, free: 291.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007443/2.285, allocations: 2.075 MB / 1.143 GB, free: 289.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/2.289, allocations: 4.908 MB / 1.148 GB, free: 284.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/2.295, allocations: 287.3 kB / 1.148 GB, free: 284.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/2.297, allocations: 0.5231 MB / 1.148 GB, free: 283.7 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.002653/2.299, allocations: 0.7744 MB / 1.149 GB, free: 282.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002438/2.302, allocations: 0.7651 MB / 1.15 GB, free: 282.6 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.01725/2.319, allocations: 10.22 MB / 1.16 GB, free: 273 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.083739724010229] Failed to read output from testmodel.py, exit status != 0: 2.4603490830631927 2.4708052609999998 1.5751800919999999 Calling exit ...