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.001004/0.001004, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009527/0.0009527, allocations: 169 kB / 23.02 MB, free: 1.547 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.9209/0.9209, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.6493/0.6493, allocations: 118.6 MB / 378.6 MB, free: 1.477 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.114e-06/2.114e-06, allocations: 1.156 kB / 483.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.253e-05, allocations: 8.812 kB / 483.6 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.007721/0.007743, allocations: 7.157 MB / 490.8 MB, free: 3.469 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.009724, allocations: 2.104 MB / 492.9 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.01001, allocations: 39.31 kB / 492.9 MB, free: 2.008 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.01033, allocations: 132.3 kB / 493 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007861/0.01112, allocations: 0.4982 MB / 493.5 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.0115, allocations: 237.6 kB / 493.8 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007153/0.01222, allocations: 0.9122 MB / 494.7 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.01239, allocations: 89.28 kB / 494.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007131/0.01311, allocations: 0.5146 MB / 495.3 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.01343, allocations: 240.9 kB / 495.5 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.19e-05/0.01353, allocations: 38.66 kB / 495.6 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.01386, allocations: 160.9 kB / 495.7 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.01396, allocations: 117.8 kB / 495.8 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.01414, allocations: 204.8 kB / 496 MB, free: 464 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007233/0.01486, allocations: 0.6141 MB / 496.6 MB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.01486, allocations: 0 / 496.6 MB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01487, allocations: 1.125 kB / 496.6 MB, free: 180 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.01488, allocations: 0 / 496.6 MB, free: 180 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.001211/0.01609, allocations: 1.036 MB / 497.7 MB, free: 15.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01612, allocations: 9.406 kB / 497.7 MB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.01636, allocations: 126 kB / 497.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.01701, allocations: 0.5298 MB / 498.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.01704, allocations: 34.78 kB / 498.4 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.01709, allocations: 43.41 kB / 498.4 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.01757, allocations: 363.2 kB / 498.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.01759, allocations: 3.938 kB / 498.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.01761, allocations: 17.42 kB / 498.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.01763, allocations: 9.594 kB / 498.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.01797, allocations: 218.2 kB / 499 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.01962, allocations: 1.663 MB / 0.4889 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/0.02008, allocations: 339.3 kB / 0.4893 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.02022, allocations: 129.2 kB / 0.4894 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007998/0.02102, allocations: 0.7779 MB / 0.4901 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.02105, allocations: 49.22 kB / 0.4902 GB, free: 12.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.473e-06/0.02105, allocations: 0 / 0.4902 GB, free: 12.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001243/0.02229, allocations: 0.5508 MB / 0.4907 GB, free: 12.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.02232, allocations: 81.11 kB / 0.4908 GB, free: 12.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.02272, allocations: 0.5216 MB / 0.4913 GB, free: 11.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.02274, allocations: 29.7 kB / 0.4913 GB, free: 11.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.02292, allocations: 378.3 kB / 0.4917 GB, free: 11.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.02299, allocations: 124.7 kB / 0.4918 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.02306, allocations: 85.95 kB / 0.4919 GB, free: 11.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.02321, allocations: 0.5384 MB / 0.4924 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.02331, allocations: 59.27 kB / 0.4925 GB, free: 10.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.02345, allocations: 173.2 kB / 0.4927 GB, free: 10.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.0237, allocations: 274.3 kB / 0.4929 GB, free: 10.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.02371, allocations: 0 / 0.4929 GB, free: 10.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005143/0.02422, allocations: 426.7 kB / 0.4933 GB, free: 9.828 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.02424, allocations: 8 kB / 0.4933 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.02424, allocations: 0.5625 kB / 0.4933 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/0.02478, allocations: 176.1 kB / 0.4935 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.02492, allocations: 72.09 kB / 0.4936 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.02608, allocations: 2.655 MB / 0.4962 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.02621, allocations: 36.48 kB / 0.4962 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.02623, allocations: 16.75 kB / 0.4962 GB, free: 6.809 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.0001205/0.02635, allocations: 181.1 kB / 0.4964 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.02642, allocations: 72.28 kB / 0.4965 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.02693, allocations: 425.7 kB / 0.4969 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.02693, allocations: 8.031 kB / 0.4969 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.02693, allocations: 4 kB / 0.4969 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.02694, allocations: 1.969 kB / 0.4969 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.02797, allocations: 0.8759 MB / 0.4977 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.02797, allocations: 0 / 0.4977 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.02808, allocations: 45.8 kB / 0.4978 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/0.02854, allocations: 170.2 kB / 0.4979 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.02856, allocations: 10.06 kB / 0.4979 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.02959, allocations: 2.669 MB / 0.5006 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.02959, allocations: 0.6562 kB / 0.5006 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007027/0.03029, allocations: 0.6964 MB / 0.5012 GB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.03038, allocations: 83 kB / 0.5013 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.03042, allocations: 16.55 kB / 0.5013 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.03054, allocations: 8.75 kB / 0.5013 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.0306, allocations: 32.44 kB / 0.5014 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.03061, allocations: 13.06 kB / 0.5014 GB, free: 1.594 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002517/0.03086, allocations: 351.8 kB / 0.5017 GB, free: 1.301 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03086, allocations: 32 / 0.5017 GB, free: 1.301 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003396/0.0312, allocations: 165.5 kB / 0.5019 GB, free: 1.141 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.0001851/0.03139, allocations: 149.7 kB / 0.502 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004975/0.03189, allocations: 415.9 kB / 0.5024 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.03189, allocations: 0 / 0.5024 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.03214, allocations: 304.2 kB / 0.5027 GB, free: 316 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.03277, allocations: 194.1 kB / 0.5029 GB, free: 168 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.03422, allocations: 1.053 MB / 0.5039 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.016e-05/0.03431, allocations: 128.5 kB / 0.504 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.03449, allocations: 66.53 kB / 0.5041 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.03456, allocations: 52.56 kB / 0.5042 GB, free: 14.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.322e-06/0.03456, allocations: 4 kB / 0.5042 GB, free: 14.91 MB / 442.7 MB Notification: Performance of Templates: time 0.01092/0.04548, allocations: 9.221 MB / 0.5132 GB, free: 6.066 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: 3.6463000499643385]