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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002953/0.0002953, allocations: 0 / 0, free: 0 / 0 " [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.000223/0.000223, allocations: 0 / 0, free: 0 / 0 " [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.1893/0.1893, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.06611/0.06611, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(ThermofluidStream.Examples.VenturiPump,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="Time|sink2_1.inlet.m_flow|source2_2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.VenturiPump",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ThermofluidStream.Examples.VenturiPump,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="Time|sink2_1.inlet.m_flow|source2_2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.VenturiPump",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.334e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.VenturiPump): time 0.02456/0.02459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01523/0.03982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.04084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.000683/0.04152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002113/0.04364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.01124/0.05488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002016/0.05689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/0.05726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.06039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.06101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.06112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.07124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.07154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005364/0.07208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.007815/0.07989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001884/0.08008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.763e-06/0.08008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.027e-06/0.08009, allocations: 0 / 0, free: 0 / 0 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.003229/0.08332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.762e-05/0.08341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004786/0.08388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.08496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.326e-05/0.08503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 9.579e-05/0.08513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.0862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.08622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/0.08628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.08632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.08703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.08988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/0.09056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.09073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.09225/0.183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=89): time 8.335e-06/0.183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=90): time 0.002921/0.186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.1866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.1866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.1869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.884e-05/0.1872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.1873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.1878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=105) (initialization): time 0.0006101/0.1884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.1888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.1891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.1903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.1905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.1905, allocations: 0 / 0, free: 0 / 0 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.0002329/0.1908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.1922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.1922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.1942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.1945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0002502/0.1947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.1948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.1958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.1969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.1971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.1973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.1976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.1977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003517/0.198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.225e-05/0.1981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002424/0.2005, allocations: 0 / 0, free: 0 / 0 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.003145/0.2036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0007045/0.2043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.2043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.2048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.2058, allocations: 0 / 0, free: 0 / 0 [SimCode/SimCodeUtil.mo:0:0-0:0: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) [SimCode/SimCodeUtil.mo:0:0-0:0: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) [SimCode/SimCodeUtil.mo:0:0-0:0: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) [SimCode/SimCodeUtil.mo:0:0-0:0: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) [SimCode/SimCodeUtil.mo:0:0-0:0: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) [SimCode/SimCodeUtil.mo:0:0-0:0: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) [SimCode/SimCodeUtil.mo:0:0-0:0: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) [SimCode/SimCodeUtil.mo:0:0-0:0: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) [SimCode/SimCodeUtil.mo:0:0-0:0: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.00249/0.2083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005015/0.2091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/0.2097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.545e-05/0.2097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.009079/0.2188, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.VenturiPump_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.VenturiPump_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.2592529337853193]