Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007452/0.007452, allocations: 169.1 kB / 15.13 MB, free: 6.027 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.512/1.512, allocations: 205.4 MB / 221.3 MB, free: 13.73 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.0008042/0.0008044, allocations: 82.38 kB / 269.6 MB, free: 13.27 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.7019/0.7019, allocations: 90.61 MB / 408.5 MB, free: 14.94 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 8 kB / 485.2 MB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3327, allocations: 66.28 MB / 0.5386 GB, free: 45.47 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.2159/0.5486, allocations: 205.6 MB / 0.7394 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3299/0.8785, allocations: 17.39 MB / 0.7564 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.8797, allocations: 19.56 kB / 0.7564 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.8814, allocations: 452 kB / 0.7568 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004776/0.8862, allocations: 1.405 MB / 0.7582 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006543/0.8927, allocations: 2.214 MB / 0.7604 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002156/0.8949, allocations: 1.487 MB / 0.7618 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004056/0.8953, allocations: 224.2 kB / 0.762 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.8974, allocations: 0.9406 MB / 0.763 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.898, allocations: 0.4902 MB / 0.7634 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.7e-05/0.8981, allocations: 41.34 kB / 0.7635 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/0.9094, allocations: 4.976 MB / 0.7683 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005808/0.9101, allocations: 155.3 kB / 0.7685 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.9112, allocations: 211.5 kB / 0.7687 GB, free: 22.67 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.006211/0.9175, allocations: 1.981 MB / 0.7706 GB, free: 22.52 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.9175, allocations: 1.156 kB / 0.7706 GB, free: 22.52 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.336e-06/0.9175, allocations: 0 / 0.7706 GB, free: 22.52 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.18e-05/0.9175, allocations: 2.734 kB / 0.7706 GB, free: 22.52 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004708/0.9223, allocations: 1.6 MB / 0.7722 GB, free: 21.63 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.9223, allocations: 10.81 kB / 0.7722 GB, free: 21.63 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.9242, allocations: 239.4 kB / 0.7724 GB, free: 21.57 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.9253, allocations: 0.5588 MB / 0.773 GB, free: 21.31 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.9256, allocations: 194.9 kB / 0.7732 GB, free: 21.18 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.9258, allocations: 87.27 kB / 0.7732 GB, free: 21.18 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.928, allocations: 0.9817 MB / 0.7742 GB, free: 21.07 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.928, allocations: 0 / 0.7742 GB, free: 21.07 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.602e-05/0.9281, allocations: 33.81 kB / 0.7742 GB, free: 21.07 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.9281, allocations: 21.28 kB / 0.7743 GB, free: 21.07 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.9298, allocations: 0.7843 MB / 0.775 GB, free: 21.06 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004934/0.9348, allocations: 3.663 MB / 0.7786 GB, free: 19.09 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.9369, allocations: 0.9313 MB / 0.7795 GB, free: 19.04 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008853/0.9378, allocations: 455.9 kB / 0.7799 GB, free: 19.03 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002677/0.9405, allocations: 3.111 MB / 0.783 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.9405, allocations: 48.17 kB / 0.783 GB, free: 15.88 MB / 0.573 GB Notification: Performance of pre-optimization done (n=83): time 3.627e-06/0.9405, allocations: 0.6562 kB / 0.783 GB, free: 15.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=83): time 0.006265/0.9468, allocations: 2.197 MB / 0.7852 GB, free: 15.45 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.9469, allocations: 60.16 kB / 0.7852 GB, free: 15.38 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.9476, allocations: 494.3 kB / 0.7857 GB, free: 15.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.557e-05/0.9477, allocations: 41.89 kB / 0.7857 GB, free: 15.24 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.948, allocations: 376.8 kB / 0.7861 GB, free: 15.06 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.9482, allocations: 287.8 kB / 0.7864 GB, free: 14.88 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.9483, allocations: 19.12 kB / 0.7864 GB, free: 14.87 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.9484, allocations: 387.4 kB / 0.7868 GB, free: 14.55 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007525/0.9492, allocations: 340.7 kB / 0.7871 GB, free: 14.55 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008506/0.9501, allocations: 423.9 kB / 0.7875 GB, free: 14.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008049/0.9509, allocations: 366.3 kB / 0.7878 GB, free: 14.49 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.9509, allocations: 1 kB / 0.7878 GB, free: 14.49 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003451/0.9544, allocations: 1.336 MB / 0.7891 GB, free: 14.34 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.9544, allocations: 9.172 kB / 0.7892 GB, free: 14.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.9544, allocations: 3.672 kB / 0.7892 GB, free: 14.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009122/0.9553, allocations: 275.1 kB / 0.7894 GB, free: 14.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/0.9562, allocations: 206.3 kB / 0.7896 GB, free: 14.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005315/0.9615, allocations: 5.023 MB / 0.7945 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008918/0.9625, allocations: 97.91 kB / 0.7946 GB, free: 10.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.9626, allocations: 60.78 kB / 0.7947 GB, free: 10.44 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004225/0.963, allocations: 207.7 kB / 0.7949 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.9631, allocations: 77.36 kB / 0.7949 GB, free: 10.28 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/0.967, allocations: 1.636 MB / 0.7965 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.967, allocations: 17.42 kB / 0.7966 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.967, allocations: 4.734 kB / 0.7966 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.9671, allocations: 5.531 kB / 0.7966 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004485/0.9716, allocations: 2.541 MB / 0.799 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.9716, allocations: 0 / 0.799 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009317/0.9725, allocations: 208.2 kB / 0.7992 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000704/0.9732, allocations: 278.5 kB / 0.7995 GB, free: 9.605 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.9733, allocations: 43.59 kB / 0.7996 GB, free: 9.605 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005292/0.9786, allocations: 5.016 MB / 0.8045 GB, free: 5.789 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9786, allocations: 3.094 kB / 0.8045 GB, free: 5.789 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003887/0.9825, allocations: 1.892 MB / 0.8063 GB, free: 5.512 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.983, allocations: 247 kB / 0.8065 GB, free: 5.363 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.9831, allocations: 22.75 kB / 0.8066 GB, free: 5.363 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005563/0.9837, allocations: 62.14 kB / 0.8066 GB, free: 5.355 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.9838, allocations: 89.48 kB / 0.8067 GB, free: 5.348 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.9839, allocations: 61.09 kB / 0.8068 GB, free: 5.348 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003958/0.9843, allocations: 339.5 kB / 0.8071 GB, free: 5.266 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9843, allocations: 0 / 0.8071 GB, free: 5.266 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00254/0.9869, allocations: 0.6881 MB / 0.8078 GB, free: 5.164 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002146/0.989, allocations: 1.028 MB / 0.8088 GB, free: 4.891 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002672/0.9917, allocations: 1.43 MB / 0.8102 GB, free: 4.449 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.9917, allocations: 7 kB / 0.8102 GB, free: 4.445 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.9934, allocations: 1.063 MB / 0.8112 GB, free: 4.027 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.9946, allocations: 207.1 kB / 0.8114 GB, free: 4.008 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.9981, allocations: 2.512 MB / 0.8139 GB, free: 2.73 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.9986, allocations: 0.999 MB / 0.8148 GB, free: 2.012 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001106/0.9997, allocations: 234.7 kB / 0.8151 GB, free: 1.941 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/1, allocations: 125.6 kB / 0.8152 GB, free: 1.926 MB / 0.573 GB Notification: Performance of SimCode: time 5.81e-07/1, allocations: 0 / 0.8152 GB, free: 1.926 MB / 0.573 GB Notification: Performance of Templates: time 0.03393/1.034, allocations: 22.3 MB / 0.837 GB, free: 3.219 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches