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.001604/0.001604, allocations: 104.6 kB / 16.45 MB, free: 6.449 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.001796/0.001796, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.824/1.824, allocations: 230.6 MB / 252.8 MB, free: 8.953 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 1.049/1.049, allocations: 100.3 MB / 409.1 MB, free: 4.785 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.003663/0.003663, allocations: 85.36 kB / 0.5582 GB, free: 36.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1836, allocations: 74.43 MB / 0.6309 GB, free: 9.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.9746/1.158, allocations: 322.9 MB / 0.9462 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.1112/1.269, allocations: 66.28 MB / 1.011 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0061/1.275, allocations: 111.1 kB / 1.011 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.009787/1.285, allocations: 2.471 MB / 1.013 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03428/1.32, allocations: 8.722 MB / 1.022 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02668/1.346, allocations: 6.088 MB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01045/1.357, allocations: 4.471 MB / 1.032 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/1.359, allocations: 0.678 MB / 1.033 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0235/1.382, allocations: 8.711 MB / 1.041 GB, free: 15.54 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00483/1.387, allocations: 1.949 MB / 1.043 GB, free: 13.59 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001331/1.389, allocations: 244 kB / 1.044 GB, free: 13.35 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7202/2.109, allocations: 13.53 MB / 1.057 GB, free: 27.67 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001902/2.111, allocations: 0.7473 MB / 1.058 GB, free: 27.67 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006584/2.117, allocations: 1.663 MB / 1.059 GB, free: 27.67 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.05316/2.17, allocations: 11.05 MB / 1.07 GB, free: 27.16 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.731e-05/2.17, allocations: 4.469 kB / 1.07 GB, free: 27.16 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.158e-06/2.17, allocations: 0.8438 kB / 1.07 GB, free: 27.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000438/2.171, allocations: 1.641 kB / 1.07 GB, free: 27.16 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.02663/2.197, allocations: 5.014 MB / 1.075 GB, free: 25.11 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001534/2.198, allocations: 11.28 kB / 1.075 GB, free: 25.11 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008467/2.198, allocations: 384.5 kB / 1.075 GB, free: 25.06 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004572/2.203, allocations: 0.6784 MB / 1.076 GB, free: 24.88 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/2.208, allocations: 1.655 MB / 1.078 GB, free: 24.41 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/2.208, allocations: 208.3 kB / 1.078 GB, free: 24.4 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000796/2.209, allocations: 278.4 kB / 1.078 GB, free: 24.39 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/2.219, allocations: 3.334 MB / 1.081 GB, free: 24.12 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.627e-05/2.219, allocations: 5.125 kB / 1.081 GB, free: 24.12 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/2.22, allocations: 115.2 kB / 1.081 GB, free: 24.12 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004215/2.22, allocations: 163.6 kB / 1.082 GB, free: 24.12 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007219/2.227, allocations: 2.74 MB / 1.084 GB, free: 24.11 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02351/2.251, allocations: 15.56 MB / 1.099 GB, free: 13.59 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00442/2.255, allocations: 1.623 MB / 1.101 GB, free: 13.53 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/2.257, allocations: 0.7569 MB / 1.102 GB, free: 13.51 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391/3.648, allocations: 435.5 MB / 1.527 GB, free: 263.6 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/3.648, allocations: 50.06 kB / 1.527 GB, free: 263.5 MB / 1.092 GB Notification: Performance of pre-optimization done (n=168): time 5.591e-06/3.648, allocations: 4.938 kB / 1.527 GB, free: 263.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=168): time 0.008576/3.657, allocations: 3.359 MB / 1.53 GB, free: 263.2 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/3.657, allocations: 95.61 kB / 1.53 GB, free: 263.1 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/3.659, allocations: 1.488 MB / 1.532 GB, free: 262.8 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/3.659, allocations: 51.8 kB / 1.532 GB, free: 262.8 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006968/3.66, allocations: 1.149 MB / 1.533 GB, free: 262.4 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006226/3.661, allocations: 0.6068 MB / 1.534 GB, free: 262 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004866/3.661, allocations: 342.5 kB / 1.534 GB, free: 261.8 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 3.972e-05/3.661, allocations: 305.1 kB / 1.534 GB, free: 261.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/3.662, allocations: 0.6508 MB / 1.535 GB, free: 261.1 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/3.663, allocations: 0.891 MB / 1.536 GB, free: 260.4 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/3.666, allocations: 1.65 MB / 1.537 GB, free: 259.3 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/3.666, allocations: 0 / 1.537 GB, free: 259.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003994/3.67, allocations: 2.064 MB / 1.539 GB, free: 257.9 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/3.67, allocations: 6.594 kB / 1.539 GB, free: 257.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/3.67, allocations: 9.203 kB / 1.539 GB, free: 257.8 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004698/3.67, allocations: 111.8 kB / 1.539 GB, free: 257.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/3.671, allocations: 365.3 kB / 1.54 GB, free: 257.4 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/3.674, allocations: 4.39 MB / 1.544 GB, free: 252.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/3.675, allocations: 173.4 kB / 1.544 GB, free: 252.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/3.676, allocations: 103.3 kB / 1.544 GB, free: 252.8 MB / 1.092 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.001112/3.677, allocations: 492.8 kB / 1.545 GB, free: 252.5 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/3.677, allocations: 207.8 kB / 1.545 GB, free: 252.3 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006512/3.684, allocations: 5.78 MB / 1.551 GB, free: 248.5 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.46e-05/3.684, allocations: 74.45 kB / 1.551 GB, free: 248.4 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/3.684, allocations: 0 / 1.551 GB, free: 248.4 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/3.684, allocations: 7.969 kB / 1.551 GB, free: 248.4 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/3.694, allocations: 8.589 MB / 1.559 GB, free: 243 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/3.694, allocations: 3.984 kB / 1.559 GB, free: 243 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/3.695, allocations: 304.1 kB / 1.559 GB, free: 242.7 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003175/3.695, allocations: 109.5 kB / 1.56 GB, free: 242.6 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002607/3.695, allocations: 56.84 kB / 1.56 GB, free: 242.6 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/3.698, allocations: 4.389 MB / 1.564 GB, free: 238.1 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/3.698, allocations: 5.141 kB / 1.564 GB, free: 238.1 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005944/3.704, allocations: 4.762 MB / 1.569 GB, free: 235 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008799/3.705, allocations: 404.9 kB / 1.569 GB, free: 234.6 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/3.705, allocations: 49.47 kB / 1.569 GB, free: 234.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007413/3.706, allocations: 38.36 kB / 1.569 GB, free: 234.6 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/3.706, allocations: 137 kB / 1.569 GB, free: 234.4 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/3.706, allocations: 74.39 kB / 1.569 GB, free: 234.4 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001425/3.707, allocations: 1.114 MB / 1.57 GB, free: 233.5 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/3.707, allocations: 0 / 1.57 GB, free: 233.5 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.008693/3.716, allocations: 2.415 MB / 1.573 GB, free: 231.4 MB / 1.092 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.01663/3.733, allocations: 8.24 MB / 1.581 GB, free: 225.1 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003664/3.736, allocations: 2.449 MB / 1.583 GB, free: 223.4 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/3.736, allocations: 0 / 1.583 GB, free: 223.4 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/3.738, allocations: 1.646 MB / 1.585 GB, free: 222.2 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004899/3.743, allocations: 1.034 MB / 1.586 GB, free: 221.3 MB / 1.092 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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:10410:11-10410: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.02963/3.773, allocations: 19.35 MB / 1.605 GB, free: 205.6 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/3.774, allocations: 1.932 MB / 1.607 GB, free: 203.6 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002024/3.776, allocations: 1.059 MB / 1.608 GB, free: 202.6 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/3.778, allocations: 1.409 MB / 1.609 GB, free: 202.3 MB / 1.092 GB Notification: Performance of SimCode: time 7.41e-07/3.778, allocations: 1.094 kB / 1.609 GB, free: 202.3 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.183/3.961, allocations: 125.4 MB / 1.731 GB, free: 77.8 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.63/24.59, allocations: 11.16 kB / 1.731 GB, free: 77.8 MB / 1.092 GB " [Timeout remaining time 635] (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: 29.7766656819731]