Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.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.001429/0.001429, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00195/0.00195, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9841/0.9841, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.6954/0.6954, allocations: 118.6 MB / 379.7 MB, free: 1.316 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.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 484.8 MB, free: 8.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.02e-05, allocations: 3.406 kB / 484.9 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.007955/0.007985, allocations: 10.32 MB / 495.2 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004843/0.01283, allocations: 3.085 MB / 498.3 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.01399, allocations: 65.38 kB / 498.3 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.01463, allocations: 256.1 kB / 498.6 MB, free: 14.73 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.01695, allocations: 1.033 MB / 499.6 MB, free: 14.04 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.01835, allocations: 0.6278 MB / 0.4885 GB, free: 13.72 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002975/0.02132, allocations: 2.269 MB / 0.4907 GB, free: 12.56 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/0.02172, allocations: 152 kB / 0.4909 GB, free: 12.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.02412, allocations: 1.227 MB / 0.4921 GB, free: 12 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.02517, allocations: 0.6186 MB / 0.4927 GB, free: 11.8 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.02539, allocations: 96.12 kB / 0.4928 GB, free: 11.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008292/0.02622, allocations: 334 kB / 0.4931 GB, free: 11.49 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.02645, allocations: 277.3 kB / 0.4933 GB, free: 11.26 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.02696, allocations: 481.3 kB / 0.4938 GB, free: 10.83 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.02864, allocations: 1.319 MB / 0.4951 GB, free: 9.734 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.02865, allocations: 0 / 0.4951 GB, free: 9.734 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.02865, allocations: 0 / 0.4951 GB, free: 9.734 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.02867, allocations: 0 / 0.4951 GB, free: 9.734 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002306/0.03098, allocations: 1.781 MB / 0.4968 GB, free: 8.082 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.03101, allocations: 13.06 kB / 0.4968 GB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005892/0.0316, allocations: 308.3 kB / 0.4971 GB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.03267, allocations: 0.8709 MB / 0.498 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-05/0.03276, allocations: 123.3 kB / 0.4981 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.03287, allocations: 100.9 kB / 0.4982 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.03387, allocations: 1.118 MB / 0.4993 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.03389, allocations: 0 / 0.4993 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/0.03395, allocations: 36 kB / 0.4993 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.03396, allocations: 24 kB / 0.4994 GB, free: 5.594 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.03445, allocations: 389.4 kB / 0.4997 GB, free: 5.215 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003136/0.03759, allocations: 3.615 MB / 0.5033 GB, free: 1.508 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009574/0.03854, allocations: 0.7159 MB / 0.504 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.03878, allocations: 235.5 kB / 0.5042 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.04023, allocations: 1.317 MB / 0.5055 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.04026, allocations: 61.81 kB / 0.5055 GB, free: 15.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=99): time 2.225e-06/0.04026, allocations: 4 kB / 0.5055 GB, free: 15.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.004124/0.04439, allocations: 2.537 MB / 0.508 GB, free: 12.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.04443, allocations: 94.05 kB / 0.5081 GB, free: 12.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006317/0.04506, allocations: 0.7895 MB / 0.5089 GB, free: 11.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.925e-05/0.04513, allocations: 45.7 kB / 0.5089 GB, free: 11.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.04546, allocations: 0.5817 MB / 0.5095 GB, free: 10.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.04573, allocations: 408.4 kB / 0.5099 GB, free: 10.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.04594, allocations: 208.5 kB / 0.5101 GB, free: 10.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.04607, allocations: 0.5198 MB / 0.5106 GB, free: 9.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.04629, allocations: 158.5 kB / 0.5107 GB, free: 9.617 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.04662, allocations: 423.1 kB / 0.5111 GB, free: 9.109 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008475/0.04747, allocations: 0.6756 MB / 0.5118 GB, free: 8.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.04747, allocations: 4 kB / 0.5118 GB, free: 8.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001367/0.04884, allocations: 1.068 MB / 0.5128 GB, free: 7.227 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.04886, allocations: 8 kB / 0.5128 GB, free: 7.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000555/0.04941, allocations: 448 kB / 0.5133 GB, free: 6.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007425/0.05016, allocations: 345.2 kB / 0.5136 GB, free: 6.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.05059, allocations: 203.6 kB / 0.5138 GB, free: 6.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.05731, allocations: 14.85 MB / 0.5283 GB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.05797, allocations: 35.98 kB / 0.5283 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/0.05804, allocations: 43.97 kB / 0.5284 GB, free: 6.359 MB / 458.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (115): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004163/0.05846, allocations: 224.3 kB / 0.5286 GB, free: 6.129 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.05872, allocations: 175.1 kB / 0.5288 GB, free: 5.957 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.06051, allocations: 1.171 MB / 0.5299 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.06052, allocations: 12 kB / 0.5299 GB, free: 4.715 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.06053, allocations: 4 kB / 0.5299 GB, free: 4.711 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.06054, allocations: 7.969 kB / 0.5299 GB, free: 4.703 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.06292, allocations: 1.891 MB / 0.5318 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005377/0.06346, allocations: 464.4 kB / 0.5322 GB, free: 2.262 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.06384, allocations: 163.8 kB / 0.5324 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007429/0.06459, allocations: 381.2 kB / 0.5327 GB, free: 1.695 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/0.06464, allocations: 31.98 kB / 0.5328 GB, free: 1.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006442/0.07108, allocations: 14.83 MB / 0.5472 GB, free: 1.914 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.07109, allocations: 4 kB / 0.5472 GB, free: 1.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.07293, allocations: 1.477 MB / 0.5487 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.07329, allocations: 207 kB / 0.5489 GB, free: 172 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.0734, allocations: 28 kB / 0.5489 GB, free: 144 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.07376, allocations: 39.97 kB / 0.549 GB, free: 104 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.07392, allocations: 100.8 kB / 0.549 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.07399, allocations: 36.06 kB / 0.5491 GB, free: 15.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003669/0.07436, allocations: 489.6 kB / 0.5496 GB, free: 15.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.07436, allocations: 0 / 0.5496 GB, free: 15.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000996/0.07535, allocations: 395.8 kB / 0.5499 GB, free: 15.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.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 (90): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,6,100.0%), (1,4,100.0%), (1,1,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005192/0.07587, allocations: 186.9 kB / 0.5501 GB, free: 14.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.07743, allocations: 2.054 MB / 0.5521 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.07744, allocations: 0 / 0.5521 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.07853, allocations: 1.807 MB / 0.5539 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.07981, allocations: 0.5266 MB / 0.5544 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.08301, allocations: 2.398 MB / 0.5567 GB, free: 7.801 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.08346, allocations: 236.2 kB / 0.557 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005794/0.08404, allocations: 209.2 kB / 0.5572 GB, free: 7.336 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007206/0.08476, allocations: 0.4939 MB / 0.5576 GB, free: 6.84 MB / 490.7 MB Notification: Performance of SimCode: time 2.084e-06/0.08476, allocations: 0 / 0.5576 GB, free: 6.84 MB / 490.7 MB Notification: Performance of Templates: time 0.03264/0.1174, allocations: 27.51 MB / 0.5845 GB, free: 11.89 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_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: 4.322542584966868]