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.01298/0.01298, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.001505/0.001505, allocations: 83.94 kB / 25.15 MB, free: 7.465 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.001899/0.001899, allocations: 159.5 kB / 29.05 MB, free: 3.672 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 1.002/1.002, allocations: 177.1 MB / 210 MB, free: 3.543 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.5952/0.5952, allocations: 102.5 MB / 369.5 MB, free: 312 kB / 330.7 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 1.0.0 (/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.[0-9,]+.|temperatureSensorVLE_L3.sensorWall.T.[0-9,]+.|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.h|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.p|temperatureSensorVLE_L3_considerHeatConduction.pipeWall.U.[0-9,]+.|temperatureSensorVLE_L3_considerHeatConduction.sensorWall.T.[0-9,]+.",fileNamePrefix="ClaRa_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.[0-9,]+.|temperatureSensorVLE_L3.sensorWall.T.[0-9,]+.|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.h|temperatureSensorVLE_L3_considerHeatConduction.fluidVolume.p|temperatureSensorVLE_L3_considerHeatConduction.pipeWall.U.[0-9,]+.|temperatureSensorVLE_L3_considerHeatConduction.sensorWall.T.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 470 MB, free: 18.89 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.357e-05, allocations: 4.094 kB / 470 MB, free: 18.88 MB / 410.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.1195/0.1195, allocations: 78.32 MB / 0.5354 GB, free: 9.512 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03115/0.1506, allocations: 25.28 MB / 0.5601 GB, free: 168 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005269/0.1559, allocations: 162.8 kB / 0.5603 GB, free: 4 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005927/0.1618, allocations: 3.041 MB / 0.5632 GB, free: 12.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01139/0.1732, allocations: 5.333 MB / 0.5685 GB, free: 7.582 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008995/0.1822, allocations: 5.076 MB / 0.5734 GB, free: 2.496 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01647/0.1987, allocations: 12.9 MB / 0.586 GB, free: 5.566 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005809/0.2045, allocations: 3.921 MB / 0.5898 GB, free: 1.578 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/0.215, allocations: 6.886 MB / 0.5966 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006094/0.2211, allocations: 4.464 MB / 0.6009 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.2225, allocations: 0.7773 MB / 0.6017 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/0.2272, allocations: 2.566 MB / 0.6042 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.2291, allocations: 2.53 MB / 0.6067 GB, free: 320 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.232, allocations: 2.618 MB / 0.6092 GB, free: 13.69 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.009092/0.2411, allocations: 8.053 MB / 0.6171 GB, free: 5.605 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2411, allocations: 0 / 0.6171 GB, free: 5.605 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2411, allocations: 4 kB / 0.6171 GB, free: 5.602 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 7.136e-05/0.2412, allocations: 0 / 0.6171 GB, free: 5.602 MB / 0.5262 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.008648/0.2498, allocations: 8.92 MB / 0.6258 GB, free: 12.57 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2499, allocations: 8.031 kB / 0.6258 GB, free: 12.57 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.2516, allocations: 1.346 MB / 0.6271 GB, free: 11.21 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006739/0.2583, allocations: 6.034 MB / 0.633 GB, free: 5.094 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.2585, allocations: 307.7 kB / 0.6333 GB, free: 4.793 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003917/0.2589, allocations: 415.9 kB / 0.6337 GB, free: 4.387 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.2701, allocations: 10.54 MB / 0.644 GB, free: 7.816 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.008e-05/0.2702, allocations: 43.56 kB / 0.644 GB, free: 7.773 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.2705, allocations: 204 kB / 0.6442 GB, free: 7.574 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001564/0.2706, allocations: 213 kB / 0.6444 GB, free: 7.363 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008203/0.2788, allocations: 4.712 MB / 0.649 GB, free: 2.605 MB / 0.5574 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.2419/0.5207, allocations: 49.76 MB / 0.6976 GB, free: 45.9 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007507/0.5282, allocations: 4.799 MB / 0.7023 GB, free: 45.01 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.5297, allocations: 1.302 MB / 0.7036 GB, free: 44.64 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004122/0.5301, allocations: 247.2 kB / 0.7038 GB, free: 44.62 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006676/0.5368, allocations: 4.342 MB / 0.708 GB, free: 43.85 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001472/0.5383, allocations: 0.5282 MB / 0.7086 GB, free: 43.85 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=796): time 1.273e-05/0.5383, allocations: 2.625 kB / 0.7086 GB, free: 43.85 MB / 0.5574 GB Notification: Performance of matching and sorting (n=798): time 0.04419/0.5825, allocations: 40.04 MB / 0.7477 GB, free: 22.36 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002612/0.5827, allocations: 1.686 MB / 0.7493 GB, free: 20.35 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005319/0.5881, allocations: 5.323 MB / 0.7545 GB, free: 19.64 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0008442/0.5889, allocations: 86.48 kB / 0.7546 GB, free: 19.61 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.5904, allocations: 3.069 MB / 0.7576 GB, free: 18.23 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001458/0.5919, allocations: 2.702 MB / 0.7602 GB, free: 16.21 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/0.5934, allocations: 1.753 MB / 0.7619 GB, free: 15.69 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.5935, allocations: 476.8 kB / 0.7624 GB, free: 15.22 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/0.5956, allocations: 1.632 MB / 0.764 GB, free: 14.64 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003319/0.5989, allocations: 5.805 MB / 0.7697 GB, free: 8.645 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008121/0.6071, allocations: 8.484 MB / 0.7779 GB, free: 2.836 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/0.6071, allocations: 20.34 kB / 0.778 GB, free: 2.836 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1105) (initialization): time 0.009868/0.617, allocations: 7.419 MB / 0.7852 GB, free: 15.86 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.6171, allocations: 133.1 kB / 0.7853 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007074/0.6241, allocations: 4.848 MB / 0.7901 GB, free: 10.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04329/0.6674, allocations: 7.295 MB / 0.7972 GB, free: 3.852 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0046/0.672, allocations: 2.054 MB / 0.7992 GB, free: 1.922 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/0.6756, allocations: 6.468 MB / 0.8055 GB, free: 11.18 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/0.6787, allocations: 274.5 kB / 0.8058 GB, free: 10.91 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005757/0.6793, allocations: 0.5309 MB / 0.8063 GB, free: 10.38 MB / 0.5887 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.003732/0.683, allocations: 1.812 MB / 0.8081 GB, free: 8.547 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004187/0.6872, allocations: 5.785 MB / 0.8137 GB, free: 1.137 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009944/0.6972, allocations: 8.43 MB / 0.822 GB, free: 7.68 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.782e-05/0.6972, allocations: 16 kB / 0.822 GB, free: 7.664 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1105) (initialization_lambda0): time 0.01058/0.7078, allocations: 7.302 MB / 0.8291 GB, free: 0.7344 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/0.7079, allocations: 137 kB / 0.8292 GB, free: 0.582 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007009/0.7149, allocations: 4.756 MB / 0.8339 GB, free: 11.77 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04317/0.758, allocations: 7.048 MB / 0.8408 GB, free: 5.062 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004734/0.7628, allocations: 2.096 MB / 0.8428 GB, free: 3.09 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.7658, allocations: 6.232 MB / 0.8489 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/0.7693, allocations: 280.6 kB / 0.8492 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005632/0.7699, allocations: 0.5309 MB / 0.8497 GB, free: 11.78 MB / 0.6355 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.001834/0.7717, allocations: 0.8675 MB / 0.8505 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/0.773, allocations: 0.8503 MB / 0.8514 GB, free: 10.17 MB / 0.6355 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.009681/0.7827, allocations: 9.375 MB / 0.8605 GB, free: 1.367 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.656934272032231]