Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_crossCurrent.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_crossCurrent,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_HeatTransfer_Functions_ExchangerEffectiveness_Tests_test_crossCurrent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_crossCurrent,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_HeatTransfer_Functions_ExchangerEffectiveness_Tests_test_crossCurrent",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.001044/0.001044, allocations: 108 kB / 15.6 MB, free: 132 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.001097/0.001098, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06612/0.06612, allocations: 10.98 MB / 280.7 MB, free: 10.24 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.001362/0.001362, allocations: 63.91 kB / 340.6 MB, free: 22.74 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07434/0.07571, allocations: 48.74 MB / 389.4 MB, free: 5.941 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_crossCurrent): time 0.002264/0.07801, allocations: 1.398 MB / 390.8 MB, free: 4.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004697/0.07849, allocations: 211.3 kB / 391 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.07854, allocations: 0 / 391 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.07857, allocations: 3.938 kB / 391 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.143e-05/0.07862, allocations: 11.94 kB / 391 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.07891, allocations: 95.75 kB / 391.1 MB, free: 4.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.07898, allocations: 31.92 kB / 391.1 MB, free: 4.176 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.07903, allocations: 4 kB / 391.1 MB, free: 4.172 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.07907, allocations: 15.92 kB / 391.1 MB, free: 4.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.07912, allocations: 23.91 kB / 391.1 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.07914, allocations: 4 kB / 391.1 MB, free: 4.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.07932, allocations: 111.9 kB / 391.3 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.07934, allocations: 4 kB / 391.3 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.07937, allocations: 15.88 kB / 391.3 MB, free: 4 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.07952, allocations: 100 kB / 391.4 MB, free: 3.902 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.07954, allocations: 0 / 391.4 MB, free: 3.902 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.07954, allocations: 0 / 391.4 MB, free: 3.902 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.07955, allocations: 0 / 391.4 MB, free: 3.902 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004098/0.07996, allocations: 355.4 kB / 391.7 MB, free: 3.504 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.08001, allocations: 8.031 kB / 391.7 MB, free: 3.496 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.08005, allocations: 42.75 kB / 391.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.08008, allocations: 0.9375 kB / 391.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.08019, allocations: 172.3 kB / 391.9 MB, free: 3.238 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.0802, allocations: 384 / 391.9 MB, free: 3.238 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.08022, allocations: 4.375 kB / 391.9 MB, free: 3.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.0804, allocations: 66.2 kB / 392 MB, free: 3.164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.08042, allocations: 3.938 kB / 392 MB, free: 3.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.08043, allocations: 0 / 392 MB, free: 3.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.08044, allocations: 4 kB / 392 MB, free: 3.156 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.08064, allocations: 55.94 kB / 392.1 MB, free: 3.102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.08102, allocations: 292.7 kB / 392.4 MB, free: 2.766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.08116, allocations: 50.55 kB / 392.4 MB, free: 2.707 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.128e-05/0.08126, allocations: 28.94 kB / 392.4 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.08245, allocations: 0.9687 MB / 393.4 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.08248, allocations: 30.56 kB / 393.4 MB, free: 1.465 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.08249, allocations: 0 / 393.4 MB, free: 1.465 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003534/0.08285, allocations: 105.6 kB / 393.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.08289, allocations: 55.34 kB / 393.6 MB, free: 1.289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.08296, allocations: 105.8 kB / 393.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.08298, allocations: 29.7 kB / 393.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.08302, allocations: 88.05 kB / 393.8 MB, free: 1.051 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.08304, allocations: 15.75 kB / 393.8 MB, free: 1.035 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.08308, allocations: 13.72 kB / 393.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.08328, allocations: 322.8 kB / 394.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.08337, allocations: 19.98 kB / 394.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/0.08347, allocations: 41.69 kB / 394.2 MB, free: 0.625 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.08364, allocations: 61.78 kB / 394.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.08365, allocations: 0 / 394.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002197/0.08388, allocations: 81.66 kB / 394.4 MB, free: 484 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.0839, allocations: 4 kB / 394.4 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.08391, allocations: 4.031 kB / 394.4 MB, free: 476 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.08393, allocations: 4 kB / 394.4 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.08402, allocations: 16.3 kB / 394.4 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.08403, allocations: 4 kB / 394.4 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.08409, allocations: 15.89 kB / 394.4 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.08411, allocations: 4 kB / 394.4 MB, free: 432 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 6.322e-05/0.08418, allocations: 113.8 kB / 394.5 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.08421, allocations: 0 / 394.5 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.08448, allocations: 101.5 kB / 394.6 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.08449, allocations: 3.938 kB / 394.6 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.0845, allocations: 0 / 394.6 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.08451, allocations: 3.938 kB / 394.6 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.08468, allocations: 173.7 kB / 394.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.08468, allocations: 0 / 394.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.08475, allocations: 15.98 kB / 394.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.08477, allocations: 4 kB / 394.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.08478, allocations: 3.938 kB / 394.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.08478, allocations: 0 / 394.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.08479, allocations: 0 / 394.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.08503, allocations: 183.3 kB / 395 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.08507, allocations: 77.11 kB / 395.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.0851, allocations: 8 kB / 395.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.08517, allocations: 4 kB / 395.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.08521, allocations: 3.984 kB / 395.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.08522, allocations: 4 kB / 395.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.93e-05/0.08527, allocations: 83.28 kB / 395.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08527, allocations: 3.938 kB / 395.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.08553, allocations: 31.92 kB / 395.2 MB, free: 15.51 MB / 302.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 (4): * Single equations (assignments): 4 * 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.0005577/0.08609, allocations: 0.7278 MB / 395.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.08633, allocations: 59.89 kB / 396 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.08634, allocations: 0 / 396 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.465e-05/0.08644, allocations: 32.03 kB / 396 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.0867, allocations: 11.27 kB / 396 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.0871, allocations: 171.6 kB / 396.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.0873, allocations: 0.6771 MB / 396.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.08735, allocations: 19.92 kB / 396.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.08738, allocations: 15.31 kB / 396.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.08739, allocations: 0 / 396.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.1052, allocations: 2.022 MB / 398.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.12, allocations: 15.92 kB / 399 MB, free: 11.77 MB / 302.1 MB (rm -f TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_crossCurrent.pipe ; mkfifo TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_crossCurrent.pipe ; head -c 1048576 < TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_crossCurrent.pipe >> ../files/TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_crossCurrent.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_crossCurrent_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_crossCurrent.fmu > TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_crossCurrent.pipe 2>&1)