Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.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.FluidDynamics.Components.Machines.tests_polynomialFlow_inv,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_tests_polynomialFlow_inv",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_tests_polynomialFlow_inv",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.00725/0.00725, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.001759/0.001759, allocations: 202.8 kB / 16.68 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.557/1.557, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07187/0.07187, allocations: 10.98 MB / 280.9 MB, free: 10.14 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01746/0.01746, allocations: 4.249 MB / 334.6 MB, free: 29.01 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.001517/0.001517, allocations: 67.08 kB / 447.1 MB, free: 44.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 49.75 MB / 496.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv): time 0.002145/0.106, allocations: 1.211 MB / 498 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1081, allocations: 1.182 MB / 499.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.1081, allocations: 0 / 499.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.348e-05/0.1082, allocations: 3.938 kB / 499.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.332e-05/0.1083, allocations: 4 kB / 499.2 MB, free: 11.53 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.0009887/0.1093, allocations: 274.7 kB / 499.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.128e-05/0.1094, allocations: 35.95 kB / 499.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.1094, allocations: 0 / 499.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.1095, allocations: 11.94 kB / 499.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.1096, allocations: 23.91 kB / 499.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1096, allocations: 0 / 499.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000679/0.1103, allocations: 467.1 kB / 0.4883 GB, free: 10.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.1103, allocations: 27.86 kB / 0.4883 GB, free: 10.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.1104, allocations: 15.88 kB / 0.4883 GB, free: 10.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004957/0.1109, allocations: 363 kB / 0.4887 GB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1109, allocations: 0 / 0.4887 GB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1109, allocations: 4 kB / 0.4887 GB, free: 10.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1109, allocations: 3.938 kB / 0.4887 GB, free: 10.33 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005896/0.1115, allocations: 410.8 kB / 0.4891 GB, free: 9.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1116, allocations: 8.031 kB / 0.4891 GB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.1116, allocations: 38.69 kB / 0.4891 GB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.1117, allocations: 8.875 kB / 0.4891 GB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1118, allocations: 176.3 kB / 0.4893 GB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1118, allocations: 8.359 kB / 0.4893 GB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1119, allocations: 4.375 kB / 0.4893 GB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.1121, allocations: 173.7 kB / 0.4895 GB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1122, allocations: 0 / 0.4895 GB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1122, allocations: 0 / 0.4895 GB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.1122, allocations: 23.84 kB / 0.4895 GB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.1125, allocations: 223.9 kB / 0.4897 GB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.1132, allocations: 0.6202 MB / 0.4903 GB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.1133, allocations: 169.1 kB / 0.4905 GB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.1134, allocations: 84.08 kB / 0.4906 GB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1134, allocations: 83.27 kB / 0.4906 GB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.1135, allocations: 105.8 kB / 0.4908 GB, free: 8.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.1135, allocations: 0 / 0.4908 GB, free: 8.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001225/0.1136, allocations: 37.66 kB / 0.4908 GB, free: 8.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.1137, allocations: 126.7 kB / 0.4909 GB, free: 7.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1139, allocations: 174.4 kB / 0.4911 GB, free: 7.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1139, allocations: 25.7 kB / 0.4911 GB, free: 7.652 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.114, allocations: 159.4 kB / 0.4913 GB, free: 7.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-06/0.114, allocations: 4 kB / 0.4913 GB, free: 7.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.1141, allocations: 53.66 kB / 0.4913 GB, free: 7.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1142, allocations: 326.7 kB / 0.4916 GB, free: 7.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.1143, allocations: 31.91 kB / 0.4916 GB, free: 7.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.1144, allocations: 164.6 kB / 0.4918 GB, free: 6.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.1146, allocations: 223.4 kB / 0.492 GB, free: 6.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1147, allocations: 0 / 0.492 GB, free: 6.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000381/0.115, allocations: 213.1 kB / 0.4922 GB, free: 6.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1151, allocations: 13.33 kB / 0.4922 GB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1151, allocations: 4 kB / 0.4922 GB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1151, allocations: 12 kB / 0.4922 GB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1153, allocations: 47.92 kB / 0.4923 GB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1153, allocations: 11.94 kB / 0.4923 GB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.1154, allocations: 27.81 kB / 0.4923 GB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.1154, allocations: 16 kB / 0.4923 GB, free: 6.207 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (23): * Single equations (assignments): 23 * 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.0001173/0.1155, allocations: 216.9 kB / 0.4926 GB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/0.1156, allocations: 112.9 kB / 0.4927 GB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.1157, allocations: 120.8 kB / 0.4928 GB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-05/0.1158, allocations: 180.3 kB / 0.4929 GB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.392e-05/0.1158, allocations: 176.3 kB / 0.4931 GB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.209e-05/0.1159, allocations: 184.2 kB / 0.4933 GB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.1162, allocations: 421.2 kB / 0.4937 GB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/0.1163, allocations: 104.9 kB / 0.4938 GB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.1163, allocations: 109 kB / 0.4939 GB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.136e-05/0.1164, allocations: 180.3 kB / 0.4941 GB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/0.1165, allocations: 184.2 kB / 0.4942 GB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.828e-05/0.1166, allocations: 176.3 kB / 0.4944 GB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.882e-05/0.1167, allocations: 180.2 kB / 0.4946 GB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.1169, allocations: 319.7 kB / 0.4949 GB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.117, allocations: 190 kB / 0.4951 GB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1171, allocations: 180.2 kB / 0.4952 GB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.1172, allocations: 108.9 kB / 0.4953 GB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.342e-05/0.1174, allocations: 180.3 kB / 0.4955 GB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.1174, allocations: 109 kB / 0.4956 GB, free: 2.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.746e-05/0.1175, allocations: 123.5 kB / 0.4957 GB, free: 2.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1175, allocations: 0 / 0.4957 GB, free: 2.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.118, allocations: 67.86 kB / 0.4958 GB, free: 2.43 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 (0): * Single equations (assignments): 0 * 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.0008027/0.1188, allocations: 0.8826 MB / 0.4967 GB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.119, allocations: 81.03 kB / 0.4967 GB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.119, allocations: 0 / 0.4967 GB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.119, allocations: 0 / 0.4967 GB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.1195, allocations: 467.8 kB / 0.4972 GB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.121, allocations: 0.6902 MB / 0.4979 GB, free: 252 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1215, allocations: 0.6889 MB / 0.4985 GB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.1218, allocations: 60.97 kB / 0.4986 GB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.1218, allocations: 27.44 kB / 0.4986 GB, free: 15.44 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1218, allocations: 0 / 0.4986 GB, free: 15.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.1459, allocations: 3.261 MB / 0.5018 GB, free: 12.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/7.908, allocations: 12 kB / 0.5018 GB, free: 12.26 MB / 350.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_tests_polynomialFlow_inv.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.pipe 2>&1)