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.005632/0.005632, allocations: 169.5 kB / 15.12 MB, free: 6.043 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.518/1.518, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001065/0.001065, allocations: 94.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7732/0.7732, allocations: 90.59 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 12 kB / 485.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4154, allocations: 66.29 MB / 0.5386 GB, free: 45.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01398/0.4294, allocations: 14.52 MB / 0.5527 GB, free: 39.69 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005223/0.4347, allocations: 5.59 MB / 0.5582 GB, free: 35.78 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004902/0.4352, allocations: 12.66 kB / 0.5582 GB, free: 35.78 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.4358, allocations: 226.5 kB / 0.5584 GB, free: 35.65 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.4369, allocations: 487.7 kB / 0.5589 GB, free: 35.32 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.4376, allocations: 291.7 kB / 0.5592 GB, free: 35.16 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.438, allocations: 472.5 kB / 0.5596 GB, free: 34.9 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.4382, allocations: 113.6 kB / 0.5597 GB, free: 34.87 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.4386, allocations: 227.4 kB / 0.56 GB, free: 34.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.4388, allocations: 215.4 kB / 0.5602 GB, free: 34.67 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.4388, allocations: 17.25 kB / 0.5602 GB, free: 34.67 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006928/0.4395, allocations: 362.9 kB / 0.5605 GB, free: 34.61 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.4396, allocations: 67.69 kB / 0.5606 GB, free: 34.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.348e-05/0.4397, allocations: 121.8 kB / 0.5607 GB, free: 34.49 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005154/0.4402, allocations: 0.4942 MB / 0.5612 GB, free: 34.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.4402, allocations: 0 / 0.5612 GB, free: 34.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4402, allocations: 0 / 0.5612 GB, free: 34.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4402, allocations: 0 / 0.5612 GB, free: 34.34 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001159/0.4414, allocations: 0.7734 MB / 0.5619 GB, free: 33.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.4415, allocations: 9.906 kB / 0.5619 GB, free: 33.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.4416, allocations: 60.16 kB / 0.562 GB, free: 33.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.442, allocations: 340.4 kB / 0.5623 GB, free: 33.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.442, allocations: 30.69 kB / 0.5624 GB, free: 33.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/0.4421, allocations: 42.64 kB / 0.5624 GB, free: 33.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.4428, allocations: 459.1 kB / 0.5628 GB, free: 33.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4428, allocations: 1.375 kB / 0.5628 GB, free: 33.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.4429, allocations: 14.75 kB / 0.5629 GB, free: 33.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.4429, allocations: 11 kB / 0.5629 GB, free: 33.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00062/0.4435, allocations: 413.8 kB / 0.5633 GB, free: 33.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.4457, allocations: 2.095 MB / 0.5653 GB, free: 31.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.4464, allocations: 477.6 kB / 0.5658 GB, free: 31.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.4477, allocations: 1.456 MB / 0.5672 GB, free: 29.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.4478, allocations: 43.16 kB / 0.5672 GB, free: 29.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.4478, allocations: 1.406 kB / 0.5672 GB, free: 29.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.005947/0.4537, allocations: 1.528 MB / 0.5687 GB, free: 29.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.4538, allocations: 92.94 kB / 0.5688 GB, free: 29.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.4542, allocations: 336.5 kB / 0.5691 GB, free: 28.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.4543, allocations: 31.42 kB / 0.5692 GB, free: 28.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.4545, allocations: 234.5 kB / 0.5694 GB, free: 28.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.4546, allocations: 149.4 kB / 0.5695 GB, free: 28.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.4546, allocations: 5.156 kB / 0.5695 GB, free: 28.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.4547, allocations: 353.2 kB / 0.5699 GB, free: 28.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.455, allocations: 133.1 kB / 0.57 GB, free: 28.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.4553, allocations: 193.7 kB / 0.5702 GB, free: 28.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.4556, allocations: 155.9 kB / 0.5703 GB, free: 27.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4556, allocations: 4 kB / 0.5703 GB, free: 27.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002746/0.4583, allocations: 0.8021 MB / 0.5711 GB, free: 27.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.4584, allocations: 7.688 kB / 0.5711 GB, free: 27.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4584, allocations: 3.188 kB / 0.5711 GB, free: 27.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/0.4612, allocations: 491.6 kB / 0.5716 GB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.4615, allocations: 71.02 kB / 0.5717 GB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.4631, allocations: 2.093 MB / 0.5737 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.4634, allocations: 50.59 kB / 0.5737 GB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.4635, allocations: 13.08 kB / 0.5738 GB, free: 25.59 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.4637, allocations: 161.1 kB / 0.5739 GB, free: 25.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.4638, allocations: 44.3 kB / 0.574 GB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.4669, allocations: 0.8417 MB / 0.5748 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4669, allocations: 6.375 kB / 0.5748 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4669, allocations: 1.031 kB / 0.5748 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.4669, allocations: 7.594 kB / 0.5748 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/0.4705, allocations: 1.411 MB / 0.5762 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.4706, allocations: 1.75 kB / 0.5762 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.4708, allocations: 51.73 kB / 0.5762 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/0.4735, allocations: 497.7 kB / 0.5767 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.4735, allocations: 11.69 kB / 0.5767 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.475, allocations: 2.109 MB / 0.5788 GB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.475, allocations: 1.375 kB / 0.5788 GB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.4781, allocations: 1.166 MB / 0.5799 GB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.4784, allocations: 165.1 kB / 0.5801 GB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.4785, allocations: 14.36 kB / 0.5801 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.4788, allocations: 21.61 kB / 0.5801 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4789, allocations: 35.69 kB / 0.5801 GB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.4789, allocations: 15.73 kB / 0.5801 GB, free: 21.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003067/0.4792, allocations: 232.7 kB / 0.5804 GB, free: 21.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4793, allocations: 0 / 0.5804 GB, free: 21.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008725/0.4801, allocations: 195.4 kB / 0.5806 GB, free: 21.41 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000577/0.4807, allocations: 295.2 kB / 0.5808 GB, free: 21.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.4818, allocations: 0.502 MB / 0.5813 GB, free: 21.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4818, allocations: 0 / 0.5813 GB, free: 21.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.4823, allocations: 342.5 kB / 0.5817 GB, free: 20.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/0.4831, allocations: 109.4 kB / 0.5818 GB, free: 20.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.4849, allocations: 1.252 MB / 0.583 GB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4853, allocations: 0.8407 MB / 0.5838 GB, free: 19.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002589/0.4855, allocations: 62.02 kB / 0.5839 GB, free: 19.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-05/0.4856, allocations: 38.03 kB / 0.5839 GB, free: 19.32 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4856, allocations: 0 / 0.5839 GB, free: 19.32 MB / 426.7 MB Notification: Performance of Templates: time 0.01761/0.5032, allocations: 9.121 MB / 0.5928 GB, free: 16.39 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