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.001068/0.001068, allocations: 177.4 kB / 15.78 MB, free: 6.352 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.771/1.771, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.0008297/0.0008297, allocations: 86.25 kB / 270.3 MB, free: 13.34 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.8096/0.8096, allocations: 90.59 MB / 409.1 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 12 kB / 485.9 MB, free: 2.066 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4413, allocations: 66.27 MB / 0.5392 GB, free: 45.55 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6941/1.136, allocations: 304.1 MB / 0.8362 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03467/1.17, allocations: 38.54 MB / 0.8738 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/1.173, allocations: 47.88 kB / 0.8739 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003037/1.176, allocations: 1.078 MB / 0.8749 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007092/1.183, allocations: 2.74 MB / 0.8776 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01238/1.196, allocations: 4.608 MB / 0.8821 GB, free: 484 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0043/1.2, allocations: 3.369 MB / 0.8854 GB, free: 16 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008991/1.201, allocations: 0.5752 MB / 0.886 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/1.204, allocations: 1.872 MB / 0.8878 GB, free: 14.91 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/1.206, allocations: 1.123 MB / 0.8889 GB, free: 14.28 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001958/1.206, allocations: 100 kB / 0.889 GB, free: 14.18 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01845/1.224, allocations: 9.783 MB / 0.8985 GB, free: 5.984 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008364/1.225, allocations: 377.4 kB / 0.8989 GB, free: 5.832 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/1.226, allocations: 436.7 kB / 0.8993 GB, free: 5.551 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.009468/1.236, allocations: 4.184 MB / 0.9034 GB, free: 2.156 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.236, allocations: 0 / 0.9034 GB, free: 2.156 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.134e-06/1.236, allocations: 0 / 0.9034 GB, free: 2.156 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.206e-05/1.236, allocations: 0 / 0.9034 GB, free: 2.156 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: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.006726/1.243, allocations: 3.111 MB / 0.9064 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.243, allocations: 12.03 kB / 0.9065 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/1.246, allocations: 0.5163 MB / 0.907 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/1.248, allocations: 1.068 MB / 0.908 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004832/1.248, allocations: 420.7 kB / 0.9084 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003948/1.249, allocations: 197.5 kB / 0.9086 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004714/1.254, allocations: 2.258 MB / 0.9108 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/1.254, allocations: 4 kB / 0.9108 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/1.254, allocations: 74.62 kB / 0.9109 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.083e-05/1.254, allocations: 71.31 kB / 0.9109 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003727/1.258, allocations: 1.862 MB / 0.9128 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/1.268, allocations: 8.489 MB / 0.9211 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003675/1.272, allocations: 1.91 MB / 0.9229 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/1.274, allocations: 1.09 MB / 0.924 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005658/1.28, allocations: 6.655 MB / 0.9305 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/1.28, allocations: 51.62 kB / 0.9305 GB, free: 9.031 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=179): time 5.641e-06/1.28, allocations: 4 kB / 0.9305 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of matching and sorting (n=181): time 0.01826/1.298, allocations: 7.32 MB / 0.9377 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/1.298, allocations: 77.41 kB / 0.9378 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/1.299, allocations: 0.8815 MB / 0.9386 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001935/1.3, allocations: 53.7 kB / 0.9387 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/1.3, allocations: 0.771 MB / 0.9394 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005986/1.301, allocations: 0.6102 MB / 0.94 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/1.301, allocations: 32 kB / 0.94 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.301, allocations: 361.9 kB / 0.9404 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/1.303, allocations: 0.7496 MB / 0.9411 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/1.305, allocations: 0.8902 MB / 0.942 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/1.307, allocations: 0.8025 MB / 0.9428 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.307, allocations: 0 / 0.9428 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007476/1.314, allocations: 2.902 MB / 0.9456 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/1.314, allocations: 4 kB / 0.9456 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/1.314, allocations: 4 kB / 0.9456 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/1.316, allocations: 0.6155 MB / 0.9462 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/1.318, allocations: 415.5 kB / 0.9466 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/1.331, allocations: 9.703 MB / 0.9561 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/1.333, allocations: 151.8 kB / 0.9562 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004358/1.334, allocations: 139.9 kB / 0.9564 GB, free: 13.87 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,88.9%) 1,(2,100.0%) 17,(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001028/1.335, allocations: 345.3 kB / 0.9567 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/1.335, allocations: 154.1 kB / 0.9568 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009765/1.345, allocations: 3.549 MB / 0.9603 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/1.345, allocations: 16 kB / 0.9603 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.984e-05/1.345, allocations: 8 kB / 0.9603 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/1.345, allocations: 11.92 kB / 0.9603 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/1.357, allocations: 5.399 MB / 0.9656 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.357, allocations: 0 / 0.9656 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/1.359, allocations: 431.2 kB / 0.966 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/1.361, allocations: 0.6167 MB / 0.9666 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/1.361, allocations: 87.92 kB / 0.9667 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/1.374, allocations: 9.681 MB / 0.9762 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/1.374, allocations: 10.47 kB / 0.9762 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009943/1.384, allocations: 4.036 MB / 0.9801 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/1.385, allocations: 215.1 kB / 0.9803 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/1.385, allocations: 36 kB / 0.9804 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.386, allocations: 155.7 kB / 0.9805 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/1.387, allocations: 173.7 kB / 0.9807 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002986/1.387, allocations: 131.9 kB / 0.9808 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009095/1.388, allocations: 0.5954 MB / 0.9814 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.21e-07/1.388, allocations: 0 / 0.9814 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004209/1.392, allocations: 1.355 MB / 0.9827 GB, free: 2.137 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 4,(2,100.0%) 17,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005166/1.397, allocations: 2.049 MB / 0.9847 GB, free: 220 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006697/1.404, allocations: 2.985 MB / 0.9876 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.404, allocations: 0 / 0.9876 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004424/1.408, allocations: 2.163 MB / 0.9897 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.411, allocations: 417.6 kB / 0.9901 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009664/1.421, allocations: 5.194 MB / 0.9952 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/1.422, allocations: 1.417 MB / 0.9966 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/1.424, allocations: 315.2 kB / 0.9969 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of SimCode: time 1.423e-06/1.424, allocations: 0 / 0.9969 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of Templates: time 0.3376/1.761, allocations: 80.45 MB / 1.075 GB, free: 268.9 MB / 0.6823 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