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.001721/0.001721, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.002146/0.002146, allocations: 218.1 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 8.016 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 0.8096/0.8096, allocations: 94.56 MB / 407 MB, free: 9.188 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.003395/0.003395, allocations: 85.91 kB / 0.555 GB, free: 38.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1671, allocations: 73.06 MB / 0.6263 GB, free: 472 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.7419/0.909, allocations: 324.5 MB / 0.9432 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.09305/1.002, allocations: 66.69 MB / 1.008 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00355/1.006, allocations: 111.1 kB / 1.008 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.007136/1.013, allocations: 2.463 MB / 1.011 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02721/1.04, allocations: 8.771 MB / 1.019 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02123/1.061, allocations: 6.144 MB / 1.025 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01032/1.071, allocations: 4.487 MB / 1.03 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/1.073, allocations: 0.659 MB / 1.03 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0201/1.093, allocations: 8.724 MB / 1.039 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00464/1.098, allocations: 1.957 MB / 1.041 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0008772/1.099, allocations: 248 kB / 1.041 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.553/1.652, allocations: 13.59 MB / 1.054 GB, free: 24.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001088/1.653, allocations: 0.7487 MB / 1.055 GB, free: 24.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002869/1.656, allocations: 1.668 MB / 1.057 GB, free: 24.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.03404/1.69, allocations: 11.05 MB / 1.068 GB, free: 24.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.69, allocations: 3.188 kB / 1.068 GB, free: 24.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.926e-06/1.69, allocations: 2.562 kB / 1.068 GB, free: 24.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001388/1.69, allocations: 0 / 1.068 GB, free: 24.33 MB / 0.7794 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.01546/1.705, allocations: 4.938 MB / 1.072 GB, free: 22.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.705, allocations: 10.38 kB / 1.072 GB, free: 22.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004725/1.706, allocations: 385.4 kB / 1.073 GB, free: 22.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/1.71, allocations: 0.6796 MB / 1.073 GB, free: 22.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/1.713, allocations: 1.545 MB / 1.075 GB, free: 21.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/1.714, allocations: 210.4 kB / 1.075 GB, free: 21.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004963/1.714, allocations: 281.1 kB / 1.075 GB, free: 21.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0066/1.721, allocations: 3.341 MB / 1.079 GB, free: 21.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.675e-05/1.721, allocations: 3.469 kB / 1.079 GB, free: 21.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/1.721, allocations: 112.6 kB / 1.079 GB, free: 21.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/1.721, allocations: 169.6 kB / 1.079 GB, free: 21.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005161/1.726, allocations: 2.756 MB / 1.082 GB, free: 21.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/1.74, allocations: 15.3 MB / 1.097 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/1.744, allocations: 1.636 MB / 1.098 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/1.745, allocations: 0.7587 MB / 1.099 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7104/2.456, allocations: 202.8 MB / 1.297 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.256e-05/2.456, allocations: 46.56 kB / 1.297 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=168): time 4.539e-06/2.456, allocations: 0 / 1.297 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=168): time 0.008417/2.464, allocations: 3.135 MB / 1.3 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/2.464, allocations: 96.64 kB / 1.3 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/2.466, allocations: 1.492 MB / 1.302 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/2.466, allocations: 51.95 kB / 1.302 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000805/2.467, allocations: 1.145 MB / 1.303 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000555/2.468, allocations: 0.6077 MB / 1.303 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005191/2.468, allocations: 344.5 kB / 1.304 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001335/2.468, allocations: 301.1 kB / 1.304 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/2.47, allocations: 0.6537 MB / 1.305 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/2.471, allocations: 0.9027 MB / 1.305 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/2.473, allocations: 1.64 MB / 1.307 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/2.473, allocations: 0 / 1.307 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00383/2.477, allocations: 2.07 MB / 1.309 GB, free: 104 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/2.477, allocations: 8 kB / 1.309 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/2.477, allocations: 7.281 kB / 1.309 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/2.478, allocations: 108.7 kB / 1.309 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/2.479, allocations: 366.4 kB / 1.31 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/2.483, allocations: 4.084 MB / 1.314 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/2.484, allocations: 174.6 kB / 1.314 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/2.484, allocations: 101.8 kB / 1.314 GB, free: 11.34 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.001004/2.485, allocations: 482.5 kB / 1.314 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/2.485, allocations: 206.7 kB / 1.314 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007787/2.493, allocations: 5.966 MB / 1.32 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.053e-05/2.493, allocations: 75.16 kB / 1.32 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/2.493, allocations: 6.625 kB / 1.32 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/2.493, allocations: 7.969 kB / 1.32 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/2.505, allocations: 8.771 MB / 1.329 GB, free: 364 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/2.505, allocations: 0 / 1.329 GB, free: 364 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/2.507, allocations: 306.8 kB / 1.329 GB, free: 72 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003818/2.507, allocations: 113.5 kB / 1.329 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/2.507, allocations: 61.61 kB / 1.329 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/2.511, allocations: 4.09 MB / 1.333 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/2.511, allocations: 4.031 kB / 1.333 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007365/2.518, allocations: 4.853 MB / 1.338 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/2.519, allocations: 329.1 kB / 1.338 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/2.519, allocations: 51.81 kB / 1.338 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006899/2.52, allocations: 41.95 kB / 1.339 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/2.52, allocations: 136.3 kB / 1.339 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/2.52, allocations: 83.02 kB / 1.339 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001852/2.522, allocations: 1.116 MB / 1.34 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/2.522, allocations: 0 / 1.34 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.007973/2.53, allocations: 2.407 MB / 1.342 GB, free: 2.418 MB / 0.9669 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.02119/2.551, allocations: 8.339 MB / 1.35 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005493/2.557, allocations: 2.488 MB / 1.353 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/2.557, allocations: 4 kB / 1.353 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002579/2.559, allocations: 1.666 MB / 1.354 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/2.565, allocations: 1.028 MB / 1.355 GB, free: 5.188 MB / 0.9825 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.03961/2.604, allocations: 19.41 MB / 1.374 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/2.606, allocations: 1.943 MB / 1.376 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002914/2.609, allocations: 1.062 MB / 1.377 GB, free: 14.49 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/2.611, allocations: 1.405 MB / 1.379 GB, free: 13.09 MB / 1.014 GB Notification: Performance of SimCode: time 1.533e-06/2.611, allocations: 0 / 1.379 GB, free: 13.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5598/3.171, allocations: 127.9 MB / 1.504 GB, free: 456.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.84/25.01, allocations: 14.45 kB / 1.504 GB, free: 456.3 MB / 1.014 GB " [Timeout remaining time 635] (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: 29.44821599699935]