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.0009438/0.0009438, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009737/0.0009737, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.8909/0.8909, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.6368/0.6368, allocations: 118.6 MB / 378.9 MB, free: 1.309 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.082e-06/1.082e-06, allocations: 0 / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.311e-05, allocations: 2.312 kB / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.2628/0.2628, allocations: 128.6 MB / 0.5463 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.2636, allocations: 0.7825 MB / 0.5471 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.2638, allocations: 31.69 kB / 0.5471 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.2641, allocations: 83.03 kB / 0.5472 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.2644, allocations: 182.8 kB / 0.5474 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.2646, allocations: 127.9 kB / 0.5475 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.2649, allocations: 446 kB / 0.5479 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2651, allocations: 43.5 kB / 0.548 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.2654, allocations: 255.1 kB / 0.5482 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.2655, allocations: 111.7 kB / 0.5483 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.2655, allocations: 12 kB / 0.5483 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.2657, allocations: 79.8 kB / 0.5484 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.2657, allocations: 39.78 kB / 0.5485 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.2657, allocations: 59.81 kB / 0.5485 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.266, allocations: 254.9 kB / 0.5488 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.266, allocations: 0 / 0.5488 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.266, allocations: 0 / 0.5488 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.266, allocations: 0 / 0.5488 GB, free: 8.066 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.0004757/0.2665, allocations: 0.5023 MB / 0.5492 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.2665, allocations: 12.03 kB / 0.5493 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.2665, allocations: 28.91 kB / 0.5493 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.2669, allocations: 361.1 kB / 0.5496 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2669, allocations: 8.609 kB / 0.5496 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.2669, allocations: 12.38 kB / 0.5496 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.267, allocations: 125.6 kB / 0.5498 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.267, allocations: 8.188 kB / 0.5498 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.2671, allocations: 384 / 0.5498 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2671, allocations: 7.938 kB / 0.5498 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.506e-05/0.2671, allocations: 41.58 kB / 0.5498 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.2675, allocations: 0.5326 MB / 0.5503 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.394e-05/0.2676, allocations: 65.16 kB / 0.5504 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.2676, allocations: 21.72 kB / 0.5504 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.2677, allocations: 12.08 kB / 0.5504 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.2677, allocations: 34.56 kB / 0.5505 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.2677, allocations: 0 / 0.5505 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002821/0.268, allocations: 135.2 kB / 0.5506 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.268, allocations: 81.05 kB / 0.5507 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2681, allocations: 287.4 kB / 0.5509 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.2681, allocations: 29.7 kB / 0.551 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.2682, allocations: 149.2 kB / 0.5511 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.2682, allocations: 31.73 kB / 0.5511 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.2682, allocations: 25.7 kB / 0.5512 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.2683, allocations: 342.8 kB / 0.5515 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.2683, allocations: 11.98 kB / 0.5515 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.2683, allocations: 28 kB / 0.5515 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.2686, allocations: 59.33 kB / 0.5516 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2686, allocations: 0 / 0.5516 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000106/0.2687, allocations: 111.2 kB / 0.5517 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.2687, allocations: 4.938 kB / 0.5517 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2687, allocations: 4.469 kB / 0.5517 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.2689, allocations: 29.7 kB / 0.5517 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.439e-05/0.2689, allocations: 15.92 kB / 0.5518 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008984/0.2698, allocations: 2.313 MB / 0.554 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.2698, allocations: 7.891 kB / 0.554 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.2698, allocations: 14.12 kB / 0.554 GB, free: 2.25 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.425e-05/0.2699, allocations: 112.6 kB / 0.5541 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.2699, allocations: 31.91 kB / 0.5542 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.2701, allocations: 126.8 kB / 0.5543 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.2701, allocations: 0 / 0.5543 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2701, allocations: 0 / 0.5543 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2701, allocations: 0 / 0.5543 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.2703, allocations: 393.2 kB / 0.5547 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2703, allocations: 4 kB / 0.5547 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-06/0.2703, allocations: 4 kB / 0.5547 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.537e-05/0.2704, allocations: 41.66 kB / 0.5547 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.2704, allocations: 12.05 kB / 0.5547 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007834/0.2712, allocations: 2.308 MB / 0.557 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2712, allocations: 4.188 kB / 0.557 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.2713, allocations: 303.4 kB / 0.5573 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.2713, allocations: 27.77 kB / 0.5573 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2714, allocations: 11.94 kB / 0.5573 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.2714, allocations: 0 / 0.5573 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.2714, allocations: 7.984 kB / 0.5573 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.2715, allocations: 0 / 0.5573 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.961e-05/0.2715, allocations: 128.7 kB / 0.5574 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.2715, allocations: 0 / 0.5574 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001995/0.2717, allocations: 51.97 kB / 0.5575 GB, free: 14.44 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.0001048/0.2718, allocations: 85.22 kB / 0.5576 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.272, allocations: 273.7 kB / 0.5578 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.272, allocations: 8.125 kB / 0.5578 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.2721, allocations: 254.3 kB / 0.5581 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.2724, allocations: 77.86 kB / 0.5582 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009746/0.2734, allocations: 0.5559 MB / 0.5587 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.558e-05/0.2734, allocations: 80.31 kB / 0.5588 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.356e-05/0.2735, allocations: 30.45 kB / 0.5588 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.2736, allocations: 95.34 kB / 0.5589 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.2736, allocations: 0 / 0.5589 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.004665/0.2782, allocations: 3.213 MB / 0.562 GB, free: 9.766 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 -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.314201846253127]