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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007796/0.0007797, allocations: 176.9 kB / 15.45 MB, free: 6.23 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.119/1.119, allocations: 205 MB / 221.2 MB, free: 1.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006413/0.0006413, allocations: 98.23 kB / 269.2 MB, free: 1.641 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.4808/0.4808, allocations: 90.52 MB / 407.6 MB, free: 15.07 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002499/0.00025, allocations: 8 kB / 484.3 MB, free: 3.461 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/0.09149, allocations: 65.82 MB / 0.5372 GB, free: 1.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6365/0.728, allocations: 329 MB / 0.8585 GB, free: 376 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03146/0.7595, allocations: 41.87 MB / 0.8994 GB, free: 8.055 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.7612, allocations: 43.19 kB / 0.8995 GB, free: 8.027 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.7636, allocations: 1.144 MB / 0.9006 GB, free: 7.363 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005386/0.769, allocations: 2.814 MB / 0.9033 GB, free: 5.5 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01116/0.7802, allocations: 5.008 MB / 0.9082 GB, free: 1.621 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002905/0.7831, allocations: 3.784 MB / 0.9119 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000728/0.7839, allocations: 0.6638 MB / 0.9126 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.7864, allocations: 1.967 MB / 0.9145 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009747/0.7873, allocations: 1.185 MB / 0.9157 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.7875, allocations: 100 kB / 0.9157 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01494/0.8025, allocations: 10.75 MB / 0.9262 GB, free: 456 kB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.8028, allocations: 388.3 kB / 0.9266 GB, free: 84 kB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008329/0.8036, allocations: 1.055 MB / 0.9276 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.007576/0.8112, allocations: 6.135 MB / 0.9336 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.8112, allocations: 7.938 kB / 0.9336 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8112, allocations: 0 / 0.9336 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.8112, allocations: 0 / 0.9336 GB, free: 9.297 MB / 0.6042 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.004881/0.8161, allocations: 3.078 MB / 0.9366 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.8162, allocations: 8.031 kB / 0.9367 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002535/0.8164, allocations: 274.6 kB / 0.9369 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.8195, allocations: 0.5279 MB / 0.9374 GB, free: 5.371 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.8209, allocations: 1.106 MB / 0.9385 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/0.8212, allocations: 421.3 kB / 0.9389 GB, free: 3.773 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.8215, allocations: 199.8 kB / 0.9391 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003566/0.8251, allocations: 2.272 MB / 0.9413 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.8251, allocations: 3.938 kB / 0.9413 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.8253, allocations: 76 kB / 0.9414 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.558e-05/0.8254, allocations: 75.8 kB / 0.9415 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/0.8287, allocations: 1.869 MB / 0.9433 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008166/0.8369, allocations: 8.495 MB / 0.9516 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.8402, allocations: 1.92 MB / 0.9535 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.842, allocations: 1.085 MB / 0.9545 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004194/0.8462, allocations: 6.653 MB / 0.961 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.8462, allocations: 52.56 kB / 0.9611 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=179): time 3.176e-06/0.8462, allocations: 4 kB / 0.9611 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=181): time 0.01455/0.8608, allocations: 7.339 MB / 0.9682 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.8608, allocations: 73.41 kB / 0.9683 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/0.8617, allocations: 0.8932 MB / 0.9692 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.8618, allocations: 57.7 kB / 0.9692 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.8622, allocations: 0.7818 MB / 0.97 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.8626, allocations: 0.6029 MB / 0.9706 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.8627, allocations: 32 kB / 0.9706 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8628, allocations: 365.9 kB / 0.971 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.8642, allocations: 0.7535 MB / 0.9717 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.8657, allocations: 0.8902 MB / 0.9726 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/0.8687, allocations: 1.697 MB / 0.9742 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8687, allocations: 0 / 0.9742 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005993/0.8747, allocations: 2.908 MB / 0.9771 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.8748, allocations: 7.938 kB / 0.9771 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.8748, allocations: 4 kB / 0.9771 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/0.8763, allocations: 0.6249 MB / 0.9777 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.8779, allocations: 419.5 kB / 0.9781 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.8883, allocations: 9.713 MB / 0.9876 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009456/0.8892, allocations: 151.8 kB / 0.9877 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.8894, allocations: 131.9 kB / 0.9879 GB, free: 14.69 MB / 0.6667 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.0005293/0.8899, allocations: 345.6 kB / 0.9882 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.8902, allocations: 154.1 kB / 0.9883 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007669/0.8979, allocations: 3.549 MB / 0.9918 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.8979, allocations: 20 kB / 0.9918 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8979, allocations: 4 kB / 0.9918 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.8979, allocations: 7.969 kB / 0.9918 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009033/0.907, allocations: 5.415 MB / 0.9971 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.907, allocations: 0 / 0.9971 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.9086, allocations: 427.6 kB / 0.9975 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.9101, allocations: 0.6245 MB / 0.9981 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.9103, allocations: 87.92 kB / 0.9982 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/0.9203, allocations: 9.697 MB / 1.008 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.9203, allocations: 4.125 kB / 1.008 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007485/0.9278, allocations: 4.065 MB / 1.012 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.928, allocations: 215.1 kB / 1.012 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.9282, allocations: 36 kB / 1.012 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009636/0.9291, allocations: 151.7 kB / 1.012 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.9294, allocations: 173.7 kB / 1.012 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/0.9296, allocations: 135.9 kB / 1.012 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006277/0.9302, allocations: 0.6032 MB / 1.013 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9302, allocations: 0 / 1.013 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002576/0.9328, allocations: 1.355 MB / 1.014 GB, free: 2.84 MB / 0.6823 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.1881/1.121, allocations: 6.541 MB / 1.021 GB, free: 306.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005845/1.127, allocations: 3.003 MB / 1.024 GB, free: 305.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.127, allocations: 0 / 1.024 GB, free: 305.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003897/1.131, allocations: 2.166 MB / 1.026 GB, free: 304.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/1.133, allocations: 421.9 kB / 1.026 GB, free: 304.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02904/1.162, allocations: 17.23 MB / 1.043 GB, free: 296.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009147/1.163, allocations: 1.43 MB / 1.044 GB, free: 296.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002305/1.165, allocations: 0.5235 MB / 1.045 GB, free: 296 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.166, allocations: 0.9256 MB / 1.046 GB, free: 295.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/1.166, allocations: 0 / 1.046 GB, free: 295.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07358/1.24, allocations: 64.32 MB / 1.109 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/1.24, allocations: 296.3 kB / 1.109 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/5.283, allocations: 1.562 kB / 1.109 GB, free: 242.6 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > 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