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.0009416/0.0009416, allocations: 80.75 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.0009385/0.0009385, 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.908/0.908, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.645/0.645, allocations: 118.6 MB / 378.9 MB, free: 1.324 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 1.923e-06/1.923e-06, allocations: 0 / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.411e-05, allocations: 2.312 kB / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.01299/0.01302, allocations: 10.36 MB / 441.2 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1847/0.1978, allocations: 3.167 MB / 444.3 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.1989, allocations: 68.88 kB / 444.4 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000642/0.1995, allocations: 250.5 kB / 444.7 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.2015, allocations: 1.034 MB / 445.7 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.2028, allocations: 0.6293 MB / 446.3 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.2052, allocations: 2.271 MB / 448.6 MB, free: 15.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.2056, allocations: 162 kB / 448.7 MB, free: 15.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.2075, allocations: 1.219 MB / 450 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008708/0.2083, allocations: 0.6059 MB / 450.6 MB, free: 15.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000263/0.2086, allocations: 94.78 kB / 450.7 MB, free: 15.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008114/0.2094, allocations: 325.2 kB / 451 MB, free: 15.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.2096, allocations: 282 kB / 451.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005905/0.2102, allocations: 477 kB / 451.7 MB, free: 15.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.2119, allocations: 1.324 MB / 453 MB, free: 14.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2119, allocations: 4.75 kB / 453 MB, free: 14.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2119, allocations: 0 / 453 MB, free: 14.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.097e-05/0.2119, allocations: 1.938 kB / 453.1 MB, free: 14.82 MB / 410.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.002018/0.2139, allocations: 1.63 MB / 454.7 MB, free: 14.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2139, allocations: 9.531 kB / 454.7 MB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005772/0.2145, allocations: 257.2 kB / 454.9 MB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.2156, allocations: 0.7803 MB / 455.7 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/0.2157, allocations: 123 kB / 455.8 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.2158, allocations: 99.33 kB / 455.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.2165, allocations: 1.08 MB / 457 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2165, allocations: 7.156 kB / 457 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.2166, allocations: 43.92 kB / 457.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.2166, allocations: 21.72 kB / 457.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.217, allocations: 360 kB / 457.4 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.2196, allocations: 2.639 MB / 460.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.2204, allocations: 0.6369 MB / 460.7 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.2206, allocations: 193.8 kB / 460.9 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.2217, allocations: 0.9879 MB / 461.9 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.2218, allocations: 55.42 kB / 461.9 MB, free: 9.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 2.756e-06/0.2218, allocations: 0 / 461.9 MB, free: 9.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.003664/0.2254, allocations: 2.456 MB / 464.4 MB, free: 7.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.2255, allocations: 90.11 kB / 464.5 MB, free: 7.363 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.2258, allocations: 0.7338 MB / 465.2 MB, free: 6.746 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.2259, allocations: 45.7 kB / 465.3 MB, free: 6.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.226, allocations: 383.5 kB / 465.6 MB, free: 6.355 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.2261, allocations: 410 kB / 466 MB, free: 5.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.2263, allocations: 194.2 kB / 466.2 MB, free: 5.805 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.2263, allocations: 352.6 kB / 466.6 MB, free: 5.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.2265, allocations: 130.5 kB / 466.7 MB, free: 5.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.2267, allocations: 347.1 kB / 467 MB, free: 4.965 MB / 410.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.0004815/0.2272, allocations: 0.5894 MB / 467.6 MB, free: 4.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.2272, allocations: 8.031 kB / 467.6 MB, free: 4.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0009354/0.2281, allocations: 0.8306 MB / 468.5 MB, free: 3.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2281, allocations: 8 kB / 468.5 MB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003696/0.2285, allocations: 336.8 kB / 468.8 MB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.2291, allocations: 314.9 kB / 469.1 MB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.2295, allocations: 196.9 kB / 469.3 MB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/0.234, allocations: 10.17 MB / 479.5 MB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.2345, allocations: 40.05 kB / 479.5 MB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.2346, allocations: 39.98 kB / 479.6 MB, free: 7.887 MB / 426.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.0002982/0.2349, allocations: 181.6 kB / 479.7 MB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.2351, allocations: 111.9 kB / 479.8 MB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.2363, allocations: 0.9828 MB / 480.8 MB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.2364, allocations: 21.33 kB / 480.8 MB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2364, allocations: 4 kB / 480.9 MB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2364, allocations: 3.984 kB / 480.9 MB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.2384, allocations: 1.449 MB / 482.3 MB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004257/0.2388, allocations: 356.6 kB / 482.7 MB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.2392, allocations: 171.8 kB / 482.8 MB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007116/0.2399, allocations: 339.2 kB / 483.2 MB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/0.2399, allocations: 31.97 kB / 483.2 MB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004805/0.2447, allocations: 10.16 MB / 493.3 MB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2447, allocations: 320 / 493.3 MB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.2462, allocations: 1.164 MB / 494.5 MB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.2465, allocations: 131.9 kB / 494.6 MB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.2466, allocations: 28 kB / 494.7 MB, free: 8.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.2469, allocations: 35.98 kB / 494.7 MB, free: 8.121 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.2471, allocations: 100.8 kB / 494.8 MB, free: 8.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.2472, allocations: 32.77 kB / 494.8 MB, free: 7.988 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002904/0.2474, allocations: 376.6 kB / 495.2 MB, free: 7.652 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2474, allocations: 4 kB / 495.2 MB, free: 7.648 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009746/0.2484, allocations: 387.9 kB / 495.6 MB, free: 7.27 MB / 442.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.0002685/0.2487, allocations: 183.7 kB / 495.8 MB, free: 7.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.25, allocations: 1.561 MB / 497.3 MB, free: 5.461 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/0.25, allocations: 12 kB / 497.3 MB, free: 5.449 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.2511, allocations: 1.331 MB / 498.7 MB, free: 4.023 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.2524, allocations: 0.5146 MB / 499.2 MB, free: 3.535 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.2556, allocations: 2.263 MB / 0.4897 GB, free: 1.266 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.2558, allocations: 232.2 kB / 0.4899 GB, free: 1.016 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006082/0.2564, allocations: 204.6 kB / 0.4901 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007121/0.2571, allocations: 433 kB / 0.4905 GB, free: 408 kB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2571, allocations: 4 kB / 0.4905 GB, free: 404 kB / 442.7 MB Notification: Performance of Templates: time 0.03072/0.2878, allocations: 26.92 MB / 0.5168 GB, free: 6.129 MB / 474.7 MB " [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.165743786841631]