Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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.0009426/0.0009426, 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.0009368/0.0009368, 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.9593/0.9593, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.677/0.677, allocations: 118.6 MB / 378.9 MB, free: 1.367 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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 430.9 MB, free: 13.33 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.281e-05, allocations: 6.312 kB / 430.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.2717/0.2717, allocations: 128.7 MB / 0.5464 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.2725, allocations: 0.779 MB / 0.5472 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2726, allocations: 31.69 kB / 0.5472 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.2729, allocations: 90.59 kB / 0.5473 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.2732, allocations: 182.8 kB / 0.5475 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.2734, allocations: 123.7 kB / 0.5476 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.2737, allocations: 438 kB / 0.548 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2738, allocations: 43.52 kB / 0.5481 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.2742, allocations: 267 kB / 0.5483 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.2743, allocations: 111.7 kB / 0.5484 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.2743, allocations: 11.94 kB / 0.5484 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.2744, allocations: 71.88 kB / 0.5485 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.2745, allocations: 35.73 kB / 0.5485 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.2745, allocations: 67.78 kB / 0.5486 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.2748, allocations: 255 kB / 0.5488 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2748, allocations: 4 kB / 0.5488 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2748, allocations: 0 / 0.5488 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2748, allocations: 0 / 0.5488 GB, free: 8.168 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004778/0.2753, allocations: 0.4984 MB / 0.5493 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.2753, allocations: 12.03 kB / 0.5493 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.2753, allocations: 28.91 kB / 0.5494 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.2757, allocations: 365.1 kB / 0.5497 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.2757, allocations: 8.594 kB / 0.5497 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.2757, allocations: 12.38 kB / 0.5497 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.2759, allocations: 128 kB / 0.5499 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.2759, allocations: 192 / 0.5499 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.2759, allocations: 8.375 kB / 0.5499 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2759, allocations: 7.938 kB / 0.5499 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/0.2759, allocations: 41.52 kB / 0.5499 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.2763, allocations: 0.5249 MB / 0.5504 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.2764, allocations: 65.09 kB / 0.5505 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.2764, allocations: 25.89 kB / 0.5505 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.2765, allocations: 4 kB / 0.5505 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.2765, allocations: 34.56 kB / 0.5506 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2765, allocations: 0 / 0.5506 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0003015/0.2768, allocations: 147.1 kB / 0.5507 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.2768, allocations: 77.11 kB / 0.5508 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.277, allocations: 287.4 kB / 0.551 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.277, allocations: 29.7 kB / 0.5511 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.277, allocations: 141.2 kB / 0.5512 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.2771, allocations: 35.72 kB / 0.5512 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.2771, allocations: 21.72 kB / 0.5513 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.2772, allocations: 350.7 kB / 0.5516 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.2772, allocations: 8 kB / 0.5516 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.2772, allocations: 35.41 kB / 0.5516 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.794e-05/0.2773, allocations: 52.28 kB / 0.5517 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2773, allocations: 4 kB / 0.5517 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001141/0.2774, allocations: 107.2 kB / 0.5518 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2774, allocations: 7.984 kB / 0.5518 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2774, allocations: 4.062 kB / 0.5518 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001068/0.2775, allocations: 37.62 kB / 0.5518 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/0.2775, allocations: 13.94 kB / 0.5519 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009644/0.2785, allocations: 2.316 MB / 0.5541 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.2785, allocations: 7.891 kB / 0.5541 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2786, allocations: 4 kB / 0.5541 GB, free: 2.355 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.925e-05/0.2786, allocations: 120.9 kB / 0.5542 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.2787, allocations: 20.02 kB / 0.5543 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.2788, allocations: 131.2 kB / 0.5544 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.2788, allocations: 0 / 0.5544 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2788, allocations: 4 kB / 0.5544 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2788, allocations: 3.984 kB / 0.5544 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.279, allocations: 389.2 kB / 0.5548 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.279, allocations: 4.125 kB / 0.5548 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.2791, allocations: 8.688 kB / 0.5548 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.279e-05/0.2791, allocations: 41.56 kB / 0.5548 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2791, allocations: 4 kB / 0.5548 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008802/0.28, allocations: 2.316 MB / 0.5571 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.28, allocations: 7.984 kB / 0.5571 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.2802, allocations: 296.2 kB / 0.5574 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.2802, allocations: 27.8 kB / 0.5574 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.2802, allocations: 11.89 kB / 0.5574 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.2803, allocations: 4 kB / 0.5574 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.2803, allocations: 7.984 kB / 0.5574 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2803, allocations: 4 kB / 0.5574 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.499e-05/0.2804, allocations: 116.7 kB / 0.5575 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.2804, allocations: 0 / 0.5575 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002046/0.2806, allocations: 43.94 kB / 0.5576 GB, free: 14.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.2807, allocations: 101.2 kB / 0.5577 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.2809, allocations: 273.7 kB / 0.5579 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2809, allocations: 4 kB / 0.5579 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.281, allocations: 254.6 kB / 0.5582 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2813, allocations: 73.56 kB / 0.5583 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/0.2821, allocations: 0.556 MB / 0.5588 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.033e-05/0.2822, allocations: 88.3 kB / 0.5589 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.869e-05/0.2822, allocations: 26.3 kB / 0.5589 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.092e-05/0.2823, allocations: 91.34 kB / 0.559 GB, free: 13 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.2823, allocations: 0 / 0.559 GB, free: 13 MB / 0.5105 GB Notification: Performance of Templates: time 0.00478/0.2871, allocations: 3.22 MB / 0.5621 GB, free: 9.867 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_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.440280770882964]