Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008669/0.000867, allocations: 168.1 kB / 16.1 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205 MB / 221.9 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007194/0.0007191, allocations: 82.36 kB / 269.9 MB, free: 8.664 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5958/0.5958, allocations: 90.52 MB / 408.3 MB, free: 3.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003042, allocations: 12.22 kB / 484.8 MB, free: 7.211 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 65.81 MB / 0.5377 GB, free: 34.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01195/0.2448, allocations: 16.84 MB / 0.5542 GB, free: 22.07 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.2496, allocations: 6.664 MB / 0.5607 GB, free: 15.39 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.25, allocations: 11.94 kB / 0.5607 GB, free: 15.38 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.2505, allocations: 246.7 kB / 0.561 GB, free: 15.13 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008002/0.2513, allocations: 445.4 kB / 0.5614 GB, free: 14.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.2519, allocations: 330.9 kB / 0.5617 GB, free: 14.37 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005388/0.2524, allocations: 0.7895 MB / 0.5625 GB, free: 13.58 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.2526, allocations: 124.1 kB / 0.5626 GB, free: 13.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.2529, allocations: 258.8 kB / 0.5628 GB, free: 13.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.2531, allocations: 254.7 kB / 0.5631 GB, free: 12.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.2532, allocations: 24 kB / 0.5631 GB, free: 12.92 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006182/0.2538, allocations: 359.6 kB / 0.5634 GB, free: 12.57 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.2539, allocations: 79.56 kB / 0.5635 GB, free: 12.49 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.254, allocations: 234.6 kB / 0.5637 GB, free: 12.26 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.2544, allocations: 0.5182 MB / 0.5642 GB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2544, allocations: 0 / 0.5642 GB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2544, allocations: 0 / 0.5642 GB, free: 11.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2544, allocations: 0 / 0.5642 GB, free: 11.74 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009718/0.2554, allocations: 0.7715 MB / 0.565 GB, free: 10.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.2555, allocations: 12.03 kB / 0.565 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.2556, allocations: 56.28 kB / 0.5651 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.2559, allocations: 363.7 kB / 0.5654 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.2559, allocations: 33.38 kB / 0.5654 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.256, allocations: 36.38 kB / 0.5655 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.2565, allocations: 466.9 kB / 0.5659 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.2566, allocations: 0 / 0.5659 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.2566, allocations: 19.94 kB / 0.5659 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2566, allocations: 12 kB / 0.5659 GB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.2571, allocations: 423.7 kB / 0.5664 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.2587, allocations: 2.059 MB / 0.5684 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.2593, allocations: 480.9 kB / 0.5688 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.2596, allocations: 202 kB / 0.569 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009633/0.2605, allocations: 1.434 MB / 0.5704 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.2606, allocations: 38.56 kB / 0.5705 GB, free: 4.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 1.553e-06/0.2606, allocations: 4 kB / 0.5705 GB, free: 4.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.004987/0.2656, allocations: 1.472 MB / 0.5719 GB, free: 3.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.2656, allocations: 81.11 kB / 0.572 GB, free: 3.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.2658, allocations: 333.6 kB / 0.5723 GB, free: 2.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.2659, allocations: 33.7 kB / 0.5723 GB, free: 2.867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.266, allocations: 228.4 kB / 0.5725 GB, free: 2.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.266, allocations: 153.8 kB / 0.5727 GB, free: 2.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.266, allocations: 8 kB / 0.5727 GB, free: 2.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.2661, allocations: 354.7 kB / 0.573 GB, free: 2.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.2663, allocations: 140.9 kB / 0.5732 GB, free: 1.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.2665, allocations: 193.8 kB / 0.5734 GB, free: 1.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.2669, allocations: 363.8 kB / 0.5737 GB, free: 1.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2669, allocations: 0 / 0.5737 GB, free: 1.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002291/0.2692, allocations: 0.8046 MB / 0.5745 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2693, allocations: 8 kB / 0.5745 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2693, allocations: 0 / 0.5745 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/0.2715, allocations: 489.3 kB / 0.575 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.2718, allocations: 71.89 kB / 0.575 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.2733, allocations: 2.083 MB / 0.5771 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.2736, allocations: 43.64 kB / 0.5771 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.2736, allocations: 20.06 kB / 0.5771 GB, free: 13.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.2738, allocations: 163.7 kB / 0.5773 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.2739, allocations: 43.47 kB / 0.5773 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.2766, allocations: 0.8516 MB / 0.5782 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.2766, allocations: 7.984 kB / 0.5782 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2766, allocations: 3.938 kB / 0.5782 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2767, allocations: 0 / 0.5782 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.2798, allocations: 1.394 MB / 0.5795 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.2799, allocations: 0 / 0.5795 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.2801, allocations: 55.97 kB / 0.5796 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002367/0.2825, allocations: 493.2 kB / 0.58 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.2825, allocations: 19.94 kB / 0.5801 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.2843, allocations: 2.086 MB / 0.5821 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2843, allocations: 0 / 0.5821 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.2872, allocations: 1.162 MB / 0.5832 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.2874, allocations: 164.5 kB / 0.5834 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.2874, allocations: 7.984 kB / 0.5834 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.2877, allocations: 23.94 kB / 0.5834 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.2878, allocations: 36.02 kB / 0.5835 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.2878, allocations: 15.98 kB / 0.5835 GB, free: 6.926 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002103/0.288, allocations: 231.1 kB / 0.5837 GB, free: 6.699 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.288, allocations: 0 / 0.5837 GB, free: 6.699 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005702/0.2886, allocations: 195.7 kB / 0.5839 GB, free: 6.508 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003575/0.289, allocations: 287.3 kB / 0.5842 GB, free: 6.219 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008597/0.2898, allocations: 0.5001 MB / 0.5846 GB, free: 5.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2899, allocations: 12 kB / 0.5847 GB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004791/0.2904, allocations: 342.8 kB / 0.585 GB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.2911, allocations: 114.3 kB / 0.5851 GB, free: 5.238 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.2926, allocations: 1.189 MB / 0.5863 GB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.293, allocations: 0.8317 MB / 0.5871 GB, free: 3.152 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.324e-05/0.2931, allocations: 43.38 kB / 0.5871 GB, free: 3.109 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2931, allocations: 0 / 0.5871 GB, free: 3.109 MB / 410.7 MB Notification: Performance of Templates: time 0.01198/0.3051, allocations: 11.34 MB / 0.5982 GB, free: 7.785 MB / 426.7 MB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches