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.0008646/0.0008646, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008027/0.0008027, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.021/1.021, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7414/0.7414, allocations: 80.18 MB / 339.4 MB, free: 7.539 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 3.446e-06/3.446e-06, allocations: 0 / 0.4924 GB, free: 6.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.687e-05/5.031e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.621 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.7254/0.7254, allocations: 289.2 MB / 0.7748 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.05662/0.7821, allocations: 55.33 MB / 0.8288 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005057/0.7871, allocations: 111.1 kB / 0.8289 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.007621/0.7947, allocations: 2.173 MB / 0.831 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.02588/0.8206, allocations: 8.998 MB / 0.8398 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0184/0.839, allocations: 6.108 MB / 0.8458 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008081/0.8471, allocations: 4.929 MB / 0.8506 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.8488, allocations: 0.6396 MB / 0.8512 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0171/0.8659, allocations: 9.548 MB / 0.8605 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003919/0.8699, allocations: 1.683 MB / 0.8622 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0009878/0.8708, allocations: 240 kB / 0.8624 GB, free: 3.273 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02673/0.8976, allocations: 11.85 MB / 0.874 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.8992, allocations: 0.7784 MB / 0.8747 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.9017, allocations: 1.185 MB / 0.8759 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.03633/0.938, allocations: 12.06 MB / 0.8877 GB, free: 9.344 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.938, allocations: 0 / 0.8877 GB, free: 9.344 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.938, allocations: 0 / 0.8877 GB, free: 9.344 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000127/0.9382, allocations: 0 / 0.8877 GB, free: 9.344 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 742 * Number of variables: 742 Notification: Performance of Generate backend data structure: time 0.01268/0.9508, allocations: 4.869 MB / 0.8924 GB, free: 4.414 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.9509, allocations: 9.469 kB / 0.8924 GB, free: 4.406 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004028/0.9513, allocations: 396.9 kB / 0.8928 GB, free: 4.008 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/0.9537, allocations: 0.7045 MB / 0.8935 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.9566, allocations: 1.557 MB / 0.895 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.9567, allocations: 209.6 kB / 0.8952 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.9569, allocations: 287.9 kB / 0.8955 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.9618, allocations: 3.381 MB / 0.8988 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.9619, allocations: 7.938 kB / 0.8988 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.962, allocations: 112 kB / 0.8989 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/0.9622, allocations: 169.9 kB / 0.8991 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.966, allocations: 2.744 MB / 0.9018 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.9772, allocations: 8.338 MB / 0.9099 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/0.9801, allocations: 1.646 MB / 0.9115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3323/1.312, allocations: 0.7505 MB / 0.9122 GB, free: 308.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05316/1.366, allocations: 27.58 MB / 0.9392 GB, free: 299.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/1.366, allocations: 43.56 kB / 0.9392 GB, free: 299.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=168): time 6.963e-06/1.366, allocations: 0 / 0.9392 GB, free: 299.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=168): time 0.005555/1.371, allocations: 3.117 MB / 0.9423 GB, free: 296.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/1.371, allocations: 105.4 kB / 0.9424 GB, free: 296.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/1.373, allocations: 1.493 MB / 0.9438 GB, free: 294.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/1.373, allocations: 54.72 kB / 0.9439 GB, free: 294.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004852/1.373, allocations: 1.175 MB / 0.945 GB, free: 293.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004443/1.374, allocations: 0.5943 MB / 0.9456 GB, free: 293.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003784/1.374, allocations: 345.2 kB / 0.9459 GB, free: 292.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.798e-05/1.374, allocations: 301.1 kB / 0.9462 GB, free: 292.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000645/1.375, allocations: 0.6481 MB / 0.9468 GB, free: 291.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/1.375, allocations: 0.8888 MB / 0.9477 GB, free: 290.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/1.377, allocations: 1.627 MB / 0.9493 GB, free: 289.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/1.377, allocations: 0 / 0.9493 GB, free: 289.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.002472/1.38, allocations: 2.051 MB / 0.9513 GB, free: 287.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/1.38, allocations: 4 kB / 0.9513 GB, free: 287.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.38, allocations: 8.719 kB / 0.9513 GB, free: 287.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/1.38, allocations: 110.4 kB / 0.9514 GB, free: 287 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/1.38, allocations: 367.5 kB / 0.9518 GB, free: 286.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/1.382, allocations: 4.061 MB / 0.9557 GB, free: 282.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.383, allocations: 176.4 kB / 0.9559 GB, free: 282.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/1.383, allocations: 98.84 kB / 0.956 GB, free: 282.1 MB / 0.7136 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,boundary_fore.rear.state_rearwards.phase,sensor_vaporQuality2.state.phase,boundary_rear.fore.state_forwards.phase,singleFlowSensor.state.phase,unidirectionalSensorAdapter.state.phase,singleSensorSelect1.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.0008528/1.384, allocations: 490.2 kB / 0.9565 GB, free: 281.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/1.385, allocations: 222.6 kB / 0.9567 GB, free: 281.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/1.389, allocations: 5.974 MB / 0.9625 GB, free: 275.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.152e-05/1.389, allocations: 79.83 kB / 0.9626 GB, free: 275.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.389, allocations: 4 kB / 0.9626 GB, free: 275.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/1.389, allocations: 7.969 kB / 0.9626 GB, free: 275.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006838/1.396, allocations: 8.456 MB / 0.9709 GB, free: 266.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.396, allocations: 0 / 0.9709 GB, free: 266.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/1.396, allocations: 311.6 kB / 0.9712 GB, free: 266.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/1.397, allocations: 104.2 kB / 0.9713 GB, free: 266.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.728e-05/1.397, allocations: 70.88 kB / 0.9713 GB, free: 266.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/1.398, allocations: 4.059 MB / 0.9753 GB, free: 262 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.398, allocations: 4.062 kB / 0.9753 GB, free: 262 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/1.402, allocations: 4.836 MB / 0.98 GB, free: 257.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000795/1.403, allocations: 329.1 kB / 0.9803 GB, free: 256.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/1.403, allocations: 47.84 kB / 0.9804 GB, free: 256.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/1.404, allocations: 43.73 kB / 0.9804 GB, free: 256.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/1.404, allocations: 141.5 kB / 0.9805 GB, free: 256.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.871e-05/1.404, allocations: 75.97 kB / 0.9806 GB, free: 256.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001095/1.405, allocations: 1.105 MB / 0.9817 GB, free: 255.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.4e-07/1.405, allocations: 0 / 0.9817 GB, free: 255.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006665/1.412, allocations: 2.302 MB / 0.9839 GB, free: 253.1 MB / 0.7136 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.01268/1.425, allocations: 8.297 MB / 0.992 GB, free: 245 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003556/1.428, allocations: 2.465 MB / 0.9945 GB, free: 242.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.428, allocations: 0 / 0.9945 GB, free: 242.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/1.43, allocations: 1.656 MB / 0.9961 GB, free: 240.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/1.433, allocations: 1.167 MB / 0.9972 GB, free: 239.7 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10414:11-10414:222: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) Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/1.458, allocations: 19.27 MB / 1.016 GB, free: 220 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.459, allocations: 1.415 MB / 1.017 GB, free: 218.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001816/1.46, allocations: 1.056 MB / 1.018 GB, free: 217.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009874/1.461, allocations: 1.418 MB / 1.02 GB, free: 216.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.993e-06/1.461, allocations: 0 / 1.02 GB, free: 216.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.181/1.642, allocations: 127.8 MB / 1.145 GB, free: 89.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/14.24, allocations: 8.047 kB / 1.145 GB, free: 89.01 MB / 0.7136 GB " [Timeout remaining time 646] (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/jenkins/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: 17.88769108429551]