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.001009/0.001009, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001253/0.001253, allocations: 173 kB / 23.49 MB, free: 1.059 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.944/0.944, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.69/0.69, allocations: 118.7 MB / 378.9 MB, free: 1.531 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.713e-06/1.713e-06, allocations: 0 / 483.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.895e-05, allocations: 6.203 kB / 483.6 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01505/0.01508, allocations: 19.15 MB / 0.491 GB, free: 11.53 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005266/0.02035, allocations: 6.189 MB / 0.497 GB, free: 6.973 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004452/0.02079, allocations: 39.62 kB / 0.4971 GB, free: 6.934 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009219/0.02171, allocations: 265.6 kB / 0.4973 GB, free: 6.742 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.02328, allocations: 0.5971 MB / 0.4979 GB, free: 6.258 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.02408, allocations: 389.4 kB / 0.4983 GB, free: 5.973 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000798/0.02487, allocations: 0.9224 MB / 0.4992 GB, free: 5.129 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.02508, allocations: 91.06 kB / 0.4993 GB, free: 5.039 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006656/0.02574, allocations: 0.5078 MB / 0.4998 GB, free: 4.633 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.02601, allocations: 246.4 kB / 0.5 GB, free: 4.438 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.02606, allocations: 40 kB / 0.5 GB, free: 4.398 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006446/0.0267, allocations: 330.2 kB / 0.5004 GB, free: 4.102 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.02681, allocations: 116.2 kB / 0.5005 GB, free: 4.004 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.02698, allocations: 207.7 kB / 0.5007 GB, free: 3.816 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009705/0.02795, allocations: 0.7291 MB / 0.5014 GB, free: 3.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.02795, allocations: 0 / 0.5014 GB, free: 3.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.02795, allocations: 0 / 0.5014 GB, free: 3.199 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.02796, allocations: 0 / 0.5014 GB, free: 3.199 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001163/0.02912, allocations: 1.055 MB / 0.5024 GB, free: 2.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.02916, allocations: 8.031 kB / 0.5024 GB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.02941, allocations: 124.4 kB / 0.5025 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.03002, allocations: 0.532 MB / 0.5031 GB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.03004, allocations: 33.38 kB / 0.5031 GB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.03009, allocations: 44.36 kB / 0.5031 GB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.03054, allocations: 367.4 kB / 0.5035 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.03056, allocations: 7.938 kB / 0.5035 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.03058, allocations: 20 kB / 0.5035 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.03059, allocations: 8 kB / 0.5035 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.03091, allocations: 209.8 kB / 0.5037 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.03253, allocations: 1.679 MB / 0.5054 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.03298, allocations: 328.1 kB / 0.5057 GB, free: 14.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.03313, allocations: 123 kB / 0.5058 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008471/0.03398, allocations: 0.815 MB / 0.5066 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.03401, allocations: 41.39 kB / 0.5066 GB, free: 13.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 1.954e-06/0.03401, allocations: 4 kB / 0.5066 GB, free: 13.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.001358/0.03537, allocations: 0.5661 MB / 0.5072 GB, free: 13.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.03541, allocations: 85.05 kB / 0.5073 GB, free: 12.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.03581, allocations: 0.5181 MB / 0.5078 GB, free: 12.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.03583, allocations: 33.7 kB / 0.5078 GB, free: 12.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.03601, allocations: 363.2 kB / 0.5081 GB, free: 11.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.03608, allocations: 138.9 kB / 0.5083 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.03619, allocations: 91.8 kB / 0.5084 GB, free: 11.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.03634, allocations: 0.5352 MB / 0.5089 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.03644, allocations: 60.95 kB / 0.5089 GB, free: 11.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.0366, allocations: 181.5 kB / 0.5091 GB, free: 10.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.03688, allocations: 280.2 kB / 0.5094 GB, free: 10.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.03689, allocations: 3.938 kB / 0.5094 GB, free: 10.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005723/0.03746, allocations: 428.1 kB / 0.5098 GB, free: 10.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.03748, allocations: 11.94 kB / 0.5098 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.03748, allocations: 0 / 0.5098 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008139/0.0383, allocations: 167.3 kB / 0.51 GB, free: 9.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.03846, allocations: 71.91 kB / 0.51 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.03972, allocations: 2.669 MB / 0.5126 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.03987, allocations: 35.73 kB / 0.5127 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.03989, allocations: 23.98 kB / 0.5127 GB, free: 7.035 MB / 442.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 (42): * Single equations (assignments): 40 * 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.0001592/0.04005, allocations: 176.6 kB / 0.5129 GB, free: 6.852 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.04013, allocations: 75.67 kB / 0.5129 GB, free: 6.777 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005438/0.04068, allocations: 448.4 kB / 0.5134 GB, free: 6.328 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.04068, allocations: 4 kB / 0.5134 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.04068, allocations: 4 kB / 0.5134 GB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.04069, allocations: 0 / 0.5134 GB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.0418, allocations: 0.8739 MB / 0.5142 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.0418, allocations: 4 kB / 0.5142 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.04192, allocations: 47.92 kB / 0.5143 GB, free: 5.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004852/0.0424, allocations: 167.3 kB / 0.5144 GB, free: 5.168 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.04243, allocations: 12 kB / 0.5144 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.04351, allocations: 2.657 MB / 0.517 GB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.04351, allocations: 0 / 0.517 GB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007062/0.04422, allocations: 0.7097 MB / 0.5177 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.04434, allocations: 95.39 kB / 0.5178 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.04437, allocations: 11.94 kB / 0.5178 GB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.0445, allocations: 8 kB / 0.5178 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.04456, allocations: 35.88 kB / 0.5179 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.04458, allocations: 12 kB / 0.5179 GB, free: 1.434 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000255/0.04483, allocations: 358.7 kB / 0.5182 GB, free: 1.086 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04483, allocations: 0 / 0.5182 GB, free: 1.086 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004867/0.04532, allocations: 191.6 kB / 0.5184 GB, free: 0.8984 MB / 442.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 (27): * Single equations (assignments): 25 * 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.0003483/0.04567, allocations: 266.2 kB / 0.5187 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005743/0.04624, allocations: 426.3 kB / 0.5191 GB, free: 196 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.04625, allocations: 0 / 0.5191 GB, free: 196 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.04653, allocations: 313.2 kB / 0.5194 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006617/0.04719, allocations: 211.6 kB / 0.5196 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.04888, allocations: 1.039 MB / 0.5206 GB, free: 14.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.314e-05/0.04897, allocations: 125.8 kB / 0.5207 GB, free: 14.44 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.04919, allocations: 83.34 kB / 0.5208 GB, free: 14.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.04926, allocations: 52.48 kB / 0.5208 GB, free: 14.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/0.04926, allocations: 0 / 0.5208 GB, free: 14.32 MB / 458.7 MB Notification: Performance of Templates: time 0.01236/0.06163, allocations: 10.34 MB / 0.5309 GB, free: 4.191 MB / 458.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.915789457038045]