Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.VenturiPump.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.001134/0.001134, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001788/0.002922, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.001143/0.001143, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002613, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9273/0.9273, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09151/1.019, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.657/0.657, allocations: 118.7 MB / 362.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05332/0.7103, allocations: 35.85 MB / 398.7 MB, free: 13.09 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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: translateModel(ThermofluidStream.Examples.VenturiPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="sink2_1.inlet.m_flow|source2_2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.VenturiPump") translateModel(ThermofluidStream.Examples.VenturiPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="sink2_1.inlet.m_flow|source2_2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.VenturiPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 400 MB, free: 11.81 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.342e-05, allocations: 5.688 kB / 400 MB, free: 11.81 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.VenturiPump): time 0.02444/0.02446, allocations: 20.72 MB / 420.7 MB, free: 7.008 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1922/0.2166, allocations: 14.43 MB / 435.2 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.2179, allocations: 104.1 kB / 435.3 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006958/0.2186, allocations: 344.4 kB / 435.6 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.2212, allocations: 1.214 MB / 436.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01014/0.2314, allocations: 4.965 MB / 441.8 MB, free: 192 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.2343, allocations: 2.65 MB / 444.4 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005524/0.2349, allocations: 361.1 kB / 444.8 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004893/0.2398, allocations: 2.781 MB / 447.6 MB, free: 14.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.2409, allocations: 0.8461 MB / 448.4 MB, free: 13.76 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.2411, allocations: 142 kB / 448.5 MB, free: 13.76 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01044/0.2516, allocations: 7.854 MB / 456.4 MB, free: 8.637 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004308/0.252, allocations: 286.9 kB / 456.7 MB, free: 8.355 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.2531, allocations: 0.5302 MB / 457.2 MB, free: 7.824 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009759/0.2629, allocations: 5.457 MB / 462.7 MB, free: 2.645 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.2629, allocations: 0 / 462.7 MB, free: 2.645 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2629, allocations: 0 / 462.7 MB, free: 2.645 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.596e-05/0.2629, allocations: 4 kB / 462.7 MB, free: 2.641 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.00481/0.2677, allocations: 3.497 MB / 466.2 MB, free: 15.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2678, allocations: 8.031 kB / 466.2 MB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009002/0.2687, allocations: 0.4987 MB / 466.7 MB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.27, allocations: 1.04 MB / 467.7 MB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.2701, allocations: 94.91 kB / 467.8 MB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.2702, allocations: 133.7 kB / 467.9 MB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.2715, allocations: 1.117 MB / 469.1 MB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.2715, allocations: 3.938 kB / 469.1 MB, free: 12.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.2716, allocations: 55.12 kB / 469.1 MB, free: 12.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/0.2716, allocations: 46.42 kB / 469.2 MB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008946/0.2725, allocations: 0.574 MB / 469.7 MB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.2761, allocations: 3.205 MB / 472.9 MB, free: 8.508 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009531/0.2771, allocations: 0.7008 MB / 473.6 MB, free: 7.809 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.2773, allocations: 206.6 kB / 473.8 MB, free: 7.613 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1159/0.3932, allocations: 67.8 MB / 0.5289 GB, free: 3.895 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.3933, allocations: 39.56 kB / 0.529 GB, free: 3.844 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=89): time 3.857e-06/0.3933, allocations: 0 / 0.529 GB, free: 3.844 MB / 0.4949 GB Notification: Performance of matching and sorting (n=90): time 0.004111/0.3974, allocations: 1.954 MB / 0.5309 GB, free: 1.867 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.3974, allocations: 64.41 kB / 0.5309 GB, free: 1.793 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.398, allocations: 0.8439 MB / 0.5318 GB, free: 1.098 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.398, allocations: 41.7 kB / 0.5318 GB, free: 1.051 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.3983, allocations: 0.5289 MB / 0.5323 GB, free: 0.5664 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.3984, allocations: 321.7 kB / 0.5326 GB, free: 276 kB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/0.3988, allocations: 162.2 kB / 0.5328 GB, free: 132 kB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.3989, allocations: 336.4 kB / 0.5331 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3991, allocations: 112.8 kB / 0.5332 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.3993, allocations: 241.8 kB / 0.5335 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.3997, allocations: 471 kB / 0.5339 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3997, allocations: 4 kB / 0.5339 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0007263/0.4004, allocations: 0.589 MB / 0.5345 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4004, allocations: 8 kB / 0.5345 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4004, allocations: 0 / 0.5345 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.4008, allocations: 129.9 kB / 0.5346 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.4012, allocations: 195.7 kB / 0.5348 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.4026, allocations: 1.876 MB / 0.5366 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.403, allocations: 20.75 kB / 0.5366 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.403, allocations: 27.98 kB / 0.5367 GB, free: 12.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (flowResistance.outlet.state.phase,flowResistance1.outlet.state.phase,checkValve.outlet.state.phase,dynamicJunctionN2_1.junction.outlet.state.phase,dynamicJunctionN2_1.dynamicPressureInflow.outlet.state.phase,source2_1.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,source2_2.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002343/0.4033, allocations: 166.5 kB / 0.5368 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.4034, allocations: 112.8 kB / 0.5369 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.4048, allocations: 1.573 MB / 0.5385 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.4049, allocations: 35.95 kB / 0.5385 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4049, allocations: 0 / 0.5385 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.4049, allocations: 7.984 kB / 0.5385 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.4075, allocations: 2.247 MB / 0.5407 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.4075, allocations: 8.031 kB / 0.5407 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.4078, allocations: 159.8 kB / 0.5409 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.4081, allocations: 186.5 kB / 0.5411 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003214/0.4084, allocations: 151.2 kB / 0.5412 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.4084, allocations: 20.86 kB / 0.5412 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.4099, allocations: 1.894 MB / 0.5431 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.4099, allocations: 7.938 kB / 0.5431 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.4112, allocations: 1.287 MB / 0.5443 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.4113, allocations: 35.84 kB / 0.5444 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.4115, allocations: 19.94 kB / 0.5444 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.4116, allocations: 78.19 kB / 0.5445 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.4117, allocations: 24.02 kB / 0.5445 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003867/0.412, allocations: 493.4 kB / 0.545 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.412, allocations: 0 / 0.545 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003132/0.4152, allocations: 1.373 MB / 0.5463 GB, free: 2.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (dynamicPressureInflow2.inlet.m_flow,dynamicJunctionN2_1.dynamicPressureInflow.inlet.m_flow) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003788/0.419, allocations: 1.613 MB / 0.5479 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.4201, allocations: 0.728 MB / 0.5486 GB, free: 88 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.258e-05/0.4201, allocations: 16 kB / 0.5486 GB, free: 72 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008179/0.421, allocations: 0.6456 MB / 0.5492 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.4229, allocations: 2.921 MB / 0.5521 GB, free: 12 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10625:11-10625: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(singleFlowSensor8.quantity) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10625:11-10625: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:10625:11-10625: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:10625:11-10625: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(singleFlowSensor8.quantity) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10625:11-10625: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:10625:11-10625: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:10625:11-10625: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(singleFlowSensor8.quantity) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10625:11-10625: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:10625:11-10625: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) Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.4404, allocations: 3.192 MB / 0.5552 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.4407, allocations: 348.4 kB / 0.5555 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007452/0.4415, allocations: 386.4 kB / 0.5559 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006599/0.4421, allocations: 381.1 kB / 0.5563 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/0.4421, allocations: 0 / 0.5563 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of Templates: time 0.0586/0.5007, allocations: 56.53 MB / 0.6115 GB, free: 15.7 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Examples.VenturiPump.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Examples.VenturiPump.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.VenturiPump.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.VenturiPump.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.VenturiPump.sim & (cd run_cvode && ../ThermofluidStream_ThermofluidStream.Examples.VenturiPump -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../ThermofluidStream_ThermofluidStream.Examples.VenturiPump_res.mat -s cvode) > ThermofluidStream_ThermofluidStream.Examples.VenturiPump.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.VenturiPump_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.VenturiPump_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ThermofluidStream_ThermofluidStream.Examples.VenturiPump_dassl.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.VenturiPump_dassl.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.VenturiPump_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.VenturiPump_dassl.sim & (cd run_dassl && ../ThermofluidStream_ThermofluidStream.Examples.VenturiPump -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../ThermofluidStream_ThermofluidStream.Examples.VenturiPump_dassl_res.mat -s dassl) > ThermofluidStream_ThermofluidStream.Examples.VenturiPump_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.VenturiPump_dassl_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.VenturiPump_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ThermofluidStream_ThermofluidStream.Examples.VenturiPump_gbode.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.VenturiPump_gbode.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.VenturiPump_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.VenturiPump_gbode.sim & (cd run_gbode && ../ThermofluidStream_ThermofluidStream.Examples.VenturiPump -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../ThermofluidStream_ThermofluidStream.Examples.VenturiPump_gbode_res.mat -s gbode -gbm=radauIIA3) > ThermofluidStream_ThermofluidStream.Examples.VenturiPump_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.VenturiPump_gbode_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.VenturiPump_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ThermofluidStream_ThermofluidStream.Examples.VenturiPump_ida.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.VenturiPump_ida.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.VenturiPump_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.VenturiPump_ida.sim & (cd run_ida && ../ThermofluidStream_ThermofluidStream.Examples.VenturiPump -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../ThermofluidStream_ThermofluidStream.Examples.VenturiPump_ida_res.mat -s ida) > ThermofluidStream_ThermofluidStream.Examples.VenturiPump_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.VenturiPump_ida_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.VenturiPump_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.146925579756498]