Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.00139/0.00139, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001637/0.001637, 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.9716/0.9716, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.6784/0.6784, allocations: 118.6 MB / 378.9 MB, free: 1.512 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.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.77e-05, allocations: 3.188 kB / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01595/0.01598, allocations: 19.16 MB / 0.491 GB, free: 11.5 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00592/0.0219, allocations: 6.19 MB / 0.497 GB, free: 6.934 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005047/0.0224, allocations: 39.62 kB / 0.4971 GB, free: 6.895 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006455/0.02305, allocations: 270 kB / 0.4973 GB, free: 6.699 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.02434, allocations: 0.5977 MB / 0.4979 GB, free: 6.215 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007715/0.02511, allocations: 385.2 kB / 0.4983 GB, free: 5.934 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009441/0.02606, allocations: 0.9179 MB / 0.4992 GB, free: 5.094 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.02626, allocations: 91 kB / 0.4993 GB, free: 5.004 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007006/0.02696, allocations: 0.5083 MB / 0.4998 GB, free: 4.598 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.02724, allocations: 238.1 kB / 0.5 GB, free: 4.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.0273, allocations: 40 kB / 0.5 GB, free: 4.371 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.0279, allocations: 338.3 kB / 0.5003 GB, free: 4.066 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.02801, allocations: 116.2 kB / 0.5005 GB, free: 3.969 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.02823, allocations: 207.7 kB / 0.5007 GB, free: 3.781 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.02941, allocations: 0.7332 MB / 0.5014 GB, free: 3.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.02942, allocations: 0 / 0.5014 GB, free: 3.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02942, allocations: 0 / 0.5014 GB, free: 3.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.02943, allocations: 0 / 0.5014 GB, free: 3.16 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.001368/0.0308, allocations: 1.054 MB / 0.5024 GB, free: 2.086 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.03084, allocations: 12.03 kB / 0.5024 GB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.03112, allocations: 124.4 kB / 0.5025 GB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006853/0.03181, allocations: 0.532 MB / 0.5031 GB, free: 1.391 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.03183, allocations: 29.38 kB / 0.5031 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/0.03189, allocations: 44.38 kB / 0.5031 GB, free: 1.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.03237, allocations: 363.4 kB / 0.5035 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.03239, allocations: 3.938 kB / 0.5035 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.03242, allocations: 16 kB / 0.5035 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.03243, allocations: 12 kB / 0.5035 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.03277, allocations: 217.8 kB / 0.5037 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.0344, allocations: 1.663 MB / 0.5053 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.03485, allocations: 338.3 kB / 0.5057 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.03498, allocations: 115 kB / 0.5058 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007986/0.03578, allocations: 0.815 MB / 0.5066 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.03581, allocations: 45.39 kB / 0.5066 GB, free: 13.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 1.804e-06/0.03581, allocations: 0 / 0.5066 GB, free: 13.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.001264/0.03708, allocations: 0.574 MB / 0.5072 GB, free: 13.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.03711, allocations: 81.11 kB / 0.5072 GB, free: 12.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.0375, allocations: 0.5142 MB / 0.5077 GB, free: 12.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.03752, allocations: 33.7 kB / 0.5078 GB, free: 12.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.0377, allocations: 371.2 kB / 0.5081 GB, free: 11.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.03777, allocations: 134.8 kB / 0.5083 GB, free: 11.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.03785, allocations: 83.8 kB / 0.5083 GB, free: 11.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.03799, allocations: 0.5391 MB / 0.5089 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.589e-05/0.03809, allocations: 56.97 kB / 0.5089 GB, free: 11.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.03824, allocations: 177.5 kB / 0.5091 GB, free: 10.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.03851, allocations: 280.2 kB / 0.5094 GB, free: 10.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.03852, 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.0005327/0.03905, allocations: 435.8 kB / 0.5098 GB, free: 10.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.03907, allocations: 10.81 kB / 0.5098 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.03907, allocations: 8.25 kB / 0.5098 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/0.03964, allocations: 179.2 kB / 0.51 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.0398, allocations: 71.91 kB / 0.51 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.04102, allocations: 2.661 MB / 0.5126 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.04114, allocations: 35.73 kB / 0.5127 GB, free: 7.039 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.04117, allocations: 19.98 kB / 0.5127 GB, free: 7.02 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.0001314/0.0413, allocations: 180.5 kB / 0.5129 GB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.04138, allocations: 71.62 kB / 0.5129 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/0.04194, allocations: 448.3 kB / 0.5134 GB, free: 6.312 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.04194, allocations: 4 kB / 0.5134 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.04195, allocations: 4 kB / 0.5134 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.04195, allocations: 0 / 0.5134 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.04298, allocations: 0.8777 MB / 0.5142 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.04298, allocations: 0 / 0.5142 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.04309, allocations: 43.98 kB / 0.5143 GB, free: 5.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.04356, allocations: 171.3 kB / 0.5144 GB, free: 5.152 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.04358, allocations: 15.98 kB / 0.5144 GB, free: 5.137 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.0447, allocations: 2.657 MB / 0.517 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0447, allocations: 0 / 0.517 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.04538, allocations: 0.7057 MB / 0.5177 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.04548, allocations: 91.41 kB / 0.5178 GB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.04551, allocations: 19.88 kB / 0.5178 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.04564, allocations: 8 kB / 0.5178 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.04569, allocations: 27.94 kB / 0.5179 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.0457, allocations: 8 kB / 0.5179 GB, free: 1.426 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002306/0.04593, allocations: 350.8 kB / 0.5182 GB, free: 1.086 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04594, allocations: 0 / 0.5182 GB, free: 1.086 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004132/0.04635, allocations: 199.6 kB / 0.5184 GB, free: 0.8906 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.0003169/0.04667, allocations: 286.2 kB / 0.5187 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.04717, allocations: 410.8 kB / 0.5191 GB, free: 188 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.04718, allocations: 4.188 kB / 0.5191 GB, free: 184 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.04762, allocations: 313.2 kB / 0.5194 GB, free: 15.85 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.04824, allocations: 202.2 kB / 0.5196 GB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.04971, allocations: 1.047 MB / 0.5206 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.548e-05/0.0498, allocations: 129.8 kB / 0.5207 GB, free: 14.42 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.04998, allocations: 89 kB / 0.5208 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.05005, allocations: 48.48 kB / 0.5208 GB, free: 14.3 MB / 458.7 MB Notification: Performance of SimCode: time 9.52e-07/0.05005, allocations: 0 / 0.5208 GB, free: 14.3 MB / 458.7 MB Notification: Performance of Templates: time 0.01223/0.06228, allocations: 10.34 MB / 0.5309 GB, free: 4.16 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.936526064062491]