Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6843/0.6843, allocations: 89.61 MB / 380.6 MB, free: 11.46 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003868, allocations: 12.97 kB / 459.9 MB, free: 24.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1541, allocations: 68.83 MB / 0.5163 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4877/0.6419, allocations: 159 MB / 0.6716 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.6555, allocations: 12.3 MB / 0.6837 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007529/0.6563, allocations: 19.88 kB / 0.6837 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.6573, allocations: 430 kB / 0.6841 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.6603, allocations: 1.149 MB / 0.6852 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.6633, allocations: 1.154 MB / 0.6863 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.6644, allocations: 0.8156 MB / 0.6871 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.6647, allocations: 208.7 kB / 0.6873 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.6661, allocations: 0.8144 MB / 0.6881 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.6665, allocations: 382.2 kB / 0.6885 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.24e-05/0.6666, allocations: 43.94 kB / 0.6885 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004382/0.671, allocations: 2.501 MB / 0.691 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.6711, allocations: 147.4 kB / 0.6911 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.6713, allocations: 185.2 kB / 0.6913 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.6728, allocations: 1.231 MB / 0.6925 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.6728, allocations: 0 / 0.6925 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6728, allocations: 0 / 0.6925 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.6728, allocations: 0 / 0.6925 GB, free: 5.895 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00218/0.675, allocations: 1.259 MB / 0.6937 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.675, allocations: 8.031 kB / 0.6937 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.6766, allocations: 226.6 kB / 0.6939 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/0.6773, allocations: 0.4986 MB / 0.6944 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.6775, allocations: 188.8 kB / 0.6946 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.6776, allocations: 83.95 kB / 0.6947 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.6791, allocations: 0.8414 MB / 0.6955 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.6791, allocations: 0 / 0.6955 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.721e-05/0.6792, allocations: 32 kB / 0.6955 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.6792, allocations: 16 kB / 0.6956 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.6806, allocations: 0.6792 MB / 0.6962 GB, free: 1.941 MB / 0.4981 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.0038/0.6844, allocations: 3.171 MB / 0.6993 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.6857, allocations: 0.6355 MB / 0.6999 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005882/0.6863, allocations: 0.8952 MB / 0.7008 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.6864, allocations: 43.12 kB / 0.7009 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.6864, allocations: 0 / 0.7009 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=58): time 0.004704/0.6911, allocations: 1.872 MB / 0.7027 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.6911, allocations: 59.97 kB / 0.7027 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.6917, allocations: 0.5148 MB / 0.7032 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.6918, allocations: 37.7 kB / 0.7033 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.692, allocations: 368.1 kB / 0.7036 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.6921, allocations: 201.1 kB / 0.7038 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.6922, allocations: 12 kB / 0.7038 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6923, allocations: 370.8 kB / 0.7042 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.693, allocations: 281 kB / 0.7045 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.6936, allocations: 332.6 kB / 0.7048 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.6943, allocations: 294 kB / 0.7051 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6943, allocations: 0 / 0.7051 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002892/0.6972, allocations: 1.129 MB / 0.7062 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6973, allocations: 6.031 kB / 0.7062 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.6973, allocations: 0 / 0.7062 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008637/0.6982, allocations: 274.3 kB / 0.7064 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.6989, allocations: 149.2 kB / 0.7066 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/0.7047, allocations: 4.984 MB / 0.7114 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006207/0.7054, allocations: 95.47 kB / 0.7115 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.7055, allocations: 35.98 kB / 0.7116 GB, free: 1.199 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000354/0.7058, allocations: 193.8 kB / 0.7117 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.7059, allocations: 67.16 kB / 0.7118 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.7096, allocations: 1.516 MB / 0.7133 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.7096, allocations: 8 kB / 0.7133 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.7096, allocations: 4 kB / 0.7133 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.7096, allocations: 3.984 kB / 0.7133 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/0.7136, allocations: 2.153 MB / 0.7154 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.7136, allocations: 4 kB / 0.7154 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.7143, allocations: 140 kB / 0.7155 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007078/0.7151, allocations: 274.3 kB / 0.7158 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/0.7151, allocations: 23.98 kB / 0.7158 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00545/0.7206, allocations: 4.982 MB / 0.7207 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7206, allocations: 3.938 kB / 0.7207 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.724, allocations: 1.565 MB / 0.7222 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.7244, allocations: 208.7 kB / 0.7224 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.7245, allocations: 12 kB / 0.7224 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.725, allocations: 67.91 kB / 0.7225 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.7251, allocations: 52.36 kB / 0.7226 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.946e-05/0.7252, allocations: 31.98 kB / 0.7226 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004275/0.7256, allocations: 378.8 kB / 0.7229 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.653e-06/0.7256, allocations: 0 / 0.7229 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001086/0.7267, allocations: 387.2 kB / 0.7233 GB, free: 4.527 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009132/0.7276, allocations: 0.5373 MB / 0.7238 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002303/0.7299, allocations: 1.147 MB / 0.725 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.73, allocations: 0 / 0.725 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.7315, allocations: 0.854 MB / 0.7258 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.7322, allocations: 162.1 kB / 0.7259 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.7352, allocations: 2.042 MB / 0.7279 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.7356, allocations: 0.9575 MB / 0.7289 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009789/0.7366, allocations: 420.5 kB / 0.7293 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/0.7369, allocations: 95.38 kB / 0.7294 GB, free: 14.19 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.7369, allocations: 0 / 0.7294 GB, free: 14.19 MB / 0.545 GB Notification: Performance of Templates: time 0.02274/0.7597, allocations: 15.07 MB / 0.7441 GB, free: 15.21 MB / 0.5606 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches