Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001355/0.001355, allocations: 80.88 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.001113/0.001113, allocations: 181 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.9369/0.9369, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.6478/0.6478, allocations: 118.6 MB / 378.9 MB, free: 1.336 MB / 346.7 MB " [Timeout remaining time 179] 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: translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.753e-05, allocations: 5.406 kB / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.2719/0.2719, allocations: 128.7 MB / 0.5464 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0008135/0.2727, allocations: 0.7751 MB / 0.5472 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.2728, allocations: 31.69 kB / 0.5472 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.2731, allocations: 86.59 kB / 0.5473 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.2734, allocations: 186.8 kB / 0.5475 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.2736, allocations: 123.7 kB / 0.5476 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.2739, allocations: 438 kB / 0.548 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.274, allocations: 43.5 kB / 0.5481 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.2744, allocations: 259.1 kB / 0.5483 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.2745, allocations: 119.6 kB / 0.5484 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.2745, allocations: 11.98 kB / 0.5484 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.2747, allocations: 67.88 kB / 0.5485 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.2747, allocations: 39.78 kB / 0.5485 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.2747, allocations: 75.72 kB / 0.5486 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.275, allocations: 243 kB / 0.5488 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.275, allocations: 0 / 0.5488 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.275, allocations: 0 / 0.5488 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.275, allocations: 4 kB / 0.5488 GB, free: 8.129 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.0004508/0.2755, allocations: 0.5023 MB / 0.5493 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2755, allocations: 8.031 kB / 0.5493 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.2755, allocations: 32.91 kB / 0.5494 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.2759, allocations: 357.1 kB / 0.5497 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2759, allocations: 12.61 kB / 0.5497 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.2759, allocations: 16.36 kB / 0.5497 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.276, allocations: 129.6 kB / 0.5499 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2761, allocations: 192 / 0.5499 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2761, allocations: 8.312 kB / 0.5499 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2761, allocations: 3.938 kB / 0.5499 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.2761, allocations: 41.58 kB / 0.5499 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.2765, allocations: 0.5249 MB / 0.5504 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.102e-05/0.2766, allocations: 69.17 kB / 0.5505 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.2766, allocations: 17.72 kB / 0.5505 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.2767, allocations: 8.078 kB / 0.5505 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.2767, allocations: 42.55 kB / 0.5506 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.2767, allocations: 0 / 0.5506 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.000296/0.277, allocations: 139.1 kB / 0.5507 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.277, allocations: 77.11 kB / 0.5508 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2772, allocations: 287.4 kB / 0.551 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.2772, allocations: 29.7 kB / 0.5511 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.2772, allocations: 141.2 kB / 0.5512 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.2772, allocations: 35.72 kB / 0.5512 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.2773, allocations: 25.72 kB / 0.5513 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.2773, allocations: 342.8 kB / 0.5516 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.2774, allocations: 7.984 kB / 0.5516 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.2774, allocations: 32 kB / 0.5516 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.309e-05/0.2774, allocations: 59.7 kB / 0.5517 GB, free: 5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2774, allocations: 0.5625 kB / 0.5517 GB, free: 5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001135/0.2775, allocations: 115.2 kB / 0.5518 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.2776, allocations: 4 kB / 0.5518 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2776, allocations: 0 / 0.5518 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001094/0.2777, allocations: 33.77 kB / 0.5518 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.457e-05/0.2777, allocations: 21.48 kB / 0.5518 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.2789, allocations: 2.313 MB / 0.5541 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.2789, allocations: 7.891 kB / 0.5541 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.2789, allocations: 8 kB / 0.5541 GB, free: 2.312 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.445e-05/0.279, allocations: 112.7 kB / 0.5542 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.279, allocations: 27.92 kB / 0.5543 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.2791, allocations: 130.7 kB / 0.5544 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2791, allocations: 4.062 kB / 0.5544 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2791, allocations: 0 / 0.5544 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2791, allocations: 0 / 0.5544 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.2794, allocations: 389.2 kB / 0.5548 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2794, allocations: 7.938 kB / 0.5548 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-06/0.2794, allocations: 4.75 kB / 0.5548 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.407e-05/0.2795, allocations: 49.67 kB / 0.5548 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.2795, allocations: 4 kB / 0.5548 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008275/0.2803, allocations: 2.316 MB / 0.5571 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2803, allocations: 0 / 0.5571 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.2805, allocations: 290.1 kB / 0.5574 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.2805, allocations: 27.86 kB / 0.5574 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.2805, allocations: 16.73 kB / 0.5574 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/0.2806, allocations: 0 / 0.5574 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.2806, allocations: 8.109 kB / 0.5574 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.2806, allocations: 8 kB / 0.5574 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.535e-05/0.2807, allocations: 124.7 kB / 0.5575 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-08/0.2807, allocations: 0 / 0.5575 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002066/0.2809, allocations: 47.94 kB / 0.5576 GB, free: 14.5 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.0001054/0.281, allocations: 81.3 kB / 0.5577 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.2812, allocations: 281.6 kB / 0.5579 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.2812, allocations: 4 kB / 0.5579 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.2813, allocations: 258.3 kB / 0.5582 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2816, allocations: 72.84 kB / 0.5582 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/0.2824, allocations: 0.5539 MB / 0.5588 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.174e-05/0.2825, allocations: 84.31 kB / 0.5589 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.353e-05/0.2825, allocations: 22.28 kB / 0.5589 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.667e-05/0.2826, allocations: 103.3 kB / 0.559 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of SimCode: time 6.12e-07/0.2826, allocations: 4 kB / 0.559 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.00509/0.2877, allocations: 3.213 MB / 0.5621 GB, free: 9.828 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.3764135683886707]