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.009671/0.009671, 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.0007911/0.0007911, 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.001297/0.001297, allocations: 161.6 kB / 27.85 MB, free: 5.098 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.9042/0.9042, allocations: 177.2 MB / 208.6 MB, free: 2.961 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.7576/0.7576, allocations: 102.4 MB / 367.9 MB, free: 1.434 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15019,variableFilter="Time|temperatureSensorVLE_L3.fluidVolume.h|temperatureSensorVLE_L3.fluidVolume.p|temperatureSensorVLE_L3.pipeWall.U.1.|temperatureSensorVLE_L3.sensorWall.T.1.|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.h|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.p|temperatureSensorVLE_L3_considerHeatConduction.pipeWall.U.1.|temperatureSensorVLE_L3_considerHeatConduction.sensorWall.T.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T") translateModel(ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15019,variableFilter="Time|temperatureSensorVLE_L3.fluidVolume.h|temperatureSensorVLE_L3.fluidVolume.p|temperatureSensorVLE_L3.pipeWall.U.1.|temperatureSensorVLE_L3.sensorWall.T.1.|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.h|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.p|temperatureSensorVLE_L3_considerHeatConduction.pipeWall.U.1.|temperatureSensorVLE_L3_considerHeatConduction.sensorWall.T.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 0.5367 GB, free: 39.75 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.735e-05/4.052e-05, allocations: 3.594 kB / 0.5367 GB, free: 39.74 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.1242/0.1243, allocations: 71.96 MB / 0.6069 GB, free: 3.957 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03273/0.157, allocations: 24.5 MB / 0.6309 GB, free: 11.38 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006155/0.1631, allocations: 166.8 kB / 0.631 GB, free: 11.22 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.007235/0.1704, allocations: 3.037 MB / 0.634 GB, free: 8.164 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01552/0.1859, allocations: 5.341 MB / 0.6392 GB, free: 2.793 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01625/0.2021, allocations: 5.083 MB / 0.6442 GB, free: 13.7 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.0232/0.2253, allocations: 12.88 MB / 0.6568 GB, free: 0.7734 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007436/0.2328, allocations: 3.712 MB / 0.6604 GB, free: 12.99 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.019/0.2518, allocations: 6.886 MB / 0.6671 GB, free: 6.09 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009037/0.2608, allocations: 4.456 MB / 0.6715 GB, free: 1.621 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.002885/0.2637, allocations: 0.7773 MB / 0.6722 GB, free: 0.8438 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006749/0.2704, allocations: 2.578 MB / 0.6747 GB, free: 14.26 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002758/0.2732, allocations: 2.519 MB / 0.6772 GB, free: 11.73 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.005434/0.2786, allocations: 2.61 MB / 0.6797 GB, free: 9.113 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01772/0.2964, allocations: 12.63 MB / 0.6921 GB, free: 12.45 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.2964, allocations: 4 kB / 0.6921 GB, free: 12.44 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2964, allocations: 0 / 0.6921 GB, free: 12.44 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0004114/0.2968, allocations: 0 / 0.6921 GB, free: 12.44 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.01588/0.3127, allocations: 8.572 MB / 0.7005 GB, free: 3.766 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3127, allocations: 8.031 kB / 0.7005 GB, free: 3.758 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.3147, allocations: 1.042 MB / 0.7015 GB, free: 2.711 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.3252, allocations: 6.464 MB / 0.7078 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.3254, allocations: 299.7 kB / 0.7081 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000566/0.3259, allocations: 383.9 kB / 0.7084 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.3417, allocations: 11.38 MB / 0.7196 GB, free: 14.5 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.261e-05/0.3418, allocations: 47.56 kB / 0.7196 GB, free: 14.46 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004039/0.3422, allocations: 200 kB / 0.7198 GB, free: 14.26 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001778/0.3424, allocations: 220.9 kB / 0.72 GB, free: 14.04 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.3553, allocations: 6.926 MB / 0.7268 GB, free: 7.078 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.03902/0.3944, allocations: 37.36 MB / 0.7632 GB, free: 0.5195 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3168/0.7111, allocations: 5.856 MB / 0.769 GB, free: 176.5 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003067/0.7142, allocations: 2.06 MB / 0.771 GB, free: 175.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/0.7148, allocations: 223.3 kB / 0.7712 GB, free: 175.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009787/0.7246, allocations: 5.348 MB / 0.7764 GB, free: 173.3 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002054/0.7266, allocations: 0.5276 MB / 0.7769 GB, free: 173.2 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=796): time 1.143e-05/0.7266, allocations: 0 / 0.7769 GB, free: 173.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=798): time 0.05561/0.7822, allocations: 44.45 MB / 0.8203 GB, free: 144.8 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002645/0.7825, allocations: 1.685 MB / 0.822 GB, free: 142.8 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006878/0.7894, allocations: 6.063 MB / 0.8279 GB, free: 136.9 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001419/0.7908, allocations: 89.69 kB / 0.828 GB, free: 136.8 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.7921, allocations: 2.878 MB / 0.8308 GB, free: 134.1 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002519/0.7946, allocations: 2.654 MB / 0.8334 GB, free: 131.9 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/0.7964, allocations: 1.656 MB / 0.835 GB, free: 130.2 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 4.09e-05/0.7964, allocations: 301.1 kB / 0.8353 GB, free: 129.9 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/0.7997, allocations: 2.98 MB / 0.8382 GB, free: 126.9 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/0.8038, allocations: 6.21 MB / 0.8443 GB, free: 119.4 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1148/0.9186, allocations: 31.09 MB / 0.8746 GB, free: 88.31 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.542e-05/0.9186, allocations: 20 kB / 0.8746 GB, free: 88.29 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1105) (initialization): time 0.01446/0.9331, allocations: 9.885 MB / 0.8843 GB, free: 78.31 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-05/0.9332, allocations: 142.2 kB / 0.8844 GB, free: 78.15 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008713/0.9419, allocations: 7.404 MB / 0.8917 GB, free: 70.65 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04223/0.9841, allocations: 7.179 MB / 0.8987 GB, free: 63.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004687/0.9888, allocations: 2.055 MB / 0.9007 GB, free: 61.44 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.9921, allocations: 5.231 MB / 0.9058 GB, free: 55.94 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004725/0.9968, allocations: 294.3 kB / 0.9061 GB, free: 55.66 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008841/0.9977, allocations: 0.5315 MB / 0.9066 GB, free: 55.13 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.006399/1.004, allocations: 4.319 MB / 0.9108 GB, free: 50.8 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004164/1.008, allocations: 6.174 MB / 0.9168 GB, free: 43.34 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1166/1.125, allocations: 30.79 MB / 0.9469 GB, free: 11.52 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-05/1.125, allocations: 22.73 kB / 0.9469 GB, free: 11.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1105) (initialization_lambda0): time 0.01751/1.142, allocations: 9.695 MB / 0.9564 GB, free: 1.711 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.143, allocations: 133.1 kB / 0.9565 GB, free: 1.562 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01092/1.153, allocations: 7.231 MB / 0.9636 GB, free: 10.23 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04175/1.195, allocations: 6.871 MB / 0.9703 GB, free: 3.383 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005238/1.2, allocations: 2.09 MB / 0.9723 GB, free: 1.289 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/1.204, allocations: 4.84 MB / 0.9771 GB, free: 12.18 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004909/1.209, allocations: 288.6 kB / 0.9773 GB, free: 11.89 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/1.211, allocations: 0.527 MB / 0.9778 GB, free: 11.37 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: 305 * 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 (1050): * Single equations (assignments): 1042 * 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.00255/1.213, allocations: 0.7919 MB / 0.9786 GB, free: 10.6 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002663/1.216, allocations: 0.7526 MB / 0.9794 GB, free: 9.844 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.01499/1.231, allocations: 10.23 MB / 0.9894 GB, free: 15.94 MB / 0.698 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.412350949831307] Failed to read output from testmodel.py, exit status != 0: 1.6321027223020792 1.638866944 1.34072758 Calling exit ...