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.001097/0.001097, 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.0012/0.0012, 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 1.078/1.078, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.8127/0.8127, allocations: 118.6 MB / 378.6 MB, free: 1.508 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.074e-06/2.074e-06, allocations: 0 / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.523e-05, allocations: 5.266 kB / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.009397/0.009432, allocations: 7.168 MB / 490.8 MB, free: 3.414 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004423/0.01386, allocations: 2.093 MB / 492.9 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.015, allocations: 39.38 kB / 492.9 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006621/0.01566, allocations: 134.8 kB / 493 MB, free: 1.879 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.01793, allocations: 0.4956 MB / 493.5 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.01889, allocations: 235.9 kB / 493.8 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.02059, allocations: 0.9131 MB / 494.7 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.02093, allocations: 88.97 kB / 494.8 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.02242, allocations: 0.5099 MB / 495.3 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006691/0.02309, allocations: 240.8 kB / 495.5 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.02323, allocations: 39.5 kB / 495.5 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007509/0.02398, allocations: 161 kB / 495.7 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.02412, allocations: 117.1 kB / 495.8 MB, free: 500 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.02455, allocations: 205.4 kB / 496 MB, free: 420 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.02619, allocations: 0.6147 MB / 496.6 MB, free: 136 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.02619, allocations: 0 / 496.6 MB, free: 136 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.02619, allocations: 0 / 496.6 MB, free: 136 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.935e-05/0.02622, allocations: 1.25 kB / 496.6 MB, free: 136 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.002537/0.02876, allocations: 1.039 MB / 497.7 MB, free: 15.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/0.02883, allocations: 9.438 kB / 497.7 MB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004959/0.02932, allocations: 126.8 kB / 497.8 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.03066, allocations: 0.5284 MB / 498.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.03071, allocations: 34.78 kB / 498.4 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.03085, allocations: 39.88 kB / 498.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009055/0.03175, allocations: 359.1 kB / 498.8 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.03178, allocations: 4.594 kB / 498.8 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.03183, allocations: 20.34 kB / 498.8 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.03185, allocations: 14.2 kB / 498.8 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006214/0.03247, allocations: 217.3 kB / 499 MB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.03546, allocations: 1.672 MB / 0.4889 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.03608, allocations: 342.4 kB / 0.4893 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.03628, allocations: 127.4 kB / 0.4894 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.03742, allocations: 0.7717 MB / 0.4901 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.03746, allocations: 44.59 kB / 0.4902 GB, free: 12.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.305e-06/0.03746, allocations: 0 / 0.4902 GB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001799/0.03926, allocations: 0.5539 MB / 0.4907 GB, free: 12.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.03932, allocations: 81.72 kB / 0.4908 GB, free: 12.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008742/0.0402, allocations: 0.5174 MB / 0.4913 GB, free: 11.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.04023, allocations: 33.7 kB / 0.4913 GB, free: 11.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.04047, allocations: 378.2 kB / 0.4917 GB, free: 11.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.7e-05/0.04057, allocations: 124.8 kB / 0.4918 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.04075, allocations: 82.39 kB / 0.4919 GB, free: 11.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.04093, allocations: 0.5378 MB / 0.4924 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.04105, allocations: 59.73 kB / 0.4925 GB, free: 10.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.04122, allocations: 177.5 kB / 0.4927 GB, free: 10.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.04151, allocations: 269.4 kB / 0.4929 GB, free: 10.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.04151, allocations: 0.7031 kB / 0.4929 GB, free: 10.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009219/0.04243, allocations: 422.5 kB / 0.4933 GB, free: 9.801 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.04247, allocations: 10.19 kB / 0.4933 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.04248, allocations: 0.75 kB / 0.4933 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.04356, allocations: 180 kB / 0.4935 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.04385, allocations: 68.33 kB / 0.4936 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.04617, allocations: 2.655 MB / 0.4962 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.04657, allocations: 40.34 kB / 0.4962 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.04661, allocations: 16.75 kB / 0.4962 GB, free: 6.777 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.000285/0.04689, allocations: 181.1 kB / 0.4964 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.04702, allocations: 72.33 kB / 0.4964 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008499/0.04787, allocations: 428.3 kB / 0.4969 GB, free: 6.145 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.04788, allocations: 4 kB / 0.4969 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.04788, allocations: 4 kB / 0.4969 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.537e-06/0.04789, allocations: 1.969 kB / 0.4969 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.04971, allocations: 0.8723 MB / 0.4977 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.04972, allocations: 0.5625 kB / 0.4977 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.04991, allocations: 49.14 kB / 0.4978 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008156/0.05072, allocations: 163.1 kB / 0.4979 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.05076, allocations: 13.36 kB / 0.4979 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.05254, allocations: 2.663 MB / 0.5005 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.05255, allocations: 4 kB / 0.5005 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.05375, allocations: 0.6973 MB / 0.5012 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.05397, allocations: 87.23 kB / 0.5013 GB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.05403, allocations: 7.938 kB / 0.5013 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.05426, allocations: 12.94 kB / 0.5013 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.05435, allocations: 36.58 kB / 0.5014 GB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.05437, allocations: 17.14 kB / 0.5014 GB, free: 1.562 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004502/0.05482, allocations: 352.3 kB / 0.5017 GB, free: 1.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05482, allocations: 4.031 kB / 0.5017 GB, free: 1.266 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008071/0.05563, allocations: 161 kB / 0.5019 GB, free: 1.109 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.0003494/0.05598, allocations: 157 kB / 0.502 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008822/0.05686, allocations: 408.2 kB / 0.5024 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.05687, allocations: 0 / 0.5024 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.0573, allocations: 307.8 kB / 0.5027 GB, free: 280 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.0584, allocations: 194.4 kB / 0.5029 GB, free: 128 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.0611, allocations: 1.051 MB / 0.5039 GB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.06126, allocations: 124.5 kB / 0.504 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003862/0.06165, allocations: 71.2 kB / 0.5041 GB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.06177, allocations: 48.58 kB / 0.5041 GB, free: 14.89 MB / 442.7 MB Notification: Performance of SimCode: time 2.245e-06/0.06177, allocations: 4 kB / 0.5041 GB, free: 14.88 MB / 442.7 MB Notification: Performance of Templates: time 0.01454/0.07631, allocations: 8.52 MB / 0.5125 GB, free: 6.773 MB / 442.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: 4.347502865828574]