Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/TAeZoSysPro master/package.mo", uses=false) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_HeatTransfer_Functions_ExchangerEffectiveness_Tests_test_counterCurrent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_HeatTransfer_Functions_ExchangerEffectiveness_Tests_test_counterCurrent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004435/0.004435, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07035/0.07035, allocations: 10.96 MB / 280.9 MB, free: 10.13 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 67.89 kB / 390 MB, free: 5.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2952, allocations: 48.75 MB / 438.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent): time 0.002956/0.2982, allocations: 1.364 MB / 440.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005488/0.2988, allocations: 211.1 kB / 440.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.2989, allocations: 0 / 440.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.2989, allocations: 5.906 kB / 440.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.299, allocations: 3.938 kB / 440.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.2994, allocations: 45.86 kB / 440.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.645e-05/0.2994, allocations: 20.67 kB / 440.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.2995, allocations: 11.08 kB / 440.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.2996, allocations: 12.98 kB / 440.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.351e-05/0.2996, allocations: 10.41 kB / 440.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2996, allocations: 6.156 kB / 440.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.2999, allocations: 48.45 kB / 440.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.2999, allocations: 10.52 kB / 440.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.2999, allocations: 11.28 kB / 440.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.3001, allocations: 54.62 kB / 440.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3001, allocations: 0.6562 kB / 440.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3001, allocations: 0.5938 kB / 440.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3001, allocations: 0 / 440.6 MB, free: 3.93 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004125/0.3005, allocations: 351.8 kB / 440.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3006, allocations: 13.31 kB / 440.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.251e-05/0.3006, allocations: 31.94 kB / 441 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.3007, allocations: 6.422 kB / 441 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.882e-05/0.3007, allocations: 167.4 kB / 441.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.3008, allocations: 1.375 kB / 441.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.3008, allocations: 1.406 kB / 441.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.301, allocations: 49.58 kB / 441.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.301, allocations: 3.938 kB / 441.2 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.301, allocations: 1.328 kB / 441.2 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.301, allocations: 4 kB / 441.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.3012, allocations: 33.33 kB / 441.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.3016, allocations: 253.5 kB / 441.5 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3017, allocations: 44.7 kB / 441.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3018, allocations: 28.05 kB / 441.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004092/0.3022, allocations: 182.4 kB / 441.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.3023, allocations: 32.23 kB / 441.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3023, allocations: 0 / 441.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003829/0.3027, allocations: 91.91 kB / 441.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.3027, allocations: 52.59 kB / 441.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.3028, allocations: 97.89 kB / 442 MB, free: 2.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.3028, allocations: 31.72 kB / 442 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.3028, allocations: 81.91 kB / 442.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3028, allocations: 5.141 kB / 442.1 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.3029, allocations: 17.38 kB / 442.1 MB, free: 2.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.3029, allocations: 317.3 kB / 442.4 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.004e-05/0.303, allocations: 13.52 kB / 442.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-05/0.3031, allocations: 22.78 kB / 442.5 MB, free: 2.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3033, allocations: 36.03 kB / 442.5 MB, free: 2.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3033, allocations: 3.938 kB / 442.5 MB, free: 2.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002045/0.3035, allocations: 71.22 kB / 442.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3035, allocations: 10.28 kB / 442.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3036, allocations: 0 / 442.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3036, allocations: 5.125 kB / 442.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.3037, allocations: 8.031 kB / 442.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.3037, allocations: 2.266 kB / 442.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.3037, allocations: 9.578 kB / 442.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3038, allocations: 6.219 kB / 442.6 MB, free: 1.977 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.3038, allocations: 110.5 kB / 442.7 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.3039, allocations: 10.06 kB / 442.7 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.3041, allocations: 70.92 kB / 442.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3041, allocations: 1.703 kB / 442.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3041, allocations: 0 / 442.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.3041, allocations: 5.25 kB / 442.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.3043, allocations: 163.9 kB / 443 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3043, allocations: 0.6094 kB / 443 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.3043, allocations: 9.438 kB / 443 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3043, allocations: 0 / 443 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3044, allocations: 0 / 443 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3044, allocations: 2.203 kB / 443 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3044, allocations: 0 / 443 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3046, allocations: 169.9 kB / 443.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.3046, allocations: 79.86 kB / 443.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3047, allocations: 1.375 kB / 443.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.3047, allocations: 5.578 kB / 443.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.3048, allocations: 2.5 kB / 443.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3048, allocations: 1.438 kB / 443.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.827e-05/0.3048, allocations: 83.88 kB / 443.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3048, allocations: 1.031 kB / 443.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.3051, allocations: 12.27 kB / 443.3 MB, free: 1.281 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005135/0.3056, allocations: 0.7055 MB / 444 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.3059, allocations: 40.16 kB / 444.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3059, allocations: 3.938 kB / 444.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.306, allocations: 19.36 kB / 444.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3063, allocations: 8.438 kB / 444.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.3067, allocations: 145.8 kB / 444.3 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.3069, allocations: 0.6848 MB / 444.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.868e-05/0.307, allocations: 5.828 kB / 444.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.307, allocations: 9.625 kB / 445 MB, free: 15.71 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.307, allocations: 0 / 445 MB, free: 15.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.3231, allocations: 1.616 MB / 446.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.443, allocations: 5.828 kB / 446.6 MB, free: 15.26 MB / 334.1 MB (rm -f TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.pipe ; mkfifo TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.pipe ; head -c 1048576 < TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.pipe >> ../files/TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 TAeZoSysPro_TAeZoSysPro_HeatTransfer_Functions_ExchangerEffectiveness_Tests_test_counterCurrent.fmu > TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.pipe 2>&1)