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.00614/0.00614, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0007263/0.0007263, allocations: 91.3 kB / 24.91 MB, free: 7.266 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.0007476/0.0007476, allocations: 169.2 kB / 28.62 MB, free: 4.445 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.8895/0.8895, allocations: 177.1 MB / 209.4 MB, free: 2.969 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.7509/0.7509, allocations: 102.5 MB / 368.7 MB, free: 1.465 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: 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_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_ClaRa.Components.Sensors.Check.TestSensorVLE_L3_T") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5374 GB, free: 39.79 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.122e-05, allocations: 6.109 kB / 0.5374 GB, free: 39.79 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.1259/0.1259, allocations: 71.96 MB / 0.6077 GB, free: 4.008 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03509/0.161, allocations: 24.49 MB / 0.6316 GB, free: 11.44 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0075/0.1685, allocations: 166.8 kB / 0.6318 GB, free: 11.27 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.008542/0.1771, allocations: 3.049 MB / 0.6348 GB, free: 8.207 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01788/0.1949, allocations: 5.337 MB / 0.64 GB, free: 2.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01141/0.2064, allocations: 5.079 MB / 0.6449 GB, free: 13.75 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.0176/0.224, allocations: 12.88 MB / 0.6575 GB, free: 0.8203 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007182/0.2311, allocations: 3.712 MB / 0.6611 GB, free: 13.04 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/0.2436, allocations: 6.886 MB / 0.6679 GB, free: 6.137 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005757/0.2493, allocations: 4.452 MB / 0.6722 GB, free: 1.672 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.2505, allocations: 0.7773 MB / 0.673 GB, free: 0.8945 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004939/0.2555, allocations: 2.566 MB / 0.6755 GB, free: 14.32 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.2575, allocations: 2.519 MB / 0.6779 GB, free: 11.8 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003326/0.2608, allocations: 2.614 MB / 0.6805 GB, free: 9.176 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.2764, allocations: 12.64 MB / 0.6928 GB, free: 12.5 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2764, allocations: 3.938 kB / 0.6928 GB, free: 12.49 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2764, allocations: 3.938 kB / 0.6928 GB, free: 12.49 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0003569/0.2768, allocations: 0 / 0.6928 GB, free: 12.49 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.01296/0.2898, allocations: 8.568 MB / 0.7012 GB, free: 3.82 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.2898, allocations: 8.031 kB / 0.7012 GB, free: 3.812 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.2916, allocations: 1.045 MB / 0.7022 GB, free: 2.762 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00827/0.2999, allocations: 6.462 MB / 0.7085 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.3001, allocations: 303.7 kB / 0.7088 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004186/0.3005, allocations: 383.9 kB / 0.7092 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.3136, allocations: 11.38 MB / 0.7203 GB, free: 14.56 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.314e-05/0.3137, allocations: 47.56 kB / 0.7203 GB, free: 14.51 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003262/0.314, allocations: 204 kB / 0.7205 GB, free: 14.31 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.3142, allocations: 216.9 kB / 0.7207 GB, free: 14.1 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.3249, allocations: 6.926 MB / 0.7275 GB, free: 7.133 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.02894/0.3538, allocations: 37.35 MB / 0.764 GB, free: 0.5742 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3213/0.6751, allocations: 5.854 MB / 0.7697 GB, free: 176.6 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002868/0.6779, allocations: 2.061 MB / 0.7717 GB, free: 175.5 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004789/0.6784, allocations: 227 kB / 0.7719 GB, free: 175.5 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008346/0.6868, allocations: 5.344 MB / 0.7772 GB, free: 173.4 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002421/0.6892, allocations: 0.5258 MB / 0.7777 GB, free: 173.3 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=796): time 7.935e-06/0.6892, allocations: 0 / 0.7777 GB, free: 173.3 MB / 0.6512 GB Notification: Performance of matching and sorting (n=798): time 0.05055/0.7398, allocations: 44.45 MB / 0.8211 GB, free: 144.9 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002993/0.74, allocations: 1.681 MB / 0.8227 GB, free: 142.9 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005937/0.746, allocations: 6.073 MB / 0.8286 GB, free: 137 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001083/0.7471, allocations: 85.7 kB / 0.8287 GB, free: 136.9 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.7484, allocations: 2.874 MB / 0.8315 GB, free: 134.2 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/0.75, allocations: 2.651 MB / 0.8341 GB, free: 132 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/0.7515, allocations: 1.66 MB / 0.8357 GB, free: 130.3 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 4.3e-05/0.7515, allocations: 301.1 kB / 0.836 GB, free: 130 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003157/0.7547, allocations: 2.982 MB / 0.8389 GB, free: 127 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00389/0.7586, allocations: 6.209 MB / 0.845 GB, free: 119.5 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1146/0.8732, allocations: 31.08 MB / 0.8754 GB, free: 88.41 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.819e-05/0.8732, allocations: 23.06 kB / 0.8754 GB, free: 88.39 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1105) (initialization): time 0.01303/0.8862, allocations: 9.895 MB / 0.8851 GB, free: 78.4 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.303e-05/0.8863, allocations: 129.1 kB / 0.8852 GB, free: 78.25 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007923/0.8943, allocations: 7.406 MB / 0.8924 GB, free: 70.75 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0418/0.9361, allocations: 7.181 MB / 0.8994 GB, free: 63.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006366/0.9424, allocations: 2.051 MB / 0.9014 GB, free: 61.54 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003786/0.9462, allocations: 5.243 MB / 0.9065 GB, free: 56.04 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00602/0.9522, allocations: 275.8 kB / 0.9068 GB, free: 55.77 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000596/0.9528, allocations: 0.5348 MB / 0.9073 GB, free: 55.23 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.007062/0.9599, allocations: 4.319 MB / 0.9115 GB, free: 50.89 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004028/0.9639, allocations: 6.174 MB / 0.9176 GB, free: 43.44 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1117/1.076, allocations: 30.8 MB / 0.9477 GB, free: 11.62 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.564e-05/1.076, allocations: 23.09 kB / 0.9477 GB, free: 11.6 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1105) (initialization_lambda0): time 0.01191/1.088, allocations: 9.692 MB / 0.9571 GB, free: 1.809 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/1.088, allocations: 134.8 kB / 0.9573 GB, free: 1.66 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008435/1.096, allocations: 7.233 MB / 0.9643 GB, free: 10.33 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04181/1.138, allocations: 6.864 MB / 0.971 GB, free: 3.48 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/1.143, allocations: 2.105 MB / 0.9731 GB, free: 1.379 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/1.146, allocations: 4.839 MB / 0.9778 GB, free: 12.27 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/1.15, allocations: 287.2 kB / 0.9781 GB, free: 11.99 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005784/1.151, allocations: 0.5309 MB / 0.9786 GB, free: 11.46 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.002102/1.153, allocations: 0.7756 MB / 0.9794 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.154, allocations: 0.7604 MB / 0.9801 GB, free: 9.938 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.01122/1.165, allocations: 10.23 MB / 0.9901 GB, free: 40 kB / 0.6824 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.362471845932305] Failed to read output from testmodel.py, exit status != 0: 1.5928561296314 1.599016095 1.320988341 Calling exit ...