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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 111.8 kB / 18.14 MB, free: 3.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002348/0.002348, allocations: 198.2 kB / 21.42 MB, free: 0.5508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 225.6 MB / 250.2 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.9509/0.9509, allocations: 94.59 MB / 400 MB, free: 15.74 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 81.03 kB / 0.5457 GB, free: 42.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1932, allocations: 71.86 MB / 0.6159 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.9341/1.127, allocations: 324.4 MB / 0.9326 GB, free: 8.16 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0941/1.221, allocations: 66.67 MB / 0.9977 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005875/1.227, allocations: 79.56 kB / 0.9978 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.008942/1.236, allocations: 2.471 MB / 1 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0325/1.269, allocations: 8.705 MB / 1.009 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.02307/1.292, allocations: 6.115 MB / 1.015 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009256/1.301, allocations: 4.456 MB / 1.019 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002414/1.303, allocations: 0.6499 MB / 1.02 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02129/1.325, allocations: 8.656 MB / 1.028 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004695/1.329, allocations: 1.953 MB / 1.03 GB, free: 4.105 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0009789/1.33, allocations: 248 kB / 1.03 GB, free: 3.863 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0402/1.371, allocations: 13.51 MB / 1.043 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001665/1.372, allocations: 0.7511 MB / 1.044 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004275/1.377, allocations: 1.668 MB / 1.046 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.6857/2.062, allocations: 11.02 MB / 1.057 GB, free: 35.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/2.062, allocations: 0 / 1.057 GB, free: 35.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.595e-06/2.062, allocations: 0 / 1.057 GB, free: 35.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002653/2.063, allocations: 1.188 kB / 1.057 GB, free: 35.21 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.02445/2.087, allocations: 5.007 MB / 1.061 GB, free: 33.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/2.087, allocations: 9.969 kB / 1.062 GB, free: 33.17 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006467/2.088, allocations: 384.8 kB / 1.062 GB, free: 33.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004054/2.092, allocations: 0.6792 MB / 1.063 GB, free: 32.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004989/2.097, allocations: 1.662 MB / 1.064 GB, free: 32.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/2.097, allocations: 207.1 kB / 1.064 GB, free: 32.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005132/2.098, allocations: 276.3 kB / 1.065 GB, free: 32.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008036/2.106, allocations: 3.341 MB / 1.068 GB, free: 32.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.054e-05/2.106, allocations: 2.25 kB / 1.068 GB, free: 32.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/2.106, allocations: 114.6 kB / 1.068 GB, free: 32.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002393/2.106, allocations: 164.5 kB / 1.068 GB, free: 32.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006418/2.113, allocations: 2.739 MB / 1.071 GB, free: 32.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/2.133, allocations: 15.55 MB / 1.086 GB, free: 21.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/2.137, allocations: 1.625 MB / 1.088 GB, free: 21.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/2.139, allocations: 0.7673 MB / 1.088 GB, free: 21.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361/3.5, allocations: 393.3 MB / 1.472 GB, free: 379.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/3.5, allocations: 55.94 kB / 1.472 GB, free: 379.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=168): time 4.649e-06/3.5, allocations: 0 / 1.472 GB, free: 379.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=168): time 0.009675/3.51, allocations: 3.353 MB / 1.476 GB, free: 379.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/3.51, allocations: 95.02 kB / 1.476 GB, free: 379.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/3.513, allocations: 1.492 MB / 1.477 GB, free: 379.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002895/3.513, allocations: 54.06 kB / 1.477 GB, free: 379.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/3.514, allocations: 1.14 MB / 1.478 GB, free: 378.9 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008534/3.515, allocations: 0.6097 MB / 1.479 GB, free: 378.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000834/3.516, allocations: 346.2 kB / 1.479 GB, free: 378.6 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001073/3.516, allocations: 301.1 kB / 1.48 GB, free: 378.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/3.517, allocations: 0.6537 MB / 1.48 GB, free: 378.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/3.519, allocations: 0.892 MB / 1.481 GB, free: 378 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/3.521, allocations: 1.648 MB / 1.483 GB, free: 377.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/3.521, allocations: 3.969 kB / 1.483 GB, free: 377.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004087/3.525, allocations: 2.064 MB / 1.485 GB, free: 377.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/3.525, allocations: 7.938 kB / 1.485 GB, free: 377.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/3.526, allocations: 8.281 kB / 1.485 GB, free: 377.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/3.526, allocations: 101.8 kB / 1.485 GB, free: 377.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/3.527, allocations: 368.4 kB / 1.485 GB, free: 377.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/3.53, allocations: 4.392 MB / 1.49 GB, free: 373.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/3.532, allocations: 175.8 kB / 1.49 GB, free: 373.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/3.532, allocations: 104.8 kB / 1.49 GB, free: 373.4 MB / 1.061 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.001326/3.533, allocations: 481 kB / 1.49 GB, free: 373.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008972/3.534, allocations: 208.7 kB / 1.49 GB, free: 373.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007559/3.542, allocations: 5.781 MB / 1.496 GB, free: 370.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.693e-05/3.542, allocations: 77.44 kB / 1.496 GB, free: 370.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/3.542, allocations: 0 / 1.496 GB, free: 370.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/3.542, allocations: 11.64 kB / 1.496 GB, free: 370.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/3.553, allocations: 8.578 MB / 1.505 GB, free: 365.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/3.553, allocations: 4 kB / 1.505 GB, free: 365.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/3.554, allocations: 309 kB / 1.505 GB, free: 365.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003833/3.554, allocations: 110 kB / 1.505 GB, free: 365 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/3.554, allocations: 63.34 kB / 1.505 GB, free: 365 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/3.557, allocations: 4.382 MB / 1.509 GB, free: 360.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/3.557, allocations: 8.156 kB / 1.509 GB, free: 360.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006383/3.563, allocations: 4.772 MB / 1.514 GB, free: 357.4 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/3.564, allocations: 397.9 kB / 1.514 GB, free: 357 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/3.564, allocations: 50.41 kB / 1.514 GB, free: 356.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/3.565, allocations: 37.2 kB / 1.514 GB, free: 356.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/3.565, allocations: 134.8 kB / 1.515 GB, free: 356.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/3.566, allocations: 78.41 kB / 1.515 GB, free: 356.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001639/3.567, allocations: 1.115 MB / 1.516 GB, free: 355.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/3.567, allocations: 0 / 1.516 GB, free: 355.9 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.01016/3.577, allocations: 2.399 MB / 1.518 GB, free: 353.7 MB / 1.061 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.02067/3.598, allocations: 8.258 MB / 1.526 GB, free: 347.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004266/3.602, allocations: 2.447 MB / 1.529 GB, free: 345.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/3.602, allocations: 4 kB / 1.529 GB, free: 345.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/3.604, allocations: 1.639 MB / 1.53 GB, free: 344 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004994/3.609, allocations: 1.039 MB / 1.531 GB, free: 343 MB / 1.061 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10491:11-10491: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.034/3.643, allocations: 19.34 MB / 1.55 GB, free: 323.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/3.644, allocations: 1.942 MB / 1.552 GB, free: 321.4 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002016/3.646, allocations: 1.057 MB / 1.553 GB, free: 320.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/3.648, allocations: 1.409 MB / 1.554 GB, free: 319 MB / 1.061 GB Notification: Performance of SimCode: time 1.172e-06/3.648, allocations: 0 / 1.554 GB, free: 319 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2103/3.858, allocations: 125.7 MB / 1.677 GB, free: 194.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.08/23.94, allocations: 4.062 kB / 1.677 GB, free: 194.1 MB / 1.061 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_2/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.918673648964614]