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.00166/0.00166, allocations: 116.8 kB / 17.17 MB, free: 6 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.002069/0.002069, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6382/0.6382, allocations: 94.56 MB / 404.1 MB, free: 10.96 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Examples.VenturiPump,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_VenturiPump",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.VenturiPump,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_VenturiPump",fmuType="cs",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.002645/0.002645, allocations: 79.88 kB / 0.5506 GB, free: 5.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4072, allocations: 73.03 MB / 0.6219 GB, free: 8.5 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.VenturiPump): time 0.1101/0.5173, allocations: 101 MB / 0.7205 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04222/0.5595, allocations: 34.02 MB / 0.7537 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001864/0.5614, allocations: 99.12 kB / 0.7538 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.5646, allocations: 1.087 MB / 0.7548 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007143/0.5718, allocations: 1.828 MB / 0.7566 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01901/0.5908, allocations: 6.57 MB / 0.763 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003452/0.5942, allocations: 2.315 MB / 0.7653 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000742/0.595, allocations: 363.8 kB / 0.7657 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008776/0.6038, allocations: 4.188 MB / 0.7697 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.6053, allocations: 0.9607 MB / 0.7707 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003388/0.6057, allocations: 144 kB / 0.7708 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0201/0.6258, allocations: 8.772 MB / 0.7794 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007062/0.6265, allocations: 358.5 kB / 0.7797 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.6279, allocations: 0.8666 MB / 0.7806 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01703/0.6449, allocations: 6.849 MB / 0.7873 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.6449, allocations: 0 / 0.7873 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.574e-06/0.6449, allocations: 0 / 0.7873 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.43e-05/0.645, allocations: 0 / 0.7873 GB, free: 2.266 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.008158/0.6531, allocations: 2.924 MB / 0.7901 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6532, allocations: 16.03 kB / 0.7901 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.416e-05/0.6532, allocations: 34.69 kB / 0.7902 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002259/0.6534, allocations: 186.3 kB / 0.7903 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.6547, allocations: 314.5 kB / 0.7906 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.6569, allocations: 1.159 MB / 0.7918 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.6569, allocations: 94.5 kB / 0.7919 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.6571, allocations: 128 kB / 0.792 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/0.6603, allocations: 1.514 MB / 0.7935 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.6603, allocations: 0 / 0.7935 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.6604, allocations: 51.94 kB / 0.7935 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.498e-05/0.6605, allocations: 54.41 kB / 0.7936 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002849/0.6633, allocations: 1.278 MB / 0.7948 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009281/0.6726, allocations: 7.25 MB / 0.8019 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.6749, allocations: 0.9654 MB / 0.8028 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/0.6757, allocations: 468.3 kB / 0.8033 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.392/1.068, allocations: 56.95 MB / 0.8589 GB, free: 178.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/1.068, allocations: 44.56 kB / 0.8589 GB, free: 178.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 3.246e-06/1.068, allocations: 0 / 0.8589 GB, free: 178.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90): time 0.0063/1.074, allocations: 3.318 MB / 0.8622 GB, free: 176.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/1.074, allocations: 68.06 kB / 0.8622 GB, free: 176.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009657/1.075, allocations: 0.9558 MB / 0.8632 GB, free: 175.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/1.075, allocations: 39.92 kB / 0.8632 GB, free: 175.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/1.075, allocations: 0.6544 MB / 0.8639 GB, free: 175.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/1.076, allocations: 328.2 kB / 0.8642 GB, free: 175 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/1.076, allocations: 164.6 kB / 0.8643 GB, free: 174.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.945e-05/1.076, allocations: 337.7 kB / 0.8646 GB, free: 174.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/1.076, allocations: 343.5 kB / 0.865 GB, free: 174.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/1.077, allocations: 458.4 kB / 0.8654 GB, free: 174.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.078, allocations: 0.8707 MB / 0.8663 GB, free: 173.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.078, allocations: 0 / 0.8663 GB, free: 173.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001672/1.08, allocations: 1.168 MB / 0.8674 GB, free: 173 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.08, allocations: 8.969 kB / 0.8674 GB, free: 173 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.08, allocations: 0 / 0.8674 GB, free: 173 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/1.08, allocations: 177 kB / 0.8676 GB, free: 172.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/1.081, allocations: 163.1 kB / 0.8677 GB, free: 172.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/1.083, allocations: 2.706 MB / 0.8704 GB, free: 170.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/1.084, allocations: 25.53 kB / 0.8704 GB, free: 170.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/1.084, allocations: 35.98 kB / 0.8704 GB, free: 170 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 10 (source2_2.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,source2_1.outlet.state.phase,dynamicJunctionN2_1.dynamicPressureInflow.outlet.state.phase,dynamicJunctionN2_1.junction.outlet.state.phase,checkValve.outlet.state.phase,flowResistance1.outlet.state.phase,flowResistance.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.000474/1.084, allocations: 318.2 kB / 0.8707 GB, free: 169.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/1.085, allocations: 131.2 kB / 0.8709 GB, free: 169.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/1.087, allocations: 2.912 MB / 0.8737 GB, free: 166.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/1.087, allocations: 43.88 kB / 0.8738 GB, free: 166.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.087, allocations: 7.938 kB / 0.8738 GB, free: 166.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.087, allocations: 3.984 kB / 0.8738 GB, free: 166.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/1.092, allocations: 4.693 MB / 0.8783 GB, free: 161.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.092, allocations: 0 / 0.8783 GB, free: 161.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/1.093, allocations: 135.8 kB / 0.8785 GB, free: 161.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/1.093, allocations: 179.5 kB / 0.8786 GB, free: 161.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/1.093, allocations: 27.98 kB / 0.8787 GB, free: 161.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/1.096, allocations: 2.715 MB / 0.8813 GB, free: 158.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.096, allocations: 0 / 0.8813 GB, free: 158.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/1.098, allocations: 2.611 MB / 0.8839 GB, free: 156.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/1.099, allocations: 241.6 kB / 0.8841 GB, free: 155.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/1.099, allocations: 30.42 kB / 0.8841 GB, free: 155.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/1.099, allocations: 23.98 kB / 0.8842 GB, free: 155.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.099, allocations: 72.83 kB / 0.8842 GB, free: 155.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/1.099, allocations: 31.98 kB / 0.8843 GB, free: 155.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007795/1.1, allocations: 0.7426 MB / 0.885 GB, free: 155 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/1.1, allocations: 4.062 kB / 0.885 GB, free: 155 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003136/1.103, allocations: 1.393 MB / 0.8863 GB, free: 153.7 MB / 0.6544 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.007855/1.111, allocations: 4.693 MB / 0.8909 GB, free: 149.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001966/1.113, allocations: 1.272 MB / 0.8922 GB, free: 148 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.113, allocations: 0 / 0.8922 GB, free: 148 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/1.114, allocations: 0.8621 MB / 0.893 GB, free: 147.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/1.116, allocations: 479.4 kB / 0.8935 GB, free: 146.6 MB / 0.6544 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.getFlowUnit(singleFlowSensor8.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.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.getFlowUnit(singleFlowSensor8.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.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.getFlowUnit(singleFlowSensor8.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.getFlowUnit(singleFlowSensor.quantity) Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.13, allocations: 11.09 MB / 0.9043 GB, free: 135.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/1.131, allocations: 1.363 MB / 0.9056 GB, free: 134 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007764/1.132, allocations: 491.5 kB / 0.9061 GB, free: 133.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006892/1.132, allocations: 0.7375 MB / 0.9068 GB, free: 132.7 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/1.132, allocations: 0 / 0.9068 GB, free: 132.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09885/1.231, allocations: 74.67 MB / 0.9797 GB, free: 58.33 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/16.94, allocations: 11.88 kB / 0.9798 GB, free: 58.32 MB / 0.6544 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Examples.VenturiPump_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Examples_VenturiPump_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Examples_VenturiPump.fmu > ThermofluidStream_ThermofluidStream.Examples.VenturiPump.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.VenturiPump_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.VenturiPump_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.VenturiPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,sink2_1.inlet.m_flow,source2_2.outlet.m_flow Variables in the result:A_in_hp,A_in_lp,A_out,checkValve.L,checkValve.clip_p_out,checkValve.displayInstanceName,checkValve.displayParameters,checkValve.dp,checkValve.dr_corr,checkValve.initM_flow,checkValve.inlet.m_flow,checkValve.inlet.r,checkValve.inlet.state.T,checkValve.inlet.state.d,checkValve.inlet.state.h,checkValve.inlet.state.p,checkValve.inlet.state.phase,checkValve.m_acceleration_0,checkValve.m_flow,checkValve.m_flowStateSelect,checkValve.m_flow_0,checkValve.m_flow_ref,checkValve.outlet.m_flow,checkValve.outlet.r,checkValve.outlet.state.T,checkValve.outlet.state.d,checkValve.outlet.state.h,checkValve.outlet.state.p,checkValve.outlet.state.phase,checkValve.p_min,checkValve.p_ref,der(dynamicJunctionN2_1.dynamicPressureInflow.inlet.m_flow),der(dynamicPressureInflow.inlet.m_flow),der(dynamicPressureInflow2.inlet.m_flow),dropOfCommons.L,dropOfCommons.assertionLevel,dropOfCommons.displayInstanceNames,dropOfCommons.displayParameters,dropOfCommons.g,dropOfCommons.instanceNameColor[1],dropOfCommons.instanceNameColor[2],dropOfCommons.instanceNameColor[3],dropOfCommons.k_volume_damping,dropOfCommons.m_flow_reg,dropOfCommons.omega_reg,dropOfCommons.p_min,dropOfCommons.rho_min,dynamicJunctionN2_1.A[1],dynamicJunctionN2_1.A[2],dynamicJunctionN2_1.A_out,dynamicJunctionN2_1.L,dynamicJunctionN2_1.N,dynamicJunctionN2_1.assumeConstantDensity,dynamicJunctionN2_1.displayInstanceName,dynamicJunctionN2_1.displayParameters,dynamicJunctionN2_1.dynamicPressureInflow.A_par,dynamicJunctionN2_1.dynamicPressureInflow.L,dynamicJunctionN2_1.dynamicPressureInflow.areaFromInput,dynamicJunctionN2_1.dynamicPressureInflow.assumeConstantDensity,dynamicJunctionN2_1.dynamicPressureInflow.clip_p_out,dynamicJunctionN2_1.dynamicPressureInflow.displayA,dynamicJunctionN2_1.dynamicPressureInflow.displayCompressibilityApproach,dynamicJunctionN2_1.dynamicPressureInflow.displayInertance,dynamicJunctionN2_1.dynamicPressureInflow.displayInletVelocity,dynamicJunctionN2_1.dynamicPressureInflow.displayInstanceName,dynamicJunctionN2_1.dynamicPressureInflow.displayOutletArea,dynamicJunctionN2_1.dynamicPressureInflow.displayParameters,dynamicJunctionN2_1.dynamicPressureInflow.dp,dynamicJunctionN2_1.dynamicPressureInflow.dr_corr,dynamicJunctionN2_1.dynamicPressureInflow.dv_in,dynamicJunctionN2_1.dynamicPressureInflow.extrapolateQuadratic,dynamicJunctionN2_1.dynamicPressureInflow.initM_flow,dynamicJunctionN2_1.dynamicPressureInflow.inlet.m_flow,dynamicJunctionN2_1.dynamicPressureInflow.inlet.r,dynamicJunctionN2_1.dynamicPressureInflow.inlet.state.T,dynamicJunctionN2_1.dynamicPressureInflow.inlet.state.d,dynamicJunctionN2_1.dynamicPressureInflow.inlet.state.h,dynamicJunctionN2_1.dynamicPressureInflow.inlet.state.p,dynamicJunctionN2_1.dynamicPressureInflow.inlet.state.phase,dynamicJunctionN2_1.dynamicPressureInflow.m_acceleration_0,dynamicJunctionN2_1.dynamicPressureInflow.m_flow,dynamicJunctionN2_1.dynamicPressureInflow.m_flowStateSelect,dynamicJunctionN2_1.dynamicPressureInflow.m_flow_0,dynamicJunctionN2_1.dynamicPressureInflow.m_flow_reg,dynamicJunctionN2_1.dynamicPressureInflow.outlet.m_flow,dynamicJunctionN2_1.dynamicPressureInflow.outlet.r,dynamicJunctionN2_1.dynamicPressureInflow.outlet.state.T,dynamicJunctionN2_1.dynamicPressureInflow.outlet.state.d,dynamicJunctionN2_1.dynamicPressureInflow.outlet.state.h,dynamicJunctionN2_1.dynamicPressureInflow.outlet.state.p,dynamicJunctionN2_1.dynamicPressureInflow.outlet.state.phase,dynamicJunctionN2_1.dynamicPressureInflow.p_min,dynamicJunctionN2_1.dynamicPressureInflow.v_in_par,dynamicJunctionN2_1.dynamicPressureInflow.v_in_var,dynamicJunctionN2_1.dynamicPressureInflow.velocityFromInput,dynamicJunctionN2_1.inlets[1].m_flow,dynamicJunctionN2_1.inlets[1].r,dynamicJunctionN2_1.inlets[1].state.T,dynamicJunctionN2_1.inlets[1].state.d,dynamicJunctionN2_1.inlets[1].state.h,dynamicJunctionN2_1.inlets[1].state.p,dynamicJunctionN2_1.inlets[1].state.phase,dynamicJunctionN2_1.inlets[2].m_flow,dynamicJunctionN2_1.inlets[2].r,dynamicJunctionN2_1.inlets[2].state.T,dynamicJunctionN2_1.inlets[2].state.d,dynamicJunctionN2_1.inlets[2].state.h,dynamicJunctionN2_1.inlets[2].state.p,dynamicJunctionN2_1.inlets[2].state.phase,dynamicJunctionN2_1.junction.L,dynamicJunctionN2_1.junction.N,dynamicJunctionN2_1.junction.assumeConstantDensity,dynamicJunctionN2_1.junction.displayInstanceName,dynamicJunctionN2_1.junction.displayParameters,dynamicJunctionN2_1.junction.inlets[1].m_flow,dynamicJunctionN2_1.junction.inlets[1].r,dynamicJunctionN2_1.junction.inlets[1].state.T,dynamicJunctionN2_1.junction.inlets[1].state.d,dynamicJunctionN2_1.junction.inlets[1].state.h,dynamicJunctionN2_1.junction.inlets[1].state.p,dynamicJunctionN2_1.junction.inlets[1].state.phase,dynamicJunctionN2_1.junction.inlets[2].m_flow,dynamicJunctionN2_1.junction.inlets[2].r,dynamicJunctionN2_1.junction.inlets[2].state.T,dynamicJunctionN2_1.junction.inlets[2].state.d,dynamicJunctionN2_1.junction.inlets[2].state.h,dynamicJunctionN2_1.junction.inlets[2].state.p,dynamicJunctionN2_1.junction.inlets[2].state.phase,dynamicJunctionN2_1.junction.m_flow_eps,dynamicJunctionN2_1.junction.outlet.m_flow,dynamicJunctionN2_1.junction.outlet.r,dynamicJunctionN2_1.junction.outlet.state.T,dynamicJunctionN2_1.junction.outlet.state.d,dynamicJunctionN2_1.junction.outlet.state.h,dynamicJunctionN2_1.junction.outlet.state.p,dynamicJunctionN2_1.junction.outlet.state.phase,dynamicJunctionN2_1.junction.rho[1],dynamicJunctionN2_1.junction.rho[2],dynamicJunctionN2_1.junction.w[1],dynamicJunctionN2_1.junction.w[2],dynamicJunctionN2_1.m_flow_reg,dynamicJunctionN2_1.outlet.m_flow,dynamicJunctionN2_1.outlet.r,dynamicJunctionN2_1.outlet.state.T,dynamicJunctionN2_1.outlet.state.d,dynamicJunctionN2_1.outlet.state.h,dynamicJunctionN2_1.outlet.state.p,dynamicJunctionN2_1.outlet.state.phase,dynamicJunctionN2_1.v_mix.y,dynamicPressureInflow.A_par,dynamicPressureInflow.L,dynamicPressureInflow.areaFromInput,dynamicPressureInflow.assumeConstantDensity,dynamicPressureInflow.clip_p_out,dynamicPressureInflow.displayA,dynamicPressureInflow.displayCompressibilityApproach,dynamicPressureInflow.displayInertance,dynamicPressureInflow.displayInletVelocity,dynamicPressureInflow.displayInstanceName,dynamicPressureInflow.displayOutletArea,dynamicPressureInflow.displayParameters,dynamicPressureInflow.dp,dynamicPressureInflow.dr_corr,dynamicPressureInflow.dv_in,dynamicPressureInflow.extrapolateQuadratic,dynamicPressureInflow.initM_flow,dynamicPressureInflow.inlet.m_flow,dynamicPressureInflow.inlet.r,dynamicPressureInflow.inlet.state.T,dynamicPressureInflow.inlet.state.d,dynamicPressureInflow.inlet.state.h,dynamicPressureInflow.inlet.state.p,dynamicPressureInflow.inlet.state.phase,dynamicPressureInflow.m_acceleration_0,dynamicPressureInflow.m_flow,dynamicPressureInflow.m_flowStateSelect,dynamicPressureInflow.m_flow_0,dynamicPressureInflow.m_flow_reg,dynamicPressureInflow.outlet.m_flow,dynamicPressureInflow.outlet.r,dynamicPressureInflow.outlet.state.T,dynamicPressureInflow.outlet.state.d,dynamicPressureInflow.outlet.state.h,dynamicPressureInflow.outlet.state.p,dynamicPressureInflow.outlet.state.phase,dynamicPressureInflow.p_min,dynamicPressureInflow.v_in_par,dynamicPressureInflow.velocityFromInput,dynamicPressureInflow2.A_par,dynamicPressureInflow2.L,dynamicPressureInflow2.areaFromInput,dynamicPressureInflow2.assumeConstantDensity,dynamicPressureInflow2.clip_p_out,dynamicPressureInflow2.displayA,dynamicPressureInflow2.displayCompressibilityApproach,dynamicPressureInflow2.displayInertance,dynamicPressureInflow2.displayInletVelocity,dynamicPressureInflow2.displayInstanceName,dynamicPressureInflow2.displayOutletArea,dynamicPressureInflow2.displayParameters,dynamicPressureInflow2.dp,dynamicPressureInflow2.dr_corr,dynamicPressureInflow2.dv_in,dynamicPressureInflow2.extrapolateQuadratic,dynamicPressureInflow2.initM_flow,dynamicPressureInflow2.inlet.m_flow,dynamicPressureInflow2.inlet.r,dynamicPressureInflow2.inlet.state.T,dynamicPressureInflow2.inlet.state.d,dynamicPressureInflow2.inlet.state.h,dynamicPressureInflow2.inlet.state.p,dynamicPressureInflow2.inlet.state.phase,dynamicPressureInflow2.m_acceleration_0,dynamicPressureInflow2.m_flow,dynamicPressureInflow2.m_flowStateSelect,dynamicPressureInflow2.m_flow_0,dynamicPressureInflow2.m_flow_reg,dynamicPressureInflow2.outlet.m_flow,dynamicPressureInflow2.outlet.r,dynamicPressureInflow2.outlet.state.T,dynamicPressureInflow2.outlet.state.d,dynamicPressureInflow2.outlet.state.h,dynamicPressureInflow2.outlet.state.p,dynamicPressureInflow2.outlet.state.phase,dynamicPressureInflow2.p_min,dynamicPressureInflow2.v_in_par,dynamicPressureInflow2.velocityFromInput,dynamicPressureOutflow.A_par,dynamicPressureOutflow.L,dynamicPressureOutflow.areaFromInput,dynamicPressureOutflow.assumeConstantDensity,dynamicPressureOutflow.clip_p_out,dynamicPressureOutflow.displayA,dynamicPressureOutflow.displayCompressibilityApproach,dynamicPressureOutflow.displayInertance,dynamicPressureOutflow.displayInletArea,dynamicPressureOutflow.displayInstanceName,dynamicPressureOutflow.displayOutletVelocity,dynamicPressureOutflow.displayParameters,dynamicPressureOutflow.dp,dynamicPressureOutflow.dr_corr,dynamicPressureOutflow.dv_out,dynamicPressureOutflow.extrapolateQuadratic,dynamicPressureOutflow.initM_flow,dynamicPressureOutflow.inlet.m_flow,dynamicPressureOutflow.inlet.r,dynamicPressureOutflow.inlet.state.T,dynamicPressureOutflow.inlet.state.d,dynamicPressureOutflow.inlet.state.h,dynamicPressureOutflow.inlet.state.p,dynamicPressureOutflow.inlet.state.phase,dynamicPressureOutflow.m_acceleration_0,dynamicPressureOutflow.m_flow,dynamicPressureOutflow.m_flowStateSelect,dynamicPressureOutflow.m_flow_0,dynamicPressureOutflow.m_flow_reg,dynamicPressureOutflow.outlet.m_flow,dynamicPressureOutflow.outlet.r,dynamicPressureOutflow.outlet.state.T,dynamicPressureOutflow.outlet.state.d,dynamicPressureOutflow.outlet.state.h,dynamicPressureOutflow.outlet.state.p,dynamicPressureOutflow.outlet.state.phase,dynamicPressureOutflow.p_min,dynamicPressureOutflow.v_out_par,dynamicPressureOutflow.velocityFromInput,flowResistance.D_h,flowResistance.L,flowResistance.L_value,flowResistance.a,flowResistance.areaCross,flowResistance.areaCrossInput,flowResistance.areaHydraulic,flowResistance.b,flowResistance.clip_p_out,flowResistance.computeL,flowResistance.displayInstanceName,flowResistance.displayParameters,flowResistance.dp,flowResistance.dr_corr,flowResistance.initM_flow,flowResistance.inlet.m_flow,flowResistance.inlet.r,flowResistance.inlet.state.T,flowResistance.inlet.state.d,flowResistance.inlet.state.h,flowResistance.inlet.state.p,flowResistance.inlet.state.phase,flowResistance.l,flowResistance.m_acceleration_0,flowResistance.m_flow,flowResistance.m_flowStateSelect,flowResistance.m_flow_0,flowResistance.outlet.m_flow,flowResistance.outlet.r,flowResistance.outlet.state.T,flowResistance.outlet.state.d,flowResistance.outlet.state.h,flowResistance.outlet.state.p,flowResistance.outlet.state.phase,flowResistance.p_min,flowResistance.perimeter,flowResistance.perimeterInput,flowResistance.r,flowResistance.rho_min,flowResistance.shape,flowResistance1.D_h,flowResistance1.L,flowResistance1.L_value,flowResistance1.a,flowResistance1.areaCross,flowResistance1.areaCrossInput,flowResistance1.areaHydraulic,flowResistance1.b,flowResistance1.clip_p_out,flowResistance1.computeL,flowResistance1.displayInstanceName,flowResistance1.displayParameters,flowResistance1.dp,flowResistance1.dr_corr,flowResistance1.initM_flow,flowResistance1.inlet.m_flow,flowResistance1.inlet.r,flowResistance1.inlet.state.T,flowResistance1.inlet.state.d,flowResistance1.inlet.state.h,flowResistance1.inlet.state.p,flowResistance1.inlet.state.phase,flowResistance1.l,flowResistance1.m_acceleration_0,flowResistance1.m_flow,flowResistance1.m_flowStateSelect,flowResistance1.m_flow_0,flowResistance1.outlet.m_flow,flowResistance1.outlet.r,flowResistance1.outlet.state.T,flowResistance1.outlet.state.d,flowResistance1.outlet.state.h,flowResistance1.outlet.state.p,flowResistance1.outlet.state.phase,flowResistance1.p_min,flowResistance1.perimeter,flowResistance1.perimeterInput,flowResistance1.r,flowResistance1.rho_min,flowResistance1.shape,singleFlowSensor.TC,singleFlowSensor.digits,singleFlowSensor.displayInstanceName,singleFlowSensor.displayParameters,singleFlowSensor.filter_output,singleFlowSensor.init,singleFlowSensor.inlet.m_flow,singleFlowSensor.inlet.r,singleFlowSensor.inlet.state.T,singleFlowSensor.inlet.state.d,singleFlowSensor.inlet.state.h,singleFlowSensor.inlet.state.p,singleFlowSensor.inlet.state.phase,singleFlowSensor.outlet.m_flow,singleFlowSensor.outlet.r,singleFlowSensor.outlet.state.T,singleFlowSensor.outlet.state.d,singleFlowSensor.outlet.state.h,singleFlowSensor.outlet.state.p,singleFlowSensor.outlet.state.phase,singleFlowSensor.outputValue,singleFlowSensor.quantity,singleFlowSensor.rho_min,singleFlowSensor.value,singleFlowSensor.value_0,singleFlowSensor1.TC,singleFlowSensor1.digits,singleFlowSensor1.displayInstanceName,singleFlowSensor1.displayParameters,singleFlowSensor1.filter_output,singleFlowSensor1.init,singleFlowSensor1.inlet.m_flow,singleFlowSensor1.inlet.r,singleFlowSensor1.inlet.state.T,singleFlowSensor1.inlet.state.d,singleFlowSensor1.inlet.state.h,singleFlowSensor1.inlet.state.p,singleFlowSensor1.inlet.state.phase,singleFlowSensor1.outlet.m_flow,singleFlowSensor1.outlet.r,singleFlowSensor1.outlet.state.T,singleFlowSensor1.outlet.state.d,singleFlowSensor1.outlet.state.h,singleFlowSensor1.outlet.state.p,singleFlowSensor1.outlet.state.phase,singleFlowSensor1.outputValue,singleFlowSensor1.quantity,singleFlowSensor1.rho_min,singleFlowSensor1.value,singleFlowSensor1.value_0,singleFlowSensor8.TC,singleFlowSensor8.digits,singleFlowSensor8.displayInstanceName,singleFlowSensor8.displayParameters,singleFlowSensor8.filter_output,singleFlowSensor8.init,singleFlowSensor8.inlet.m_flow,singleFlowSensor8.inlet.r,singleFlowSensor8.inlet.state.T,singleFlowSensor8.inlet.state.d,singleFlowSensor8.inlet.state.h,singleFlowSensor8.inlet.state.p,singleFlowSensor8.inlet.state.phase,singleFlowSensor8.outlet.m_flow,singleFlowSensor8.outlet.r,singleFlowSensor8.outlet.state.T,singleFlowSensor8.outlet.state.d,singleFlowSensor8.outlet.state.h,singleFlowSensor8.outlet.state.p,singleFlowSensor8.outlet.state.phase,singleFlowSensor8.outputValue,singleFlowSensor8.quantity,singleFlowSensor8.rho_min,singleFlowSensor8.value,singleFlowSensor8.value_0,sink2_1.L,sink2_1.displayInertance,sink2_1.displayInstanceName,sink2_1.displayP,sink2_1.displayParameters,sink2_1.displayPressure,sink2_1.inlet.m_flow,sink2_1.inlet.r,sink2_1.inlet.state.T,sink2_1.inlet.state.d,sink2_1.inlet.state.h,sink2_1.inlet.state.p,sink2_1.inlet.state.phase,sink2_1.p0_par,sink2_1.pressureFromInput,source2_1.L,source2_1.T0_par,source2_1.displayH,source2_1.displayInertance,source2_1.displayInstanceName,source2_1.displayMassFractions,source2_1.displayP,source2_1.displayParameters,source2_1.displayPressure,source2_1.displayT,source2_1.displayTemperature,source2_1.displayXi,source2_1.enthalpyFromInput,source2_1.h0_par,source2_1.outlet.m_flow,source2_1.outlet.r,source2_1.outlet.state.T,source2_1.outlet.state.d,source2_1.outlet.state.h,source2_1.outlet.state.p,source2_1.outlet.state.phase,source2_1.p0_par,source2_1.pressureFromInput,source2_1.setEnthalpy,source2_1.temperatureFromInput,source2_1.xiFromInput,source2_2.L,source2_2.T0_par,source2_2.displayH,source2_2.displayInertance,source2_2.displayInstanceName,source2_2.displayMassFractions,source2_2.displayP,source2_2.displayParameters,source2_2.displayPressure,source2_2.displayT,source2_2.displayTemperature,source2_2.displayXi,source2_2.enthalpyFromInput,source2_2.h0_par,source2_2.outlet.m_flow,source2_2.outlet.r,source2_2.outlet.state.T,source2_2.outlet.state.d,source2_2.outlet.state.h,source2_2.outlet.state.p,source2_2.outlet.state.phase,source2_2.p0_par,source2_2.pressureFromInput,source2_2.setEnthalpy,source2_2.temperatureFromInput,source2_2.xiFromInput,time [Calling sys.exit(0), Time elapsed: 21.057849359989632]