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.001026/0.001026, 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.002133/0.002133, allocations: 169 kB / 23.02 MB, free: 1.551 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.9369/0.9369, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.6912/0.6912, allocations: 118.7 MB / 378.6 MB, free: 1.496 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.532e-06/1.532e-06, allocations: 0 / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.598e-05, allocations: 5.547 kB / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.00646/0.006486, allocations: 7.152 MB / 490.8 MB, free: 3.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.009045, allocations: 2.106 MB / 492.9 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004884/0.009534, allocations: 39.12 kB / 492.9 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.009902, allocations: 134.8 kB / 493 MB, free: 1.898 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.01108, allocations: 0.4972 MB / 493.5 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.01159, allocations: 234.2 kB / 493.8 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009106/0.0125, allocations: 0.9202 MB / 494.7 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.0127, allocations: 88.12 kB / 494.8 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008331/0.01353, allocations: 0.5238 MB / 495.3 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.01389, allocations: 238.8 kB / 495.5 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.01397, allocations: 40.16 kB / 495.6 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004333/0.0144, allocations: 156 kB / 495.7 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.958e-05/0.01449, allocations: 113.1 kB / 495.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.01468, allocations: 206.6 kB / 496 MB, free: 432 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008345/0.01551, allocations: 0.613 MB / 496.6 MB, free: 148 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01552, allocations: 1.5 kB / 496.6 MB, free: 148 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01552, allocations: 0 / 496.6 MB, free: 148 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.01553, allocations: 4 kB / 496.7 MB, free: 144 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.001444/0.01697, allocations: 1.028 MB / 497.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.01701, allocations: 9.5 kB / 497.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.01727, allocations: 129.5 kB / 497.8 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/0.01795, allocations: 0.5344 MB / 498.3 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.01797, allocations: 30.44 kB / 498.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.01803, allocations: 47.34 kB / 498.4 MB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.01851, allocations: 364 kB / 498.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01853, allocations: 3.938 kB / 498.8 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.01855, allocations: 15.66 kB / 498.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.01856, allocations: 10.19 kB / 498.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.0189, allocations: 214.5 kB / 499 MB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.02064, allocations: 1.67 MB / 0.489 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.02109, allocations: 334.5 kB / 0.4893 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.02124, allocations: 121.5 kB / 0.4894 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009002/0.02214, allocations: 0.7898 MB / 0.4902 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.02217, allocations: 42.25 kB / 0.4902 GB, free: 12.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.293e-06/0.02217, allocations: 0 / 0.4902 GB, free: 12.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001243/0.02341, allocations: 0.5518 MB / 0.4907 GB, free: 12.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.02345, allocations: 82.14 kB / 0.4908 GB, free: 12.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.02383, allocations: 0.5169 MB / 0.4913 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.02385, allocations: 29.7 kB / 0.4913 GB, free: 11.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.02404, allocations: 382.2 kB / 0.4917 GB, free: 11.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.0241, allocations: 128.8 kB / 0.4918 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.02418, allocations: 78.44 kB / 0.4919 GB, free: 11.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002623/0.02444, allocations: 0.5378 MB / 0.4924 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.933e-05/0.02454, allocations: 63.22 kB / 0.4925 GB, free: 10.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.02468, allocations: 177.8 kB / 0.4927 GB, free: 10.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.02493, allocations: 269.7 kB / 0.4929 GB, free: 10.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02494, allocations: 0 / 0.4929 GB, free: 10.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005113/0.02545, allocations: 430.9 kB / 0.4933 GB, free: 9.801 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.02546, allocations: 4.703 kB / 0.4933 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.02547, allocations: 4 kB / 0.4933 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/0.02604, allocations: 168 kB / 0.4935 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.02618, allocations: 72.28 kB / 0.4936 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.02759, allocations: 2.658 MB / 0.4962 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.02775, allocations: 32.91 kB / 0.4962 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.02777, allocations: 16.61 kB / 0.4962 GB, free: 6.789 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.0001437/0.02792, allocations: 185.4 kB / 0.4964 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.02799, allocations: 67.62 kB / 0.4965 GB, free: 6.531 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.02849, allocations: 430 kB / 0.4969 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.02849, allocations: 4 kB / 0.4969 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.02849, allocations: 0.6562 kB / 0.4969 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.0285, allocations: 1.5 kB / 0.4969 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.02956, allocations: 0.8759 MB / 0.4977 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.02957, allocations: 4.562 kB / 0.4977 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.02968, allocations: 41.11 kB / 0.4978 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/0.03018, allocations: 178.6 kB / 0.4979 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.03021, allocations: 8.797 kB / 0.498 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.03126, allocations: 2.667 MB / 0.5006 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.03126, allocations: 0 / 0.5006 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006966/0.03196, allocations: 0.697 MB / 0.5012 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.03206, allocations: 86.97 kB / 0.5013 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.0321, allocations: 15.94 kB / 0.5013 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.03221, allocations: 9.5 kB / 0.5013 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.03227, allocations: 27.98 kB / 0.5014 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.03228, allocations: 13.2 kB / 0.5014 GB, free: 1.574 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002623/0.03255, allocations: 352.3 kB / 0.5017 GB, free: 1.281 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03255, allocations: 4 kB / 0.5017 GB, free: 1.277 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004316/0.03298, allocations: 161 kB / 0.5019 GB, free: 1.121 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.0002173/0.0332, allocations: 158.1 kB / 0.502 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005389/0.03374, allocations: 411.3 kB / 0.5024 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.03374, allocations: 3.938 kB / 0.5024 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.03402, allocations: 295.6 kB / 0.5027 GB, free: 296 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008493/0.03487, allocations: 200.6 kB / 0.5029 GB, free: 148 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.03729, allocations: 1.053 MB / 0.5039 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.03741, allocations: 124.7 kB / 0.504 GB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.03771, allocations: 78.58 kB / 0.5041 GB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.03781, allocations: 48.58 kB / 0.5042 GB, free: 14.89 MB / 442.7 MB Notification: Performance of SimCode: time 2.745e-06/0.03781, allocations: 0 / 0.5042 GB, free: 14.89 MB / 442.7 MB Notification: Performance of Templates: time 0.01252/0.05034, allocations: 9.202 MB / 0.5132 GB, free: 6.109 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.743748893029988]