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.005675/0.005675, allocations: 101 kB / 15.73 MB, free: 6.059 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.001549/0.001549, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.324/1.324, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06907/0.06907, allocations: 10.98 MB / 280.9 MB, free: 10.14 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.002077/0.002077, allocations: 67.91 kB / 390 MB, free: 5.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2286, allocations: 48.75 MB / 438.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent): time 0.002061/0.2307, allocations: 1.356 MB / 440.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004569/0.2312, allocations: 214.1 kB / 440.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.2313, allocations: 0.5625 kB / 440.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.2313, allocations: 0.5312 kB / 440.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.2313, allocations: 5.141 kB / 440.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2316, allocations: 50.03 kB / 440.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.47e-05/0.2317, allocations: 24.7 kB / 440.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.2317, allocations: 6.688 kB / 440.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.2318, allocations: 13.72 kB / 440.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.2318, allocations: 14.2 kB / 440.5 MB, free: 4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2318, allocations: 2.719 kB / 440.5 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.232, allocations: 47.98 kB / 440.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.232, allocations: 13.84 kB / 440.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.232, allocations: 7.578 kB / 440.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.2322, allocations: 50.52 kB / 440.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2322, allocations: 1.375 kB / 440.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2322, allocations: 0 / 440.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.2322, allocations: 0.6875 kB / 440.6 MB, free: 3.965 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.0003474/0.2326, allocations: 355.4 kB / 440.9 MB, free: 3.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2326, allocations: 9.844 kB / 440.9 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.2327, allocations: 35.41 kB / 441 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.221e-05/0.2327, allocations: 6.328 kB / 441 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.129e-05/0.2328, allocations: 167.6 kB / 441.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.2328, allocations: 1.5 kB / 441.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.2328, allocations: 1.438 kB / 441.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.233, allocations: 52.92 kB / 441.2 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.233, allocations: 4.469 kB / 441.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.233, allocations: 4.703 kB / 441.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.233, allocations: 1.062 kB / 441.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.2332, allocations: 32.03 kB / 441.2 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.2335, allocations: 254.5 kB / 441.5 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.2336, allocations: 44.73 kB / 441.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.606e-05/0.2337, allocations: 19.72 kB / 441.5 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/0.2341, allocations: 190.7 kB / 441.7 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.2341, allocations: 31.25 kB / 441.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2341, allocations: 0.5 kB / 441.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003377/0.2344, allocations: 83.78 kB / 441.8 MB, free: 2.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.2345, allocations: 53.5 kB / 441.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.858e-05/0.2345, allocations: 105.8 kB / 442 MB, free: 2.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.2345, allocations: 27.14 kB / 442 MB, free: 2.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.028e-05/0.2346, allocations: 84.89 kB / 442.1 MB, free: 2.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.2346, allocations: 6.219 kB / 442.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.2346, allocations: 17.27 kB / 442.1 MB, free: 2.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.2347, allocations: 317.6 kB / 442.4 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.2347, allocations: 13.55 kB / 442.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.2348, allocations: 22.34 kB / 442.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.235, allocations: 40.66 kB / 442.5 MB, free: 2.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.235, allocations: 3.938 kB / 442.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001795/0.2352, allocations: 63.73 kB / 442.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2352, allocations: 9.703 kB / 442.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2352, allocations: 0 / 442.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2352, allocations: 0 / 442.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.2353, allocations: 13.86 kB / 442.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2353, allocations: 4.734 kB / 442.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.2354, allocations: 14.16 kB / 442.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.2354, allocations: 0 / 442.6 MB, free: 2.004 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 4.439e-05/0.2354, allocations: 117.1 kB / 442.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.2354, allocations: 2.125 kB / 442.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.2357, allocations: 71.95 kB / 442.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2357, allocations: 0 / 442.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2357, allocations: 0 / 442.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2357, allocations: 5.406 kB / 442.8 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.2358, allocations: 159.4 kB / 443 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2358, allocations: 0 / 443 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.2359, allocations: 9.969 kB / 443 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2359, allocations: 256 / 443 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.2359, allocations: 1.984 kB / 443 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2359, allocations: 4 kB / 443 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2359, allocations: 0 / 443 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.2361, allocations: 174.3 kB / 443.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.2361, allocations: 83.78 kB / 443.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.2361, allocations: 1.375 kB / 443.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.2362, allocations: 5.469 kB / 443.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.2362, allocations: 2.547 kB / 443.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.2363, allocations: 1.375 kB / 443.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.093e-05/0.2363, allocations: 88.98 kB / 443.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2363, allocations: 4.031 kB / 443.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.2365, allocations: 9 kB / 443.4 MB, free: 1.301 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.0003634/0.2369, allocations: 0.7095 MB / 444.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.2371, allocations: 38.5 kB / 444.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2371, allocations: 0 / 444.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.2372, allocations: 18 kB / 444.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.2375, allocations: 6.078 kB / 444.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.2378, allocations: 143.4 kB / 444.3 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.238, allocations: 0.688 MB / 445 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.469e-05/0.238, allocations: 5.984 kB / 445 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.2381, allocations: 9.641 kB / 445 MB, free: 15.74 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2381, allocations: 0 / 445 MB, free: 15.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.2591, allocations: 1.604 MB / 446.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.768, allocations: 13.22 kB / 446.6 MB, free: 15.29 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)