Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.001301/0.001301, allocations: 73.09 kB / 20.65 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.00145/0.00145, allocations: 169 kB / 24.06 MB, free: 452 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.9706/0.9706, allocations: 177.1 MB / 204.5 MB, free: 5.465 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.6633/0.6633, allocations: 118.6 MB / 379.7 MB, free: 1.305 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.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 1.125 kB / 484.8 MB, free: 8.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.344e-05, allocations: 2.312 kB / 484.8 MB, free: 8.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.007032/0.007046, allocations: 10.83 MB / 495.7 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.01015, allocations: 2.472 MB / 498.1 MB, free: 14.98 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005078/0.01066, allocations: 64.66 kB / 498.2 MB, free: 14.94 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.01127, allocations: 277.5 kB / 498.5 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.01295, allocations: 1.072 MB / 499.5 MB, free: 14.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000954/0.0139, allocations: 0.5632 MB / 0.4884 GB, free: 13.77 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002133/0.01604, allocations: 2.396 MB / 0.4907 GB, free: 12.55 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.01634, allocations: 173.8 kB / 0.4909 GB, free: 12.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.018, allocations: 1.295 MB / 0.4922 GB, free: 11.95 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008379/0.01884, allocations: 0.6643 MB / 0.4928 GB, free: 11.72 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.01898, allocations: 100 kB / 0.4929 GB, free: 11.62 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.0195, allocations: 264.3 kB / 0.4932 GB, free: 11.39 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.01974, allocations: 280.7 kB / 0.4934 GB, free: 11.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005119/0.02025, allocations: 492.5 kB / 0.4939 GB, free: 10.72 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.02165, allocations: 1.265 MB / 0.4951 GB, free: 9.652 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.02165, allocations: 3.938 kB / 0.4951 GB, free: 9.648 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.02165, allocations: 4 kB / 0.4951 GB, free: 9.645 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.02166, allocations: 0 / 0.4951 GB, free: 9.645 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.00226/0.02392, allocations: 1.731 MB / 0.4968 GB, free: 8.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.02395, allocations: 8.031 kB / 0.4968 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/0.02454, allocations: 314.4 kB / 0.4971 GB, free: 7.734 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.0258, allocations: 0.8784 MB / 0.498 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.02586, allocations: 75.12 kB / 0.4981 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.026, allocations: 105 kB / 0.4982 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.02712, allocations: 1 MB / 0.4991 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.02714, allocations: 4.172 kB / 0.4991 GB, free: 5.832 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.02722, allocations: 47.88 kB / 0.4992 GB, free: 5.785 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.02724, allocations: 20 kB / 0.4992 GB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.02785, allocations: 414.6 kB / 0.4996 GB, free: 5.398 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.03143, allocations: 3.342 MB / 0.5029 GB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.03297, allocations: 0.7336 MB / 0.5036 GB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.03329, allocations: 250.8 kB / 0.5038 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001763/0.03506, allocations: 1.356 MB / 0.5051 GB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.03509, allocations: 50.05 kB / 0.5052 GB, free: 15.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 2.695e-06/0.03509, allocations: 0 / 0.5052 GB, free: 15.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.004887/0.03998, allocations: 2.632 MB / 0.5078 GB, free: 12.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.04002, allocations: 90.27 kB / 0.5079 GB, free: 12.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/0.04064, allocations: 0.7466 MB / 0.5086 GB, free: 11.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.04071, allocations: 45.7 kB / 0.5086 GB, free: 11.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.04103, allocations: 0.5546 MB / 0.5092 GB, free: 11.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.04131, allocations: 452.1 kB / 0.5096 GB, free: 10.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.04158, allocations: 208.5 kB / 0.5098 GB, free: 10.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003889/0.04196, allocations: 0.5237 MB / 0.5103 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.04224, allocations: 158.5 kB / 0.5105 GB, free: 9.957 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.04265, allocations: 415.4 kB / 0.5109 GB, free: 9.457 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/0.04345, allocations: 0.6797 MB / 0.5115 GB, free: 8.691 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.04345, allocations: 0 / 0.5115 GB, free: 8.691 MB / 442.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001599/0.04505, allocations: 1.055 MB / 0.5125 GB, free: 7.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.04507, allocations: 8 kB / 0.5126 GB, free: 7.582 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.04508, allocations: 7.984 kB / 0.5126 GB, free: 7.574 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/0.04584, allocations: 317.6 kB / 0.5129 GB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.04645, allocations: 223.7 kB / 0.5131 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00703/0.05348, allocations: 14.42 MB / 0.5272 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.0539, allocations: 43.97 kB / 0.5272 GB, free: 7.637 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.05398, allocations: 40 kB / 0.5272 GB, free: 7.598 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (126): * Single equations (assignments): 118 * 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%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.05424, allocations: 228.3 kB / 0.5275 GB, free: 7.363 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.05447, allocations: 163.2 kB / 0.5276 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.05647, allocations: 1.378 MB / 0.529 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.05648, allocations: 12 kB / 0.529 GB, free: 5.754 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.05649, allocations: 0 / 0.529 GB, free: 5.754 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.0565, allocations: 15.97 kB / 0.529 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.05919, allocations: 1.99 MB / 0.5309 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.05919, allocations: 4 kB / 0.5309 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007992/0.05999, allocations: 183.8 kB / 0.5311 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007777/0.06077, allocations: 341.1 kB / 0.5314 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.06084, allocations: 35.97 kB / 0.5315 GB, free: 3.066 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006921/0.06776, allocations: 14.42 MB / 0.5456 GB, free: 3.734 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.06776, allocations: 7.984 kB / 0.5456 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.06965, allocations: 1.46 MB / 0.547 GB, free: 2.199 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/0.06997, allocations: 207 kB / 0.5472 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.07009, allocations: 28 kB / 0.5472 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.07055, allocations: 35.97 kB / 0.5472 GB, free: 1.934 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.07072, allocations: 109 kB / 0.5473 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/0.07078, allocations: 27.98 kB / 0.5474 GB, free: 1.801 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003896/0.07117, allocations: 488.8 kB / 0.5478 GB, free: 1.312 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07117, allocations: 4 kB / 0.5478 GB, free: 1.309 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009864/0.07216, allocations: 363.9 kB / 0.5482 GB, free: 0.9531 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,reservoir2.M,reservoir2.U_med,flowResistance4.inlet.m_flow,flowResistance5.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 (97): * Single equations (assignments): 89 * 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,2,100.0%), (1,2,100.0%), (1,2,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.0002339/0.07239, allocations: 160.9 kB / 0.5483 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.07396, allocations: 2.037 MB / 0.5503 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.07396, allocations: 0 / 0.5503 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.0752, allocations: 1.792 MB / 0.5521 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.07636, allocations: 0.4908 MB / 0.5526 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.07913, allocations: 2.409 MB / 0.5549 GB, free: 9.727 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.07927, allocations: 228.1 kB / 0.5551 GB, free: 9.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000436/0.07971, allocations: 221.2 kB / 0.5553 GB, free: 9.262 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006754/0.08039, allocations: 493.8 kB / 0.5558 GB, free: 8.777 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/0.08039, allocations: 3.938 kB / 0.5558 GB, free: 8.773 MB / 490.7 MB Notification: Performance of Templates: time 0.02683/0.1072, allocations: 26.95 MB / 0.5821 GB, free: 14.34 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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.317942309193313]