Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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.0006764/0.0006764, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009342/0.001611, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007383/0.0007383, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000968/0.001706, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9438/0.9438, allocations: 177.1 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09155/1.035, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.6557/0.6557, allocations: 118.7 MB / 362.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0597/0.7154, allocations: 35.84 MB / 398.5 MB, free: 13.34 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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: translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 399.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.117e-05, allocations: 2.312 kB / 399.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.333/0.333, allocations: 129.5 MB / 0.5169 GB, free: 2.746 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.3349, allocations: 1.382 MB / 0.5183 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.3352, allocations: 39.62 kB / 0.5183 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.3355, allocations: 117.1 kB / 0.5184 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.336, allocations: 322 kB / 0.5187 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.3364, allocations: 231.1 kB / 0.5189 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006901/0.3371, allocations: 0.8222 MB / 0.5197 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3373, allocations: 67.58 kB / 0.5198 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000574/0.3378, allocations: 481.1 kB / 0.5203 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.3383, allocations: 351.2 kB / 0.5206 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.278e-05/0.3383, allocations: 35.94 kB / 0.5206 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.3386, allocations: 163.6 kB / 0.5208 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.857e-05/0.3387, allocations: 91.66 kB / 0.5209 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.3388, allocations: 123.7 kB / 0.521 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006147/0.3395, allocations: 474.3 kB / 0.5214 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-05/0.3395, allocations: 4 kB / 0.5215 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3395, allocations: 0 / 0.5215 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.581e-05/0.3395, allocations: 0 / 0.5215 GB, free: 14.1 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001329/0.3408, allocations: 0.8996 MB / 0.5223 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3409, allocations: 8.031 kB / 0.5223 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.402e-05/0.3409, allocations: 52.89 kB / 0.5224 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.3415, allocations: 439.5 kB / 0.5228 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3415, allocations: 24.81 kB / 0.5228 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.3415, allocations: 32.27 kB / 0.5229 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.3418, allocations: 261 kB / 0.5231 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3418, allocations: 1.25 kB / 0.5231 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.3418, allocations: 11.94 kB / 0.5231 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/0.3419, allocations: 20.5 kB / 0.5231 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.342, allocations: 146.1 kB / 0.5233 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009722/0.343, allocations: 0.8649 MB / 0.5241 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.3432, allocations: 118.4 kB / 0.5242 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.368e-05/0.3433, allocations: 79.3 kB / 0.5243 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.01e-05/0.3434, allocations: 31.95 kB / 0.5243 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.3434, allocations: 34.56 kB / 0.5244 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.522e-06/0.3434, allocations: 0 / 0.5244 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.00105/0.3445, allocations: 0.672 MB / 0.525 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.3445, allocations: 55.41 kB / 0.5251 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.3447, allocations: 335.3 kB / 0.5254 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3447, allocations: 29.7 kB / 0.5254 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.3448, allocations: 169.7 kB / 0.5256 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.3448, allocations: 118.9 kB / 0.5257 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.3449, allocations: 69.64 kB / 0.5258 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.345, allocations: 350.7 kB / 0.5261 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.3451, allocations: 44.86 kB / 0.5262 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.602e-05/0.3451, allocations: 47.69 kB / 0.5262 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.3453, allocations: 142.3 kB / 0.5263 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3453, allocations: 0 / 0.5263 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002833/0.3455, allocations: 256.7 kB / 0.5266 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3456, allocations: 4 kB / 0.5266 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3456, allocations: 3.984 kB / 0.5266 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.3458, allocations: 93.08 kB / 0.5267 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.3459, allocations: 63.86 kB / 0.5267 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.3471, allocations: 1.753 MB / 0.5285 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/0.3472, allocations: 5 kB / 0.5285 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3472, allocations: 11.98 kB / 0.5285 GB, free: 6.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.955e-05/0.3473, allocations: 132.6 kB / 0.5286 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.3473, allocations: 35.91 kB / 0.5286 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/0.3478, allocations: 442.5 kB / 0.529 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3478, allocations: 7.938 kB / 0.5291 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3478, allocations: 0 / 0.5291 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3478, allocations: 11.98 kB / 0.5291 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.348, allocations: 209.6 kB / 0.5293 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.348, allocations: 0 / 0.5293 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.3481, allocations: 41 kB / 0.5293 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.3481, allocations: 47.8 kB / 0.5294 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/0.3483, allocations: 103.5 kB / 0.5295 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3483, allocations: 11.98 kB / 0.5295 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.3494, allocations: 1.718 MB / 0.5311 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3494, allocations: 0.75 kB / 0.5311 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.3498, allocations: 322.5 kB / 0.5314 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.3498, allocations: 8 kB / 0.5315 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.3499, allocations: 4 kB / 0.5315 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.35, allocations: 23.94 kB / 0.5315 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.35, allocations: 9.234 kB / 0.5315 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001099/0.3501, allocations: 160.7 kB / 0.5316 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.3501, allocations: 0 / 0.5316 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002979/0.3504, allocations: 108 kB / 0.5317 GB, free: 3.047 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * 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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.3505, allocations: 116.3 kB / 0.5319 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.351, allocations: 324.6 kB / 0.5322 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.351, allocations: 11.92 kB / 0.5322 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.3512, allocations: 290.9 kB / 0.5325 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.3516, allocations: 168.5 kB / 0.5326 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.3561, allocations: 0.7676 MB / 0.5334 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.3562, allocations: 129.2 kB / 0.5335 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.3564, allocations: 55.36 kB / 0.5335 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.3566, allocations: 149.2 kB / 0.5337 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of SimCode: time 1.723e-06/0.3566, allocations: 4 kB / 0.5337 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of Templates: time 0.009721/0.3663, allocations: 7.506 MB / 0.541 GB, free: 9.648 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_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: 3.738020731136203]