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.001111/0.001111, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06676/0.06676, allocations: 10.98 MB / 280.7 MB, free: 10.21 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.00142/0.00142, allocations: 72.36 kB / 340.6 MB, free: 22.74 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07625/0.07769, allocations: 48.74 MB / 389.4 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent): time 0.002487/0.08021, allocations: 1.374 MB / 390.7 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004603/0.08069, allocations: 203.3 kB / 390.9 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.08074, allocations: 0 / 390.9 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.08077, allocations: 0 / 390.9 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.08082, allocations: 11.92 kB / 390.9 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.08108, allocations: 55.81 kB / 391 MB, free: 4.289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.134e-05/0.08115, allocations: 19.92 kB / 391 MB, free: 4.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.0812, allocations: 4 kB / 391 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.08125, allocations: 11.94 kB / 391 MB, free: 4.254 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.0813, allocations: 11.98 kB / 391 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.08132, allocations: 0 / 391 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.08144, allocations: 51.94 kB / 391.1 MB, free: 4.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.08146, allocations: 3.938 kB / 391.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.0815, allocations: 19.92 kB / 391.1 MB, free: 4.168 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.08164, allocations: 56.14 kB / 391.2 MB, free: 4.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.08165, allocations: 0 / 391.2 MB, free: 4.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.08166, allocations: 0 / 391.2 MB, free: 4.113 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.08167, allocations: 0 / 391.2 MB, free: 4.113 MB / 286.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.0004375/0.08211, allocations: 347.4 kB / 391.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.08216, allocations: 8.031 kB / 391.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.0822, allocations: 34.75 kB / 391.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.08223, allocations: 12.78 kB / 391.6 MB, free: 3.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.08237, allocations: 172.3 kB / 391.7 MB, free: 3.453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.08238, allocations: 384 / 391.7 MB, free: 3.453 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.0824, allocations: 4.375 kB / 391.7 MB, free: 3.449 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.08256, allocations: 46.25 kB / 391.8 MB, free: 3.398 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.08258, allocations: 7.922 kB / 391.8 MB, free: 3.391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.08259, allocations: 0 / 391.8 MB, free: 3.391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.0826, allocations: 0 / 391.8 MB, free: 3.391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.08276, allocations: 31.97 kB / 391.8 MB, free: 3.359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.08311, allocations: 260.9 kB / 392.1 MB, free: 3.055 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.08324, allocations: 42.48 kB / 392.1 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.08333, allocations: 20.91 kB / 392.1 MB, free: 2.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003996/0.08374, allocations: 190.2 kB / 392.3 MB, free: 2.758 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.08377, allocations: 30.56 kB / 392.4 MB, free: 2.719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.08377, allocations: 0 / 392.4 MB, free: 2.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003307/0.08411, allocations: 85.48 kB / 392.4 MB, free: 2.629 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.08415, allocations: 55.53 kB / 392.5 MB, free: 2.562 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.08423, allocations: 105.8 kB / 392.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.08426, allocations: 29.64 kB / 392.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.08431, allocations: 88.12 kB / 392.7 MB, free: 2.324 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.08434, allocations: 3.906 kB / 392.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.08438, allocations: 13.72 kB / 392.7 MB, free: 2.301 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.08449, allocations: 318.8 kB / 393 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.811e-05/0.08458, allocations: 19.98 kB / 393.1 MB, free: 1.961 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/0.08466, allocations: 15.98 kB / 393.1 MB, free: 1.945 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.08481, allocations: 40.81 kB / 393.1 MB, free: 1.902 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.08482, allocations: 3.938 kB / 393.1 MB, free: 1.898 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/0.085, allocations: 65.67 kB / 393.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.08503, allocations: 8 kB / 393.2 MB, free: 1.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.08504, allocations: 3.938 kB / 393.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.08506, allocations: 0 / 393.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.08515, allocations: 7.984 kB / 393.2 MB, free: 1.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.08516, allocations: 4 kB / 393.2 MB, free: 1.805 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.08521, allocations: 4.234 kB / 393.2 MB, free: 1.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.08523, allocations: 4 kB / 393.2 MB, free: 1.797 MB / 286.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 0.0001076/0.08534, allocations: 113.8 kB / 393.3 MB, free: 1.676 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.08537, allocations: 4 kB / 393.3 MB, free: 1.672 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.0856, allocations: 76.72 kB / 393.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.08562, allocations: 0 / 393.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.08563, allocations: 0 / 393.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.08563, allocations: 3.984 kB / 393.4 MB, free: 1.586 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.0858, allocations: 157.6 kB / 393.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.08581, allocations: 4 kB / 393.6 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.08588, allocations: 12.02 kB / 393.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.08589, allocations: 0 / 393.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.0859, allocations: 0 / 393.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.0859, allocations: 0 / 393.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.08591, allocations: 4 kB / 393.6 MB, free: 1.363 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.08615, allocations: 167.4 kB / 393.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.08619, allocations: 81.14 kB / 393.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.0862, allocations: 0 / 393.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.08628, allocations: 7.984 kB / 393.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.08631, allocations: 0 / 393.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.08632, allocations: 0 / 393.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.938e-05/0.08637, allocations: 87.22 kB / 393.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08638, allocations: 3.938 kB / 393.9 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.0866, allocations: 15.98 kB / 393.9 MB, free: 0.9727 MB / 286.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.0005073/0.08711, allocations: 0.6968 MB / 394.6 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.08732, allocations: 39.95 kB / 394.7 MB, free: 212 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.08734, allocations: 4.094 kB / 394.7 MB, free: 208 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.08742, allocations: 19.92 kB / 394.7 MB, free: 188 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.08771, allocations: 15.27 kB / 394.7 MB, free: 176 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.08811, allocations: 155.5 kB / 394.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.08837, allocations: 0.6729 MB / 395.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.468e-05/0.0884, allocations: 8.047 kB / 395.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.08843, allocations: 7.438 kB / 395.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08844, allocations: 0 / 395.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.1057, allocations: 1.578 MB / 397.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.076, allocations: 16.19 kB / 397.1 MB, free: 13.75 MB / 302.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)