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.005713/0.005713, allocations: 167.1 kB / 15.13 MB, free: 6.02 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.411/1.411, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0008684/0.0008684, allocations: 82.31 kB / 269.6 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.7068/0.7068, allocations: 90.59 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 12 kB / 485.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4382, allocations: 66.28 MB / 0.5386 GB, free: 45.49 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5895/1.028, allocations: 304.1 MB / 0.8356 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03334/1.061, allocations: 38.53 MB / 0.8732 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/1.063, allocations: 48.88 kB / 0.8733 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002516/1.066, allocations: 1.089 MB / 0.8743 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007067/1.073, allocations: 2.727 MB / 0.877 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01293/1.086, allocations: 4.6 MB / 0.8815 GB, free: 484 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004882/1.091, allocations: 3.37 MB / 0.8848 GB, free: 16 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/1.092, allocations: 0.577 MB / 0.8853 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003789/1.096, allocations: 1.874 MB / 0.8872 GB, free: 14.89 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/1.097, allocations: 1.123 MB / 0.8883 GB, free: 14.25 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/1.097, allocations: 96 kB / 0.8884 GB, free: 14.16 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01867/1.116, allocations: 9.787 MB / 0.8979 GB, free: 5.961 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007786/1.117, allocations: 381.7 kB / 0.8983 GB, free: 5.805 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/1.118, allocations: 437.8 kB / 0.8987 GB, free: 5.523 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008163/1.126, allocations: 4.187 MB / 0.9028 GB, free: 2.129 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.126, allocations: 0 / 0.9028 GB, free: 2.129 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.264e-06/1.126, allocations: 0 / 0.9028 GB, free: 2.129 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.756e-05/1.126, allocations: 4 kB / 0.9028 GB, free: 2.125 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.006633/1.133, allocations: 3.108 MB / 0.9058 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.133, allocations: 8.031 kB / 0.9058 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/1.136, allocations: 0.5183 MB / 0.9063 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/1.138, allocations: 1.07 MB / 0.9074 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003899/1.138, allocations: 411.7 kB / 0.9078 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/1.138, allocations: 198.5 kB / 0.908 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004044/1.142, allocations: 2.269 MB / 0.9102 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/1.143, allocations: 0 / 0.9102 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/1.143, allocations: 73.5 kB / 0.9102 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-05/1.143, allocations: 71.56 kB / 0.9103 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003677/1.146, allocations: 1.866 MB / 0.9121 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/1.157, allocations: 8.479 MB / 0.9204 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/1.161, allocations: 1.915 MB / 0.9223 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/1.163, allocations: 1.088 MB / 0.9234 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005208/1.168, allocations: 6.654 MB / 0.9299 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/1.168, allocations: 54.06 kB / 0.9299 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=179): time 4.007e-06/1.168, allocations: 0 / 0.9299 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of matching and sorting (n=181): time 0.01698/1.185, allocations: 7.311 MB / 0.937 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.185, allocations: 77.41 kB / 0.9371 GB, free: 1.637 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/1.186, allocations: 0.8815 MB / 0.938 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/1.186, allocations: 53.7 kB / 0.938 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004889/1.187, allocations: 0.7748 MB / 0.9388 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/1.187, allocations: 0.6107 MB / 0.9394 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/1.187, allocations: 28 kB / 0.9394 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.188, allocations: 361.9 kB / 0.9398 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/1.189, allocations: 0.7496 MB / 0.9405 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/1.191, allocations: 0.8979 MB / 0.9414 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/1.192, allocations: 0.7972 MB / 0.9421 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.192, allocations: 4 kB / 0.9421 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006552/1.199, allocations: 2.892 MB / 0.945 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.199, allocations: 7.938 kB / 0.945 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.199, allocations: 4 kB / 0.945 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/1.201, allocations: 0.6242 MB / 0.9456 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/1.203, allocations: 411.5 kB / 0.946 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/1.214, allocations: 9.706 MB / 0.9555 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/1.216, allocations: 155.8 kB / 0.9556 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/1.216, allocations: 135.9 kB / 0.9557 GB, free: 13.83 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.0007815/1.217, allocations: 341.4 kB / 0.9561 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/1.217, allocations: 158.1 kB / 0.9562 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00874/1.226, allocations: 3.552 MB / 0.9597 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/1.226, allocations: 20 kB / 0.9597 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/1.226, allocations: 6.625 kB / 0.9597 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/1.226, allocations: 11.92 kB / 0.9597 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/1.237, allocations: 5.393 MB / 0.965 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.237, allocations: 4 kB / 0.965 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/1.239, allocations: 423.6 kB / 0.9654 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/1.241, allocations: 0.6284 MB / 0.966 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/1.241, allocations: 83.94 kB / 0.9661 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/1.252, allocations: 9.687 MB / 0.9755 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.253, allocations: 4.031 kB / 0.9756 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00876/1.261, allocations: 4.044 MB / 0.9795 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/1.262, allocations: 211.1 kB / 0.9797 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/1.262, allocations: 36 kB / 0.9797 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.263, allocations: 159.7 kB / 0.9799 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/1.263, allocations: 165.7 kB / 0.98 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/1.264, allocations: 131.9 kB / 0.9802 GB, free: 4.062 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007078/1.264, allocations: 0.5915 MB / 0.9808 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.264, allocations: 0 / 0.9808 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003387/1.268, allocations: 1.355 MB / 0.9821 GB, free: 2.109 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.003607/1.271, allocations: 2.053 MB / 0.9841 GB, free: 180 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005663/1.277, allocations: 2.979 MB / 0.987 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.277, allocations: 0 / 0.987 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00379/1.281, allocations: 2.162 MB / 0.9891 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/1.283, allocations: 417.1 kB / 0.9895 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007756/1.291, allocations: 5.143 MB / 0.9945 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/1.291, allocations: 1.428 MB / 0.9959 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002453/1.294, allocations: 0.522 MB / 0.9964 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008108/1.295, allocations: 255.3 kB / 0.9967 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of SimCode: time 5.81e-07/1.295, allocations: 0 / 0.9967 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of Templates: time 0.2957/1.59, allocations: 46.6 MB / 1.042 GB, free: 288.3 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