Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.conf.json 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.002126/0.002126, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002737/0.002737, allocations: 214 kB / 22.24 MB, free: 4.855 MB / 14.72 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.775/1.775, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 1.021/1.021, allocations: 94.63 MB / 407.1 MB, free: 8.906 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Sensors_Tests_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Sensors_Tests_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream 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: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 88.7 kB / 0.555 GB, free: 38.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1482, allocations: 73.04 MB / 0.6263 GB, free: 200 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.8078/0.956, allocations: 285.1 MB / 0.9048 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.08578/1.042, allocations: 59.68 MB / 0.963 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00371/1.045, allocations: 115.1 kB / 0.9631 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007606/1.053, allocations: 2.07 MB / 0.9652 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02697/1.08, allocations: 8.682 MB / 0.9736 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.02018/1.1, allocations: 6.02 MB / 0.9795 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01009/1.11, allocations: 4.479 MB / 0.9839 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/1.112, allocations: 0.6356 MB / 0.9845 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0208/1.133, allocations: 8.729 MB / 0.993 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004033/1.137, allocations: 1.769 MB / 0.9948 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0009465/1.138, allocations: 244 kB / 0.995 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03479/1.173, allocations: 12.35 MB / 1.007 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001978/1.175, allocations: 0.7472 MB / 1.008 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003086/1.178, allocations: 1.361 MB / 1.009 GB, free: 2.559 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.03763/1.215, allocations: 10.97 MB / 1.02 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/1.215, allocations: 7.984 kB / 1.02 GB, free: 7.551 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.735e-06/1.215, allocations: 4 kB / 1.02 GB, free: 7.547 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001152/1.216, allocations: 0 / 1.02 GB, free: 7.547 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 728 * Number of variables: 728 Notification: Performance of Generate backend data structure: time 0.01605/1.232, allocations: 4.907 MB / 1.025 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.916e-05/1.232, allocations: 12.03 kB / 1.025 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006415/1.232, allocations: 388.5 kB / 1.025 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003836/1.236, allocations: 0.685 MB / 1.026 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004631/1.241, allocations: 1.565 MB / 1.027 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/1.241, allocations: 205.4 kB / 1.027 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004097/1.241, allocations: 276 kB / 1.028 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007441/1.249, allocations: 3.346 MB / 1.031 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/1.249, allocations: 3.938 kB / 1.031 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/1.249, allocations: 112 kB / 1.031 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/1.249, allocations: 165.9 kB / 1.031 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006073/1.255, allocations: 2.752 MB / 1.034 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/1.271, allocations: 8.058 MB / 1.042 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004234/1.276, allocations: 1.649 MB / 1.043 GB, free: 15.12 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/1.277, allocations: 0.7572 MB / 1.044 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078/2.355, allocations: 203.5 MB / 1.243 GB, free: 163.4 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.657e-05/2.355, allocations: 63.48 kB / 1.243 GB, free: 163.3 MB / 0.795 GB Notification: Performance of pre-optimization done (n=168): time 6.151e-06/2.355, allocations: 0 / 1.243 GB, free: 163.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=168): time 0.008228/2.363, allocations: 3.133 MB / 1.246 GB, free: 160.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/2.363, allocations: 94.11 kB / 1.246 GB, free: 160.2 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/2.365, allocations: 1.503 MB / 1.248 GB, free: 158.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/2.365, allocations: 53.45 kB / 1.248 GB, free: 158.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000671/2.366, allocations: 1.14 MB / 1.249 GB, free: 157.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/2.366, allocations: 0.6111 MB / 1.249 GB, free: 157.2 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004949/2.367, allocations: 346.5 kB / 1.25 GB, free: 156.9 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.598e-05/2.367, allocations: 305.1 kB / 1.25 GB, free: 156.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009993/2.368, allocations: 0.6503 MB / 1.251 GB, free: 155.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/2.369, allocations: 0.8961 MB / 1.251 GB, free: 154.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/2.371, allocations: 1.645 MB / 1.253 GB, free: 153.2 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/2.371, allocations: 4 kB / 1.253 GB, free: 153.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003428/2.375, allocations: 2.083 MB / 1.255 GB, free: 151.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/2.375, allocations: 8 kB / 1.255 GB, free: 151.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/2.375, allocations: 8 kB / 1.255 GB, free: 151.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/2.375, allocations: 102.5 kB / 1.255 GB, free: 151 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009948/2.376, allocations: 363.5 kB / 1.256 GB, free: 150.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/2.378, allocations: 4.061 MB / 1.26 GB, free: 146.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/2.379, allocations: 179.5 kB / 1.26 GB, free: 146.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/2.38, allocations: 95.95 kB / 1.26 GB, free: 146 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 (boundary_fore1.rear.state_rearwards.phase,unidirectionalSensorAdapter1.state.phase,sensor_vaporQuality4.state.phase,boundary_rear1.fore.state_forwards.phase,singleFlowSensor1.state.phase,singleSensorSelect1.state.phase,boundary_fore.rear.state_rearwards.phase,sensor_vaporQuality2.state.phase,boundary_rear.fore.state_forwards.phase,singleFlowSensor.state.phase,unidirectionalSensorAdapter.state.phase,singleSensorSelect.state.phase,flowResistance1.fore.state_forwards.phase,flowResistance1.rear.state_rearwards.phase,multiSensor_Tpm1.state.phase,flowResistance.fore.state_forwards.phase,flowResistance.rear.state_rearwards.phase,multiSensor_Tpm.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 182 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008647/2.38, allocations: 481.3 kB / 1.26 GB, free: 145.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/2.381, allocations: 218.7 kB / 1.26 GB, free: 145.3 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005922/2.387, allocations: 5.977 MB / 1.266 GB, free: 139.4 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-05/2.387, allocations: 71.91 kB / 1.266 GB, free: 139.3 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/2.387, allocations: 0 / 1.266 GB, free: 139.3 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/2.387, allocations: 12.56 kB / 1.266 GB, free: 139.3 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008951/2.396, allocations: 8.478 MB / 1.275 GB, free: 130.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/2.396, allocations: 4 kB / 1.275 GB, free: 130.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009348/2.397, allocations: 303.7 kB / 1.275 GB, free: 130.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002943/2.397, allocations: 104.1 kB / 1.275 GB, free: 130.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/2.397, allocations: 63.97 kB / 1.275 GB, free: 130.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/2.399, allocations: 4.062 MB / 1.279 GB, free: 126 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/2.399, allocations: 1.078 kB / 1.279 GB, free: 126 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/2.405, allocations: 4.872 MB / 1.284 GB, free: 121.1 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007261/2.405, allocations: 323.3 kB / 1.284 GB, free: 120.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/2.406, allocations: 59.55 kB / 1.284 GB, free: 120.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/2.406, allocations: 35.98 kB / 1.284 GB, free: 120.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/2.406, allocations: 141.5 kB / 1.284 GB, free: 120.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/2.407, allocations: 79.95 kB / 1.284 GB, free: 120.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001264/2.408, allocations: 1.109 MB / 1.286 GB, free: 119.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/2.408, allocations: 0 / 1.286 GB, free: 119.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00641/2.414, allocations: 2.416 MB / 1.288 GB, free: 116.9 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (flowResistance2.rear.m_flow,singleSensorX1.value[1],singleSensorX1.value[2],flowResistance.rear.m_flow,flowResistance1.rear.m_flow,multiSensor_Tpm1.p,multiSensor_Tpm1.T,multiSensor_Tpm1.m_flow,singleSensorSelect1.value,singleFlowSensor1.value,sensor_vaporQuality4.value,differenceTwoPhaseSensorSensorSelect.value) * Number of discrete variables: 32 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 150 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01283/2.427, allocations: 8.336 MB / 1.296 GB, free: 108.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003486/2.431, allocations: 2.479 MB / 1.298 GB, free: 106.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/2.431, allocations: 4 kB / 1.298 GB, free: 106.3 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/2.432, allocations: 1.683 MB / 1.3 GB, free: 104.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004465/2.437, allocations: 1.033 MB / 1.301 GB, free: 103.6 MB / 0.795 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10546:11-10546:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02697/2.464, allocations: 19.41 MB / 1.32 GB, free: 83.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/2.465, allocations: 1.386 MB / 1.321 GB, free: 82.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002057/2.467, allocations: 1.067 MB / 1.322 GB, free: 81.36 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/2.468, allocations: 1.405 MB / 1.324 GB, free: 79.95 MB / 0.795 GB Notification: Performance of SimCode: time 1.813e-06/2.468, allocations: 0 / 1.324 GB, free: 79.95 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5815/3.05, allocations: 129.8 MB / 1.451 GB, free: 296.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.93/22.98, allocations: 7.938 kB / 1.451 GB, free: 296.1 MB / 0.795 GB " [Timeout remaining time 637] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Undirected_Sensors_Tests_TestSensors.fmu > ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Sensors.Tests.TestSensors_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable boundary_rear2.fore.m_flow in file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable boundary_rear2.fore.m_flow from file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable multiSensor_Tpm1.m_flow in file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable multiSensor_Tpm1.m_flow from file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable multiSensor_Tpm1.p in file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable multiSensor_Tpm1.p from file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable sensor_vaporQuality4.value in file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable sensor_vaporQuality4.value from file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleFlowSensor1.value in file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleFlowSensor1.value from file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleSensorSelect1.value in file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleSensorSelect1.value from file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleSensorX1.value[1] in file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleSensorX1.value[1] from file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleSensorX1.value[2] in file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleSensorX1.value[2] from file ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:Time,boundary_rear2.fore.m_flow,differenceTwoPhaseSensorSensorSelect.value,flowResistance.rear.m_flow,flowResistance1.rear.m_flow,multiSensor_Tpm1.T,multiSensor_Tpm1.m_flow,multiSensor_Tpm1.p,sensor_vaporQuality4.value,singleFlowSensor1.value,singleSensorSelect1.value,singleSensorX1.value[1],singleSensorX1.value[2] Variables in the result:time,differenceTwoPhaseSensorSensorSelect.value,flowResistance.rear.m_flow,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,multiSensor_Tpm1.T [Calling sys.exit(0), Time elapsed: 28.212239604908973]