Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0009065/0.0009065, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009863/0.0009863, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9402/0.9402, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.6417/0.6417, allocations: 118.6 MB / 378.6 MB, free: 1.516 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.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_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_ThermofluidStream.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.278e-05, allocations: 2.312 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.01029/0.01032, allocations: 10.44 MB / 494.1 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005901/0.01622, allocations: 3.101 MB / 497.2 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009606/0.01718, allocations: 62.09 kB / 497.2 MB, free: 15 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006288/0.01781, allocations: 259.7 kB / 497.5 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.01981, allocations: 1.022 MB / 498.5 MB, free: 14.17 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.02105, allocations: 0.6228 MB / 499.1 MB, free: 13.85 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002544/0.02359, allocations: 2.286 MB / 0.4897 GB, free: 12.68 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.02398, allocations: 148.5 kB / 0.4898 GB, free: 12.6 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.02606, allocations: 1.218 MB / 0.491 GB, free: 12.12 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009254/0.02699, allocations: 0.616 MB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.02719, allocations: 97.81 kB / 0.4917 GB, free: 11.9 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007243/0.02792, allocations: 334.3 kB / 0.492 GB, free: 11.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.02814, allocations: 287.7 kB / 0.4923 GB, free: 11.38 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.02863, allocations: 483.1 kB / 0.4927 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.03012, allocations: 1.337 MB / 0.494 GB, free: 9.844 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.03012, allocations: 0 / 0.494 GB, free: 9.844 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.03013, allocations: 0 / 0.494 GB, free: 9.844 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.315e-05/0.03015, allocations: 0.7031 kB / 0.494 GB, free: 9.844 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.002179/0.03233, allocations: 1.767 MB / 0.4958 GB, free: 8.207 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.03236, allocations: 8.031 kB / 0.4958 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005839/0.03294, allocations: 313.3 kB / 0.4961 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.03404, allocations: 0.8937 MB / 0.4969 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.821e-05/0.03413, allocations: 123.3 kB / 0.4971 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.03424, allocations: 97.73 kB / 0.4972 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.03539, allocations: 1.181 MB / 0.4983 GB, free: 5.719 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.0354, allocations: 3.984 kB / 0.4983 GB, free: 5.715 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.03546, allocations: 40 kB / 0.4984 GB, free: 5.676 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.03548, allocations: 20.8 kB / 0.4984 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.0362, allocations: 490.8 kB / 0.4988 GB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.03951, allocations: 3.748 MB / 0.5025 GB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.04062, allocations: 0.7685 MB / 0.5033 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.04095, allocations: 269.5 kB / 0.5035 GB, free: 328 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.04238, allocations: 1.324 MB / 0.5048 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.04241, allocations: 45.89 kB / 0.5048 GB, free: 14.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=99): time 1.943e-06/0.04241, allocations: 8 kB / 0.5049 GB, free: 14.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.004658/0.04707, allocations: 3.073 MB / 0.5079 GB, free: 11.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.04711, allocations: 90.11 kB / 0.5079 GB, free: 11.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/0.04777, allocations: 0.8096 MB / 0.5087 GB, free: 10.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.04782, allocations: 45.7 kB / 0.5088 GB, free: 10.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.0481, allocations: 0.574 MB / 0.5093 GB, free: 10.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.04831, allocations: 408.5 kB / 0.5097 GB, free: 9.754 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.04852, allocations: 200.5 kB / 0.5099 GB, free: 9.547 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.04865, allocations: 0.516 MB / 0.5104 GB, free: 9.023 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.04898, allocations: 202.5 kB / 0.5106 GB, free: 8.828 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.04943, allocations: 475.1 kB / 0.5111 GB, free: 8.27 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.0009092/0.05034, allocations: 0.761 MB / 0.5118 GB, free: 7.414 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.05034, allocations: 4 kB / 0.5118 GB, free: 7.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001595/0.05194, allocations: 1.173 MB / 0.513 GB, free: 6.195 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.05195, allocations: 7.984 kB / 0.513 GB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007025/0.05265, allocations: 0.4964 MB / 0.5135 GB, free: 5.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007749/0.05343, allocations: 353.1 kB / 0.5138 GB, free: 5.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.05386, allocations: 203.7 kB / 0.514 GB, free: 5.102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006312/0.06017, allocations: 15.07 MB / 0.5287 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.06056, allocations: 36 kB / 0.5287 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/0.06062, allocations: 47.97 kB / 0.5288 GB, free: 4.969 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.0002748/0.0609, allocations: 224.4 kB / 0.529 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.0611, allocations: 167.1 kB / 0.5292 GB, free: 4.574 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.0628, allocations: 1.265 MB / 0.5304 GB, free: 3.258 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.06281, allocations: 12 kB / 0.5304 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.06282, allocations: 4 kB / 0.5304 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.06283, allocations: 7.969 kB / 0.5304 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.06538, allocations: 2.09 MB / 0.5325 GB, free: 1.062 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0009091/0.06629, allocations: 0.5042 MB / 0.5329 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.06672, allocations: 171.8 kB / 0.5331 GB, free: 376 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007791/0.0675, allocations: 377.1 kB / 0.5335 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.06757, allocations: 31.98 kB / 0.5335 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006019/0.07358, allocations: 15.05 MB / 0.5482 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.07359, allocations: 7.875 kB / 0.5482 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.07552, allocations: 1.61 MB / 0.5498 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.0758, allocations: 207 kB / 0.55 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/0.07589, allocations: 28 kB / 0.55 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.07623, allocations: 35.98 kB / 0.55 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.07639, allocations: 96.97 kB / 0.5501 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.07645, allocations: 43.91 kB / 0.5502 GB, free: 13.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004414/0.07689, allocations: 0.5256 MB / 0.5507 GB, free: 13.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07689, allocations: 0 / 0.5507 GB, free: 13.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009344/0.07782, allocations: 387.8 kB / 0.5511 GB, free: 12.91 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.0002846/0.07811, allocations: 200.7 kB / 0.5512 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.07989, allocations: 2.14 MB / 0.5533 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.0799, allocations: 0 / 0.5533 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.08116, allocations: 1.835 MB / 0.5551 GB, free: 8.438 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.08244, allocations: 0.5198 MB / 0.5556 GB, free: 7.934 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.08597, allocations: 2.432 MB / 0.558 GB, free: 5.453 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.08615, allocations: 228.2 kB / 0.5582 GB, free: 5.207 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005084/0.08666, allocations: 217.2 kB / 0.5584 GB, free: 4.992 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.08686, allocations: 112.5 kB / 0.5585 GB, free: 4.883 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.08686, allocations: 0 / 0.5585 GB, free: 4.883 MB / 490.7 MB Notification: Performance of Templates: time 0.02722/0.1141, allocations: 24.86 MB / 0.5828 GB, free: 12.54 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.1691962061449885]