Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001852/0.001852, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002259/0.002259, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8177/0.8177, allocations: 100.3 MB / 412.7 MB, free: 3.98 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Sensors_Tests_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_dev_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.004213/0.004213, allocations: 83.77 kB / 0.5633 GB, free: 35.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1798, allocations: 74.47 MB / 0.636 GB, free: 7.656 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.7508/0.9305, allocations: 324.5 MB / 0.9529 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.08534/1.016, allocations: 66.68 MB / 1.018 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004062/1.02, allocations: 115 kB / 1.018 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.007619/1.028, allocations: 2.467 MB / 1.02 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02564/1.053, allocations: 8.764 MB / 1.029 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01959/1.073, allocations: 6.149 MB / 1.035 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008466/1.081, allocations: 4.494 MB / 1.039 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/1.083, allocations: 0.6512 MB / 1.04 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01842/1.101, allocations: 8.727 MB / 1.049 GB, free: 12.18 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00375/1.105, allocations: 1.957 MB / 1.051 GB, free: 10.21 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008736/1.106, allocations: 247.9 kB / 1.051 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5041/1.61, allocations: 13.59 MB / 1.064 GB, free: 26.36 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001359/1.611, allocations: 0.7449 MB / 1.065 GB, free: 26.36 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003425/1.615, allocations: 1.663 MB / 1.066 GB, free: 26.36 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.03235/1.647, allocations: 11.06 MB / 1.077 GB, free: 25.85 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/1.647, allocations: 2.562 kB / 1.077 GB, free: 25.85 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.934e-06/1.647, allocations: 0 / 1.077 GB, free: 25.85 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.668e-05/1.647, allocations: 0.9688 kB / 1.077 GB, free: 25.85 MB / 0.795 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.01706/1.664, allocations: 4.935 MB / 1.082 GB, free: 23.89 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.664, allocations: 9.938 kB / 1.082 GB, free: 23.89 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004017/1.665, allocations: 383.5 kB / 1.082 GB, free: 23.84 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/1.668, allocations: 0.6822 MB / 1.083 GB, free: 23.66 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/1.671, allocations: 1.547 MB / 1.085 GB, free: 23.24 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/1.671, allocations: 207.1 kB / 1.085 GB, free: 23.23 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/1.672, allocations: 282.3 kB / 1.085 GB, free: 23.23 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006402/1.678, allocations: 3.346 MB / 1.088 GB, free: 22.96 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.428e-05/1.678, allocations: 3.719 kB / 1.088 GB, free: 22.96 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/1.678, allocations: 111 kB / 1.088 GB, free: 22.96 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/1.679, allocations: 167.5 kB / 1.089 GB, free: 22.96 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00514/1.684, allocations: 2.759 MB / 1.091 GB, free: 22.95 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/1.698, allocations: 15.3 MB / 1.106 GB, free: 12.61 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003559/1.701, allocations: 1.628 MB / 1.108 GB, free: 12.55 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/1.702, allocations: 0.7595 MB / 1.109 GB, free: 12.53 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7124/2.415, allocations: 202.8 MB / 1.307 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.225e-05/2.415, allocations: 43.38 kB / 1.307 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=168): time 5.47e-06/2.415, allocations: 5.219 kB / 1.307 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=168): time 0.009558/2.424, allocations: 3.137 MB / 1.31 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/2.425, allocations: 98.11 kB / 1.31 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/2.428, allocations: 1.488 MB / 1.311 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003305/2.428, allocations: 50.95 kB / 1.311 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/2.429, allocations: 1.149 MB / 1.312 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009225/2.43, allocations: 0.6094 MB / 1.313 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000918/2.431, allocations: 337.3 kB / 1.313 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000153/2.431, allocations: 304.4 kB / 1.314 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/2.432, allocations: 0.6583 MB / 1.314 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/2.434, allocations: 0.8908 MB / 1.315 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/2.437, allocations: 1.644 MB / 1.317 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/2.437, allocations: 4 kB / 1.317 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005384/2.443, allocations: 2.077 MB / 1.319 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/2.443, allocations: 8 kB / 1.319 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/2.443, allocations: 4 kB / 1.319 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004599/2.443, allocations: 108.9 kB / 1.319 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/2.445, allocations: 364.6 kB / 1.319 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004443/2.449, allocations: 4.087 MB / 1.323 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/2.451, allocations: 171.2 kB / 1.323 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003103/2.451, allocations: 97.52 kB / 1.323 GB, free: 1.789 MB / 0.9512 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.001205/2.452, allocations: 483.2 kB / 1.324 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007009/2.453, allocations: 206.7 kB / 1.324 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008245/2.461, allocations: 5.959 MB / 1.33 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/2.461, allocations: 78.83 kB / 1.33 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/2.461, allocations: 9.75 kB / 1.33 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.885e-05/2.461, allocations: 11.97 kB / 1.33 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/2.474, allocations: 8.771 MB / 1.339 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/2.474, allocations: 0 / 1.339 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/2.475, allocations: 304.7 kB / 1.339 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003811/2.476, allocations: 115 kB / 1.339 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/2.476, allocations: 66.55 kB / 1.339 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/2.479, allocations: 4.075 MB / 1.343 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/2.479, allocations: 12.16 kB / 1.343 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007457/2.487, allocations: 4.851 MB / 1.348 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/2.488, allocations: 329.1 kB / 1.348 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004526/2.488, allocations: 51.48 kB / 1.348 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008724/2.489, allocations: 39.98 kB / 1.348 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/2.489, allocations: 151.4 kB / 1.348 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/2.489, allocations: 71.97 kB / 1.348 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001818/2.491, allocations: 1.116 MB / 1.349 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/2.491, allocations: 0 / 1.349 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.008991/2.5, allocations: 2.406 MB / 1.352 GB, free: 11.09 MB / 0.9825 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.02133/2.522, allocations: 8.338 MB / 1.36 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005463/2.527, allocations: 2.489 MB / 1.362 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/2.527, allocations: 0 / 1.362 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002929/2.53, allocations: 1.667 MB / 1.364 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00527/2.535, allocations: 1.044 MB / 1.365 GB, free: 13.84 MB / 0.9981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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:10487:11-10487: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.04044/2.576, allocations: 19.42 MB / 1.384 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00202/2.578, allocations: 1.936 MB / 1.386 GB, free: 8.176 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002801/2.581, allocations: 1.067 MB / 1.387 GB, free: 7.141 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/2.583, allocations: 1.401 MB / 1.388 GB, free: 5.738 MB / 1.014 GB Notification: Performance of SimCode: time 1.623e-06/2.583, allocations: 0 / 1.388 GB, free: 5.738 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.601/3.184, allocations: 127.8 MB / 1.513 GB, free: 471.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.76/23.94, allocations: 9.766 kB / 1.513 GB, free: 471.2 MB / 1.029 GB " [Timeout remaining time 636] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Undirected_Sensors_Tests_TestSensors.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable boundary_rear2.fore.m_flow in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable boundary_rear2.fore.m_flow from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable multiSensor_Tpm1.m_flow in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable multiSensor_Tpm1.m_flow from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable multiSensor_Tpm1.p in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable multiSensor_Tpm1.p from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable sensor_vaporQuality4.value in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable sensor_vaporQuality4.value from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleFlowSensor1.value in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleFlowSensor1.value from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleSensorSelect1.value in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleSensorSelect1.value from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleSensorX1.value[1] in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleSensorX1.value[1] from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleSensorX1.value[2] in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleSensorX1.value[2] from file ThermofluidStream_dev_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.28818995900292]