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.006553/0.006553, allocations: 173.4 kB / 15.12 MB, free: 5.477 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.537/1.537, allocations: 205.4 MB / 221.3 MB, free: 13.67 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.001108/0.001108, allocations: 86.86 kB / 269.6 MB, free: 13.2 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.7747/0.7747, allocations: 90.6 MB / 408.5 MB, free: 14.97 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 12 kB / 485.2 MB, free: 2.066 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4362, allocations: 66.28 MB / 0.5386 GB, free: 45.32 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6471/1.083, allocations: 223.8 MB / 0.7571 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.04502/1.128, allocations: 35.13 MB / 0.7915 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003723/1.132, allocations: 47.72 kB / 0.7915 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004824/1.137, allocations: 1.091 MB / 0.7926 GB, free: 6.789 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/1.149, allocations: 2.845 MB / 0.7953 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01674/1.165, allocations: 4.629 MB / 0.7999 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005822/1.171, allocations: 2.1 MB / 0.8019 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/1.173, allocations: 0.5786 MB / 0.8025 GB, free: 22.57 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004794/1.178, allocations: 1.684 MB / 0.8041 GB, free: 22.56 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/1.18, allocations: 0.9776 MB / 0.8051 GB, free: 22.56 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002992/1.18, allocations: 99.97 kB / 0.8052 GB, free: 22.55 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02092/1.201, allocations: 8.422 MB / 0.8134 GB, free: 22.5 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/1.202, allocations: 367.2 kB / 0.8137 GB, free: 22.5 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/1.204, allocations: 438.8 kB / 0.8142 GB, free: 22.46 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01142/1.215, allocations: 4.034 MB / 0.8181 GB, free: 21.02 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.215, allocations: 0 / 0.8181 GB, free: 21.02 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.465e-06/1.215, allocations: 0 / 0.8181 GB, free: 21.02 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.664e-05/1.215, allocations: 0 / 0.8181 GB, free: 21.02 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.007456/1.223, allocations: 3.078 MB / 0.8211 GB, free: 19.19 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.223, allocations: 13.34 kB / 0.8211 GB, free: 19.18 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004043/1.227, allocations: 0.5145 MB / 0.8216 GB, free: 18.97 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/1.229, allocations: 1.044 MB / 0.8226 GB, free: 18.42 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000463/1.229, allocations: 414.5 kB / 0.823 GB, free: 18.15 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003981/1.23, allocations: 204.9 kB / 0.8232 GB, free: 18.14 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004576/1.234, allocations: 2.248 MB / 0.8254 GB, free: 17.52 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/1.234, allocations: 6.891 kB / 0.8254 GB, free: 17.52 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/1.235, allocations: 76.97 kB / 0.8255 GB, free: 17.52 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.082e-05/1.235, allocations: 73.45 kB / 0.8256 GB, free: 17.51 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004954/1.24, allocations: 1.864 MB / 0.8274 GB, free: 17.2 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/1.253, allocations: 8.476 MB / 0.8357 GB, free: 11.46 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/1.257, allocations: 1.908 MB / 0.8375 GB, free: 11.18 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002768/1.259, allocations: 2.689 MB / 0.8402 GB, free: 8.199 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/1.259, allocations: 56.69 kB / 0.8402 GB, free: 8.156 MB / 0.573 GB Notification: Performance of pre-optimization done (n=179): time 4.528e-06/1.259, allocations: 0 / 0.8402 GB, free: 8.156 MB / 0.573 GB Notification: Performance of matching and sorting (n=181): time 0.0182/1.278, allocations: 7.403 MB / 0.8475 GB, free: 4.676 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/1.278, allocations: 84.64 kB / 0.8475 GB, free: 4.586 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/1.279, allocations: 0.8798 MB / 0.8484 GB, free: 3.898 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/1.279, allocations: 56.69 kB / 0.8484 GB, free: 3.863 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/1.28, allocations: 0.7746 MB / 0.8492 GB, free: 3.352 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006/1.281, allocations: 0.6035 MB / 0.8498 GB, free: 2.836 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/1.281, allocations: 32.44 kB / 0.8498 GB, free: 2.828 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.281, allocations: 365.9 kB / 0.8502 GB, free: 2.492 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/1.283, allocations: 0.7512 MB / 0.8509 GB, free: 1.969 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/1.284, allocations: 0.8812 MB / 0.8518 GB, free: 1.316 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/1.286, allocations: 0.798 MB / 0.8525 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.286, allocations: 4 kB / 0.8525 GB, free: 0.8086 MB / 0.573 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007524/1.294, allocations: 2.881 MB / 0.8554 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/1.294, allocations: 7.953 kB / 0.8554 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.294, allocations: 4 kB / 0.8554 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/1.296, allocations: 0.6132 MB / 0.856 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/1.298, allocations: 419.3 kB / 0.8564 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.311, allocations: 9.771 MB / 0.8659 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/1.313, allocations: 148.7 kB / 0.8661 GB, free: 4.348 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006169/1.314, allocations: 135.2 kB / 0.8662 GB, free: 4.23 MB / 0.5886 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 (164): * Single equations (assignments): 156 * 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,(3,88.9%) 15,(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00138/1.315, allocations: 354.4 kB / 0.8665 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/1.316, allocations: 150 kB / 0.8667 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.326, allocations: 3.544 MB / 0.8701 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/1.326, allocations: 20 kB / 0.8701 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/1.326, allocations: 8 kB / 0.8702 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.643e-05/1.326, allocations: 11.95 kB / 0.8702 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/1.338, allocations: 5.274 MB / 0.8753 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/1.338, allocations: 4 kB / 0.8753 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/1.34, allocations: 425.3 kB / 0.8757 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/1.342, allocations: 0.6313 MB / 0.8763 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003473/1.343, allocations: 83.31 kB / 0.8764 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/1.356, allocations: 9.768 MB / 0.886 GB, free: 3.145 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.356, allocations: 9.953 kB / 0.886 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.367, allocations: 4.07 MB / 0.8899 GB, free: 56 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006969/1.367, allocations: 214.4 kB / 0.8901 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005185/1.368, allocations: 36.38 kB / 0.8902 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.37, allocations: 154 kB / 0.8903 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004364/1.37, allocations: 168.2 kB / 0.8905 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003736/1.37, allocations: 143.1 kB / 0.8906 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001008/1.371, allocations: 0.5859 MB / 0.8912 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/1.371, allocations: 4 kB / 0.8912 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005103/1.377, allocations: 1.354 MB / 0.8925 GB, free: 13.76 MB / 0.6198 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,flowResistanceB.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 (167): * Single equations (assignments): 159 * 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,(3,88.9%) 15,(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.005711/1.382, allocations: 2.047 MB / 0.8945 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007208/1.39, allocations: 2.982 MB / 0.8974 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.39, allocations: 0 / 0.8974 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.005317/1.395, allocations: 2.17 MB / 0.8996 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/1.397, allocations: 375 kB / 0.8999 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.408, allocations: 5.16 MB / 0.905 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/1.409, allocations: 1.466 MB / 0.9064 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003408/1.412, allocations: 0.5283 MB / 0.9069 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.414, allocations: 253.2 kB / 0.9071 GB, free: 348 kB / 0.6198 GB Notification: Performance of SimCode: time 1.292e-06/1.414, allocations: 0 / 0.9071 GB, free: 348 kB / 0.6198 GB Notification: Performance of Templates: time 0.08702/1.501, allocations: 46.27 MB / 0.9523 GB, free: 2.453 MB / 0.6667 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