Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.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.0002486/0.0002486, 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.0001873/0.0001873, 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.1078/0.1078, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.06246/0.06246, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.TestDynamicTopology,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ThermofluidStream.Topology.Tests.TestDynamicTopology,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.881e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 0.2545/0.2545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01887/0.2734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.2771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.003312/0.2804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.01601/0.2964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.007225/0.3036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.01674/0.3204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.00345/0.3238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.02066/0.3445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.009591/0.3541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.001959/0.356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.008043/0.3641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.004047/0.3681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.005598/0.3737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.02336/0.3971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.004537/0.4016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.508e-06/0.4016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.0002249/0.4019, 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: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.02445/0.4263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0007494/0.4271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.4293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.4398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005431/0.4403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.4419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.009889/0.4517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.4519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004365/0.4523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006345/0.4529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005652/0.4586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03546/0.494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.004319/0.4984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.003114/0.5015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.001341/0.5028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=476): time 3.642e-05/0.503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=480): time 0.02688/0.5299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.53, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005388/0.5354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.002074/0.5375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001756/0.5392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.00317/0.5424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001985/0.5444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0001023/0.5445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.5463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003614/0.5517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-05/0.5517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=502) (initialization): time 0.01089/0.5626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.275e-05/0.5627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-05/0.5627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.006063/0.5688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004189/0.573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.5837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004186/0.5879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009817/0.5889, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 377 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (2,4), (2,4), (1,5), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00429/0.5932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/0.5943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/0.6071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001296/0.6072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/0.6072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.921e-05/0.6073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/0.6242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/0.6243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00268/0.627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.005845/0.6328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001324/0.6341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00832/0.6424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.6424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009822/0.6523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.002449/0.6547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001395/0.6561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.6577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001211/0.659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008594/0.6598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.002761/0.6626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0002134/0.6628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.006945/0.6697, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (dynamicJunctionNM1.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow3.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow5.inlet.m_flow,dynamicJunctionNM.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow1.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (387): * Single equations (assignments): 350 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,4), (1,5), (2,4), (1,5), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004345/0.6741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01085/0.6849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.0002574/0.6852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.00697/0.6922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01284/0.705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/0.7275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/0.7299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.007493/0.7374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006113/0.7435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003924/0.7439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.03224/0.7761, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_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: 2.126051811967045]