Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001375/0.001375, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001385/0.001385, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9681/0.9681, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.7194/0.7194, allocations: 118.7 MB / 378.9 MB, free: 1.383 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.502e-05, allocations: 2.312 kB / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.2943/0.2944, allocations: 129.2 MB / 0.5469 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.2965, allocations: 1.382 MB / 0.5482 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/0.2968, allocations: 39.62 kB / 0.5483 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.2973, allocations: 104.9 kB / 0.5484 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008003/0.2981, allocations: 336.2 kB / 0.5487 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.2988, allocations: 227.2 kB / 0.5489 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009438/0.2997, allocations: 0.8254 MB / 0.5497 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.3, allocations: 84.77 kB / 0.5498 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00083/0.3008, allocations: 442.7 kB / 0.5502 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/0.3014, allocations: 355.1 kB / 0.5506 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.3014, allocations: 36 kB / 0.5506 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.3018, allocations: 155.7 kB / 0.5507 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3019, allocations: 123.6 kB / 0.5509 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.3021, allocations: 143.6 kB / 0.551 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00073/0.3028, allocations: 0.4982 MB / 0.5515 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3028, allocations: 0 / 0.5515 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3028, allocations: 0 / 0.5515 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3028, allocations: 0 / 0.5515 GB, free: 5.473 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.001291/0.3041, allocations: 0.7357 MB / 0.5522 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3042, allocations: 8.031 kB / 0.5522 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3043, allocations: 60.88 kB / 0.5523 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008217/0.3051, allocations: 436.3 kB / 0.5527 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.3051, allocations: 16.88 kB / 0.5527 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.3052, allocations: 28.36 kB / 0.5527 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.3056, allocations: 264.9 kB / 0.553 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3056, allocations: 0 / 0.553 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.3056, allocations: 15.94 kB / 0.553 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.3057, allocations: 12.5 kB / 0.553 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.306, allocations: 146.1 kB / 0.5531 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.3076, allocations: 0.8816 MB / 0.554 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.3078, allocations: 110.5 kB / 0.5541 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.308, allocations: 86.5 kB / 0.5542 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.3081, allocations: 31.53 kB / 0.5542 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3082, allocations: 38.56 kB / 0.5543 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.883e-06/0.3082, allocations: 0 / 0.5543 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001624/0.3098, allocations: 0.6573 MB / 0.5549 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.3098, allocations: 59.34 kB / 0.555 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.3101, allocations: 327.3 kB / 0.5553 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3101, allocations: 33.7 kB / 0.5553 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.3102, allocations: 177.6 kB / 0.5555 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3103, allocations: 122.9 kB / 0.5556 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3104, allocations: 61.66 kB / 0.5556 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3106, allocations: 358.6 kB / 0.556 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3107, allocations: 40.86 kB / 0.556 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3108, allocations: 51.69 kB / 0.5561 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.3111, allocations: 137.1 kB / 0.5562 GB, free: 448 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3111, allocations: 0 / 0.5562 GB, free: 448 kB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005036/0.3116, allocations: 261.3 kB / 0.5565 GB, free: 176 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3116, allocations: 4 kB / 0.5565 GB, free: 172 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3116, allocations: 0 / 0.5565 GB, free: 172 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.3119, allocations: 84.16 kB / 0.5565 GB, free: 84 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.3121, allocations: 63.88 kB / 0.5566 GB, free: 20 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.314, allocations: 1.753 MB / 0.5583 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.3141, allocations: 4 kB / 0.5583 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.3142, allocations: 8.094 kB / 0.5583 GB, free: 14.16 MB / 0.5105 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 0.0001467/0.3143, allocations: 132.6 kB / 0.5585 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.3144, allocations: 43.89 kB / 0.5585 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006893/0.3151, allocations: 443.4 kB / 0.5589 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3151, allocations: 0 / 0.5589 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3151, allocations: 4 kB / 0.5589 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3151, allocations: 0 / 0.5589 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.3154, allocations: 217.6 kB / 0.5591 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3154, allocations: 0 / 0.5591 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.3156, allocations: 39.89 kB / 0.5592 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002976/0.3159, allocations: 96.34 kB / 0.5593 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.3159, allocations: 11.98 kB / 0.5593 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.3176, allocations: 1.717 MB / 0.5609 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3176, allocations: 0 / 0.5609 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.3182, allocations: 326.7 kB / 0.5613 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3183, allocations: 51.72 kB / 0.5613 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.3183, allocations: 4 kB / 0.5613 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.3185, allocations: 9.25 kB / 0.5613 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.3185, allocations: 23.94 kB / 0.5613 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.3186, allocations: 7.984 kB / 0.5613 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001756/0.3187, allocations: 156.7 kB / 0.5615 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.3187, allocations: 0 / 0.5615 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004878/0.3192, allocations: 111.9 kB / 0.5616 GB, free: 10.62 MB / 0.5105 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.0001996/0.3194, allocations: 104.3 kB / 0.5617 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006498/0.3201, allocations: 342 kB / 0.562 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.3201, allocations: 4 kB / 0.562 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.3205, allocations: 280.7 kB / 0.5623 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.3211, allocations: 145.3 kB / 0.5624 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.3229, allocations: 0.7863 MB / 0.5632 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.323, allocations: 121.2 kB / 0.5633 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002242/0.3232, allocations: 59.27 kB / 0.5634 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.3235, allocations: 137.3 kB / 0.5635 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/0.3235, allocations: 0 / 0.5635 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of Templates: time 0.01513/0.3387, allocations: 7.272 MB / 0.5706 GB, free: 1.488 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.77157543040812]