Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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.CounterFlowNTU_parallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009233/0.0009233, allocations: 168.1 kB / 16.1 MB, free: 5.684 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.204/1.204, allocations: 205 MB / 221.9 MB, free: 9.059 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.0007654/0.0007655, allocations: 86.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.6073/0.6073, allocations: 90.51 MB / 408.3 MB, free: 3.93 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 12 kB / 484.9 MB, free: 7.195 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2285, allocations: 65.8 MB / 0.5378 GB, free: 35.05 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.48/0.7086, allocations: 329 MB / 0.8591 GB, free: 10.39 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.04095/0.7495, allocations: 41.86 MB / 0.9 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.7517, allocations: 51.69 kB / 0.9 GB, free: 360 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.7548, allocations: 1.143 MB / 0.9011 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006856/0.7617, allocations: 2.812 MB / 0.9039 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01238/0.7741, allocations: 5.018 MB / 0.9088 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003975/0.7781, allocations: 3.773 MB / 0.9125 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008342/0.779, allocations: 0.6733 MB / 0.9131 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.7818, allocations: 1.958 MB / 0.915 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.783, allocations: 1.186 MB / 0.9162 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.7831, allocations: 100 kB / 0.9163 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01679/0.7999, allocations: 10.74 MB / 0.9268 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005116/0.8005, allocations: 394.1 kB / 0.9271 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.8016, allocations: 1.057 MB / 0.9282 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.2853/1.087, allocations: 4.324 MB / 0.9324 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/1.087, allocations: 0 / 0.9324 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.655e-06/1.087, allocations: 0.6875 kB / 0.9324 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.409e-05/1.087, allocations: 0 / 0.9324 GB, free: 17.89 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.006551/1.094, allocations: 3.085 MB / 0.9354 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/1.094, allocations: 9.438 kB / 0.9354 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003645/1.097, allocations: 0.5156 MB / 0.9359 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/1.099, allocations: 1.107 MB / 0.937 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003039/1.099, allocations: 413.9 kB / 0.9374 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/1.1, allocations: 203.5 kB / 0.9376 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004199/1.104, allocations: 2.271 MB / 0.9398 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/1.104, allocations: 2.594 kB / 0.9398 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/1.104, allocations: 76.44 kB / 0.9399 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.395e-05/1.104, allocations: 78.23 kB / 0.94 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/1.107, allocations: 1.876 MB / 0.9418 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008443/1.116, allocations: 8.503 MB / 0.9501 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003326/1.119, allocations: 1.919 MB / 0.952 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/1.121, allocations: 1.094 MB / 0.953 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003765/1.125, allocations: 6.649 MB / 0.9595 GB, free: 21.08 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/1.125, allocations: 50.89 kB / 0.9596 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=179): time 3.577e-06/1.125, allocations: 0 / 0.9596 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=181): time 0.0151/1.14, allocations: 7.349 MB / 0.9668 GB, free: 19.35 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/1.14, allocations: 69.59 kB / 0.9668 GB, free: 19.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008452/1.141, allocations: 0.8963 MB / 0.9677 GB, free: 19.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/1.141, allocations: 52.73 kB / 0.9678 GB, free: 19.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/1.141, allocations: 0.7744 MB / 0.9685 GB, free: 18.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/1.142, allocations: 0.6045 MB / 0.9691 GB, free: 18.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/1.142, allocations: 31.56 kB / 0.9691 GB, free: 18.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.142, allocations: 370.7 kB / 0.9695 GB, free: 18.08 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/1.143, allocations: 0.7509 MB / 0.9702 GB, free: 18.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/1.145, allocations: 0.8974 MB / 0.9711 GB, free: 17.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/1.148, allocations: 1.688 MB / 0.9727 GB, free: 17.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.148, allocations: 0 / 0.9727 GB, free: 17.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006138/1.154, allocations: 2.913 MB / 0.9756 GB, free: 17.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.154, allocations: 8.844 kB / 0.9756 GB, free: 17.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/1.154, allocations: 2.078 kB / 0.9756 GB, free: 17.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/1.155, allocations: 0.6173 MB / 0.9762 GB, free: 17.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.157, allocations: 419.8 kB / 0.9766 GB, free: 17.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/1.167, allocations: 9.715 MB / 0.9861 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.169, allocations: 151.6 kB / 0.9862 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/1.169, allocations: 134.9 kB / 0.9864 GB, free: 11.05 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (163): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,1,88.9%), (2,17,100.0%), (3,1,88.9%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006936/1.17, allocations: 345.7 kB / 0.9867 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/1.17, allocations: 153 kB / 0.9868 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007614/1.178, allocations: 3.554 MB / 0.9903 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.178, allocations: 18.16 kB / 0.9903 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.178, allocations: 6.281 kB / 0.9903 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/1.178, allocations: 9.375 kB / 0.9903 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008986/1.187, allocations: 5.404 MB / 0.9956 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/1.187, allocations: 4.031 kB / 0.9956 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/1.188, allocations: 430.6 kB / 0.996 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/1.19, allocations: 0.6173 MB / 0.9966 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/1.19, allocations: 88.33 kB / 0.9967 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009855/1.2, allocations: 9.703 MB / 1.006 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.2, allocations: 0 / 1.006 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007364/1.207, allocations: 4.061 MB / 1.01 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/1.208, allocations: 216.4 kB / 1.01 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/1.208, allocations: 35.22 kB / 1.01 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.209, allocations: 161.3 kB / 1.011 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/1.209, allocations: 167.8 kB / 1.011 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.209, allocations: 134.6 kB / 1.011 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006025/1.21, allocations: 0.6017 MB / 1.011 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/1.21, allocations: 0 / 1.011 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002844/1.213, allocations: 1.354 MB / 1.013 GB, free: 2.609 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.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 (166): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (2,17,100.0%), (3,1,88.9%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003002/1.216, allocations: 2.045 MB / 1.015 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004744/1.221, allocations: 2.995 MB / 1.018 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.221, allocations: 0 / 1.018 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003224/1.224, allocations: 2.173 MB / 1.02 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.226, allocations: 420.2 kB / 1.02 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006528/1.232, allocations: 5.186 MB / 1.025 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/1.233, allocations: 1.428 MB / 1.027 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.234, allocations: 306.7 kB / 1.027 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of SimCode: time 5.21e-07/1.234, allocations: 0 / 1.027 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of Templates: time 0.07651/1.311, allocations: 80.37 MB / 1.105 GB, free: 13.79 MB / 0.7448 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches