Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.001072/0.001072, 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.001273/0.001273, allocations: 165 kB / 23.02 MB, free: 1.555 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.9581/0.9581, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.6549/0.6549, allocations: 118.6 MB / 378.6 MB, free: 1.527 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.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.773e-05, allocations: 9.094 kB / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.005695/0.005713, allocations: 7.154 MB / 490.8 MB, free: 3.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.007784, allocations: 2.103 MB / 492.9 MB, free: 2.008 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.008068, allocations: 38.12 kB / 492.9 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.008405, allocations: 131.6 kB / 493 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008662/0.009271, allocations: 0.4971 MB / 493.5 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.009641, allocations: 236 kB / 493.8 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.01032, allocations: 0.9202 MB / 494.7 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.01049, allocations: 92.52 kB / 494.8 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006223/0.01111, allocations: 0.5077 MB / 495.3 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.01142, allocations: 240.9 kB / 495.5 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.01149, allocations: 38.75 kB / 495.5 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.01179, allocations: 157.2 kB / 495.7 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.01188, allocations: 117.6 kB / 495.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.01205, allocations: 205.2 kB / 496 MB, free: 440 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007681/0.01282, allocations: 0.6192 MB / 496.6 MB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01282, allocations: 0 / 496.6 MB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01282, allocations: 3.938 kB / 496.6 MB, free: 148 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.01284, allocations: 0 / 496.6 MB, free: 148 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001318/0.01416, allocations: 1.02 MB / 497.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.0142, allocations: 10.03 kB / 497.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.01446, allocations: 134 kB / 497.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/0.01513, allocations: 0.5321 MB / 498.3 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.01516, allocations: 30.53 kB / 498.4 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.01523, allocations: 44.64 kB / 498.4 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.01575, allocations: 366 kB / 498.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.01577, allocations: 4.969 kB / 498.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.01579, allocations: 15.56 kB / 498.8 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.01581, allocations: 11.56 kB / 498.8 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.01616, allocations: 213.9 kB / 499 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.01784, allocations: 1.671 MB / 0.4889 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.0183, allocations: 341.8 kB / 0.4893 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.01845, allocations: 122.1 kB / 0.4894 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008435/0.0193, allocations: 0.7837 MB / 0.4901 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.01932, allocations: 44.42 kB / 0.4902 GB, free: 12.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.383e-06/0.01932, allocations: 0 / 0.4902 GB, free: 12.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001349/0.02067, allocations: 0.5553 MB / 0.4907 GB, free: 12.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.02071, allocations: 81.11 kB / 0.4908 GB, free: 12.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.02111, allocations: 0.5178 MB / 0.4913 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.02113, allocations: 33.7 kB / 0.4913 GB, free: 11.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.02131, allocations: 370 kB / 0.4917 GB, free: 11.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/0.02138, allocations: 132.5 kB / 0.4918 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-05/0.02147, allocations: 78.39 kB / 0.4919 GB, free: 11.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.02164, allocations: 0.5422 MB / 0.4924 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.02174, allocations: 59.22 kB / 0.4925 GB, free: 10.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.02189, allocations: 181.8 kB / 0.4927 GB, free: 10.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.02217, allocations: 266 kB / 0.4929 GB, free: 10.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.02217, allocations: 0 / 0.4929 GB, free: 10.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005457/0.02272, allocations: 427.2 kB / 0.4933 GB, free: 9.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.02273, allocations: 4 kB / 0.4933 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.02274, allocations: 4.312 kB / 0.4933 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/0.02332, allocations: 168.3 kB / 0.4935 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.02347, allocations: 67.95 kB / 0.4936 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.02468, allocations: 2.671 MB / 0.4962 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.02482, allocations: 32.39 kB / 0.4962 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.02484, allocations: 20.56 kB / 0.4962 GB, free: 6.793 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.02497, allocations: 177.6 kB / 0.4964 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.02504, allocations: 71.62 kB / 0.4964 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/0.02557, allocations: 424 kB / 0.4969 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.02558, allocations: 4 kB / 0.4969 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.02558, allocations: 0.75 kB / 0.4969 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.02559, allocations: 5.359 kB / 0.4969 GB, free: 6.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.02667, allocations: 0.8804 MB / 0.4977 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.02667, allocations: 0 / 0.4977 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.02678, allocations: 37.34 kB / 0.4978 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004941/0.02727, allocations: 174.9 kB / 0.4979 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.0273, allocations: 13.08 kB / 0.4979 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.02836, allocations: 2.663 MB / 0.5005 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.02836, allocations: 4 kB / 0.5005 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.02908, allocations: 0.6975 MB / 0.5012 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.02919, allocations: 86.67 kB / 0.5013 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.02922, allocations: 11.94 kB / 0.5013 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.02935, allocations: 8.844 kB / 0.5013 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.0294, allocations: 29.3 kB / 0.5014 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.02942, allocations: 16.73 kB / 0.5014 GB, free: 1.586 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002615/0.02968, allocations: 356.2 kB / 0.5017 GB, free: 1.289 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02968, allocations: 8 kB / 0.5017 GB, free: 1.281 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.03005, allocations: 156.9 kB / 0.5019 GB, free: 1.129 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * 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 (25): * Single equations (assignments): 23 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001905/0.03024, allocations: 157.6 kB / 0.502 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005048/0.03074, allocations: 411.9 kB / 0.5024 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.03074, allocations: 0.625 kB / 0.5024 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.031, allocations: 299.4 kB / 0.5027 GB, free: 304 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.03162, allocations: 193.9 kB / 0.5029 GB, free: 156 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.03308, allocations: 1.061 MB / 0.5039 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.483e-05/0.03317, allocations: 125 kB / 0.504 GB, free: 15 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.03335, allocations: 74.34 kB / 0.5041 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.03342, allocations: 52.67 kB / 0.5042 GB, free: 14.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.133e-06/0.03342, allocations: 0 / 0.5042 GB, free: 14.9 MB / 442.7 MB Notification: Performance of Templates: time 0.01029/0.04371, allocations: 8.505 MB / 0.5125 GB, free: 6.801 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_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.984745818655938]