Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) 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_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Functions_ExchangerEffectiveness_Inverse_test_NTU_counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Functions_ExchangerEffectiveness_Inverse_test_NTU_counter",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.007846/0.007846, allocations: 100 kB / 15.73 MB, free: 6.008 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.00128/0.00128, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.522/1.522, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06699/0.06699, allocations: 10.98 MB / 280.9 MB, free: 10.13 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01757/0.01757, allocations: 4.246 MB / 334.6 MB, free: 29 MB / 254.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.002547/0.002548, allocations: 63.11 kB / 447.1 MB, free: 44.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1095, allocations: 49.74 MB / 496.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter): time 0.003157/0.1127, allocations: 1.373 MB / 498.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000487/0.1132, allocations: 243.5 kB / 498.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.1133, allocations: 0 / 498.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.1133, allocations: 3.938 kB / 498.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.877e-05/0.1134, allocations: 3.938 kB / 498.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.1136, allocations: 51.81 kB / 498.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.507e-05/0.1137, allocations: 27.91 kB / 498.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.1137, allocations: 4 kB / 498.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.1137, allocations: 11.98 kB / 498.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.529e-05/0.1138, allocations: 11.94 kB / 498.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.1138, allocations: 0 / 498.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1139, allocations: 55.88 kB / 498.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.1139, allocations: 7.984 kB / 498.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.114, allocations: 7.938 kB / 498.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1141, allocations: 55.86 kB / 498.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1141, allocations: 0 / 498.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1141, allocations: 0 / 498.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1142, allocations: 4 kB / 498.7 MB, free: 12.09 MB / 334.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.0004037/0.1146, allocations: 347.3 kB / 499 MB, free: 11.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1146, allocations: 8.031 kB / 499 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.1147, allocations: 34.73 kB / 499.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.1147, allocations: 8.891 kB / 499.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1148, allocations: 160.4 kB / 499.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1148, allocations: 384 / 499.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1148, allocations: 4.375 kB / 499.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.115, allocations: 54.17 kB / 499.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.115, allocations: 7.938 kB / 499.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.115, allocations: 0 / 499.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.115, allocations: 3.938 kB / 499.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.1152, allocations: 31.95 kB / 499.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.1156, allocations: 260.9 kB / 499.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1157, allocations: 42.48 kB / 499.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.48e-05/0.1158, allocations: 24.91 kB / 499.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003903/0.1162, allocations: 178.1 kB / 499.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1163, allocations: 38.55 kB / 499.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1163, allocations: 0 / 499.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003466/0.1166, allocations: 81.61 kB / 499.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1167, allocations: 55.39 kB / 500 MB, free: 10.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.1167, allocations: 101.9 kB / 0.4884 GB, free: 10.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.1168, allocations: 25.7 kB / 0.4884 GB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.1168, allocations: 84.27 kB / 0.4885 GB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.1168, allocations: 7.938 kB / 0.4885 GB, free: 10.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.1169, allocations: 17.72 kB / 0.4885 GB, free: 10.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.117, allocations: 310.8 kB / 0.4888 GB, free: 9.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.1171, allocations: 11.98 kB / 0.4888 GB, free: 9.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.1171, allocations: 23.92 kB / 0.4888 GB, free: 9.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1173, allocations: 40.88 kB / 0.4889 GB, free: 9.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1173, allocations: 7.938 kB / 0.4889 GB, free: 9.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001839/0.1175, allocations: 61.66 kB / 0.4889 GB, free: 9.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1175, allocations: 8 kB / 0.4889 GB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1175, allocations: 0 / 0.4889 GB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1176, allocations: 0 / 0.4889 GB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-05/0.1176, allocations: 8.031 kB / 0.4889 GB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1176, allocations: 3.938 kB / 0.489 GB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.1177, allocations: 7.984 kB / 0.489 GB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1177, allocations: 4 kB / 0.489 GB, free: 9.793 MB / 334.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 7.181e-05/0.1178, allocations: 117.7 kB / 0.4891 GB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1178, allocations: 0 / 0.4891 GB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.118, allocations: 76.77 kB / 0.4891 GB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1181, allocations: 0 / 0.4891 GB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1181, allocations: 256 / 0.4891 GB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1181, allocations: 0 / 0.4891 GB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.1182, allocations: 161.6 kB / 0.4893 GB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1182, allocations: 3.938 kB / 0.4893 GB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.1183, allocations: 15.97 kB / 0.4893 GB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1183, allocations: 0 / 0.4893 GB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1183, allocations: 0 / 0.4893 GB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1183, allocations: 0 / 0.4893 GB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1183, allocations: 0 / 0.4893 GB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1186, allocations: 175.4 kB / 0.4895 GB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.1186, allocations: 81.11 kB / 0.4896 GB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1186, allocations: 0 / 0.4896 GB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.1187, allocations: 7.984 kB / 0.4896 GB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.1188, allocations: 0 / 0.4896 GB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1188, allocations: 4.031 kB / 0.4896 GB, free: 9.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.784e-05/0.1188, allocations: 87.27 kB / 0.4897 GB, free: 8.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1188, allocations: 0 / 0.4897 GB, free: 8.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.119, allocations: 11.94 kB / 0.4897 GB, free: 8.965 MB / 334.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.0005077/0.1196, allocations: 0.7046 MB / 0.4904 GB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1198, allocations: 35.95 kB / 0.4904 GB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1198, allocations: 0 / 0.4904 GB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.1199, allocations: 15.98 kB / 0.4904 GB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.1202, allocations: 14.17 kB / 0.4904 GB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.1206, allocations: 147.8 kB / 0.4906 GB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.1208, allocations: 0.6807 MB / 0.4912 GB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.484e-05/0.1208, allocations: 3.953 kB / 0.4912 GB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.1209, allocations: 11.44 kB / 0.4912 GB, free: 7.262 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1209, allocations: 0 / 0.4912 GB, free: 7.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.1381, allocations: 1.653 MB / 0.4929 GB, free: 5.715 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.07, allocations: 12.55 kB / 0.4929 GB, free: 5.699 MB / 334.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Functions_ExchangerEffectiveness_Inverse_test_NTU_counter.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe 2>&1)