Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical.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.0003309/0.0003309, 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.0002668/0.0002668, 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.1677/0.1677, 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.07185/0.07185, 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.Topology.Tests.TestNonPhysical,startTime=0,stopTime=150,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="Time|junctionRatio1.outlet.m_flow|junctionRatio1.splitRatioLim|junctionRatio2.outlet.m_flow|junctionRatio2.splitRatioLim|leakageA.dp|leakageA.inlet.m_flow|leakageA.splitRatioLim|leakageA1.dp|leakageA1.inlet.m_flow|leakageA1.splitRatioLim|rTSwitch.dp|rTSwitch.inlet.m_flow|rTSwitch.splitRatioLim|rTSwitch1.dp|rTSwitch1.inlet.m_flow|rTSwitch1.splitRatioLim|ratioControl.dp|ratioControl.inlet.m_flow|ratioControl.splitRatioLim|ratioControl1.dp|ratioControl1.inlet.m_flow|ratioControl1.splitRatioLim|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent|timeTable.nextEventScaled",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ThermofluidStream.Topology.Tests.TestNonPhysical,startTime=0,stopTime=150,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="Time|junctionRatio1.outlet.m_flow|junctionRatio1.splitRatioLim|junctionRatio2.outlet.m_flow|junctionRatio2.splitRatioLim|leakageA.dp|leakageA.inlet.m_flow|leakageA.splitRatioLim|leakageA1.dp|leakageA1.inlet.m_flow|leakageA1.splitRatioLim|rTSwitch.dp|rTSwitch.inlet.m_flow|rTSwitch.splitRatioLim|rTSwitch1.dp|rTSwitch1.inlet.m_flow|rTSwitch1.splitRatioLim|ratioControl.dp|ratioControl.inlet.m_flow|ratioControl.splitRatioLim|ratioControl1.dp|ratioControl1.inlet.m_flow|ratioControl1.splitRatioLim|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent|timeTable.nextEventScaled",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.406e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestNonPhysical): time 0.03327/0.03331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.03427/0.06758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.007906/0.07549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.006697/0.08218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.01812/0.1003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.02661/0.1269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.018/0.1449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0034/0.1483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.01876/0.1671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.007963/0.175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.002437/0.1775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.02068/0.1981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.006331/0.2045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.01037/0.2149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.03253/0.2474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.003148/0.2505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.214e-06/0.2505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.875e-05/0.2506, 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: 1329 * Number of variables: 1329 Notification: Performance of Generate backend data structure: time 0.01504/0.2656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0004295/0.266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/0.2696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.004107/0.2737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/0.2742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004868/0.2747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.006049/0.2807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.942e-05/0.2808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003273/0.2811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/0.2813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003262/0.2846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.2995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.004192/0.3037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.1027/0.4077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00371/0.4114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=476): time 1.666e-05/0.4114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=500): time 0.01418/0.4256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/0.4257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/0.4281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003311/0.4284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0009518/0.4294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0008632/0.4302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008929/0.4311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.418e-05/0.4312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008342/0.432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.4352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-05/0.4352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=587) (initialization): time 0.003581/0.4388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.4388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002602/0.4414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.4429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.4447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008271/0.453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.4549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004207/0.4553, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 51 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1,ratioControl.outletA.state.phase,rTSwitch.outletA.state.phase,leakageA.outletA.state.phase,source.outlet.state.phase,source1.outlet.state.phase,source2.outlet.state.phase,flowResistance.outlet.state.phase,flowResistance1.outlet.state.phase,flowResistance2.outlet.state.phase,flowResistance3.outlet.state.phase,ratioControl1.outletA.state.phase,ratioControl1.outletB.state.phase,rTSwitch1.outletA.state.phase,rTSwitch1.outletB.state.phase,leakageA1.outletA.state.phase,leakageA1.outletB.state.phase,source4.outlet.state.phase,source5.outlet.state.phase,source6.outlet.state.phase,source7.outlet.state.phase,pump.outlet.state.phase,pump2.outlet.state.phase,pump3.outlet.state.phase,pump1.outlet.state.phase,flowResistance4.outlet.state.phase,flowResistance5.outlet.state.phase,flowResistance6.outlet.state.phase,flowResistance7.outlet.state.phase,flowResistance8.outlet.state.phase,flowResistance9.outlet.state.phase,flowResistance10.outlet.state.phase,flowResistance11.outlet.state.phase,ratioControl.outletB.state.phase,rTSwitch.outletB.state.phase,leakageA.outletB.state.phase,junctionRatio1.outlet.state.phase,junctionT2_1.junctionN.outlet.state.phase,junctionT2_3.junctionN.outlet.state.phase,junctionT2_5.junctionN.outlet.state.phase,source3.outlet.state.phase,junctionRatio2.outlet.state.phase,junctionT2_2.junctionN.outlet.state.phase,junctionT2_4.junctionN.outlet.state.phase,junctionT2_6.junctionN.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (466): * Single equations (assignments): 457 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,15,100.0%), (1,15,100.0%), (1,15,100.0%), (1,13,100.0%), (1,15,100.0%), (1,15,100.0%), (1,15,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001928/0.4572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/0.4577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007771/0.4655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.324e-05/0.4656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/0.4656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/0.4656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.4779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005148/0.4831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.4848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/0.4864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.4866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009691/0.4963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007143/0.5034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.5046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007751/0.5054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008954/0.5063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009294/0.5072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002156/0.5075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001052/0.5085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 7.221e-05/0.5086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.005983/0.5146, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 22 (ratioControl.dp,ratioControl.splitRatioLim,rTSwitch.dp,rTSwitch.splitRatioLim,leakageA.dp,leakageA.splitRatioLim,junctionRatio1.splitRatioLim,ratioControl1.dp,ratioControl1.splitRatioLim,rTSwitch1.dp,rTSwitch1.splitRatioLim,leakageA1.dp,leakageA1.splitRatioLim,junctionRatio2.splitRatioLim,pump.m_flow,pump2.m_flow,pump3.m_flow,flowResistance4.inlet.m_flow,flowResistance5.inlet.m_flow,flowResistance6.inlet.m_flow,flowResistance7.inlet.m_flow,flowResistance11.inlet.m_flow) * Number of discrete variables: 94 ($cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse49.phase,$cse49.region,$cse50.phase,$cse50.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,$cse57.phase,$cse57.region,$cse58.phase,$cse58.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,$cse64.phase,$cse64.region,$cse65.phase,$cse65.region,$cse66.phase,$cse66.region,$cse67.phase,$cse67.region,$cse68.phase,$cse68.region,$cse71.phase,$cse71.region,$cse72.phase,$cse72.region,$cse75.phase,$cse75.region,$cse76.phase,$cse76.region,$cse79.phase,$cse79.region,$cse80.phase,$cse80.region,$whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (461): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,13,100.0%), (1,14,100.0%), (1,1,100.0%), (1,14,100.0%), (1,1,100.0%), (1,14,100.0%), (1,1,100.0%), (1,13,100.0%), (1,15,100.0%), (1,15,100.0%), (1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004938/0.5195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.005221/0.5247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.868e-05/0.5248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.003219/0.528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004975/0.533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.5446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.5461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.002252/0.5484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002617/0.551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001351/0.5511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0246/0.5757, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestNonPhysical_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.9823564384132624]