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.00736/0.00736, 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.001349/0.001349, allocations: 195.9 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.494/1.494, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07109/0.07109, allocations: 10.97 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.0201/0.0201, allocations: 4.24 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.002062/0.002062, allocations: 70.61 kB / 447.1 MB, free: 44.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08644/0.08852, allocations: 49.75 MB / 496.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv): time 0.002564/0.09113, allocations: 1.207 MB / 498 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.0934, allocations: 1.178 MB / 499.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.09346, allocations: 0 / 499.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.09351, allocations: 0 / 499.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.09363, allocations: 3.938 kB / 499.2 MB, free: 11.65 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.0009284/0.09456, allocations: 279.2 kB / 499.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.531e-05/0.09465, allocations: 35.89 kB / 499.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.0947, allocations: 4 kB / 499.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.002e-05/0.09474, allocations: 11.94 kB / 499.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.09481, allocations: 11.98 kB / 499.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.09483, allocations: 4 kB / 499.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007823/0.09562, allocations: 471.1 kB / 0.4883 GB, free: 10.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.09568, allocations: 27.91 kB / 0.4883 GB, free: 10.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.09573, allocations: 23.86 kB / 0.4884 GB, free: 10.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.09622, allocations: 351 kB / 0.4887 GB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.09623, allocations: 4 kB / 0.4887 GB, free: 10.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09624, allocations: 4 kB / 0.4887 GB, free: 10.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.09626, allocations: 0 / 0.4887 GB, free: 10.45 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.0005978/0.09686, allocations: 410.7 kB / 0.4891 GB, free: 10 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.09691, allocations: 12.03 kB / 0.4891 GB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.09696, allocations: 42.73 kB / 0.4891 GB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.09703, allocations: 4.891 kB / 0.4891 GB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.09717, allocations: 176.3 kB / 0.4893 GB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.09719, allocations: 4.375 kB / 0.4893 GB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.09721, allocations: 4.359 kB / 0.4893 GB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.09746, allocations: 173.7 kB / 0.4895 GB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.09748, allocations: 0 / 0.4895 GB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.0975, allocations: 0 / 0.4895 GB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.09754, allocations: 19.84 kB / 0.4895 GB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.09782, allocations: 231.9 kB / 0.4897 GB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007196/0.09855, allocations: 0.6201 MB / 0.4903 GB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.967e-05/0.09866, allocations: 173.1 kB / 0.4905 GB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.0987, allocations: 80.14 kB / 0.4906 GB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.09874, allocations: 79.28 kB / 0.4907 GB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.0988, allocations: 105.8 kB / 0.4908 GB, free: 8.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.09881, allocations: 0 / 0.4908 GB, free: 8.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001146/0.09893, allocations: 37.59 kB / 0.4908 GB, free: 8.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.09901, allocations: 130.7 kB / 0.4909 GB, free: 7.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.09922, allocations: 174.4 kB / 0.4911 GB, free: 7.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.09925, allocations: 25.7 kB / 0.4911 GB, free: 7.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.09936, allocations: 163.4 kB / 0.4913 GB, free: 7.602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.09937, allocations: 0 / 0.4913 GB, free: 7.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.09944, allocations: 53.66 kB / 0.4913 GB, free: 7.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.0996, allocations: 322.8 kB / 0.4916 GB, free: 7.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.09966, allocations: 35.86 kB / 0.4917 GB, free: 7.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.09983, allocations: 176.5 kB / 0.4918 GB, free: 6.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.1001, allocations: 215.4 kB / 0.492 GB, free: 6.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1001, allocations: 0 / 0.492 GB, free: 6.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003982/0.1005, allocations: 213.1 kB / 0.4922 GB, free: 6.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1005, allocations: 8.719 kB / 0.4922 GB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1005, allocations: 4 kB / 0.4922 GB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1006, allocations: 15.94 kB / 0.4923 GB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1007, allocations: 43.92 kB / 0.4923 GB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.1007, allocations: 8 kB / 0.4923 GB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.1009, allocations: 27.88 kB / 0.4923 GB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.1009, allocations: 19.98 kB / 0.4924 GB, free: 6.32 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.0001551/0.1011, allocations: 216.9 kB / 0.4926 GB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1012, allocations: 116.9 kB / 0.4927 GB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595e-05/0.1013, allocations: 112.9 kB / 0.4928 GB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.389e-05/0.1014, allocations: 180.2 kB / 0.4929 GB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.693e-05/0.1015, allocations: 188.2 kB / 0.4931 GB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.66e-05/0.1015, allocations: 176.3 kB / 0.4933 GB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.1018, allocations: 421.1 kB / 0.4937 GB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.435e-05/0.1019, allocations: 109 kB / 0.4938 GB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.1019, allocations: 108.9 kB / 0.4939 GB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.15e-05/0.102, allocations: 176.3 kB / 0.4941 GB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.191e-05/0.1021, allocations: 176.3 kB / 0.4942 GB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.8e-05/0.1022, allocations: 184.2 kB / 0.4944 GB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.021e-05/0.1023, allocations: 176.3 kB / 0.4946 GB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1025, allocations: 323.6 kB / 0.4949 GB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.1026, allocations: 182 kB / 0.4951 GB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.1027, allocations: 188.2 kB / 0.4952 GB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1029, allocations: 105 kB / 0.4953 GB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.103, allocations: 188.2 kB / 0.4955 GB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.171e-05/0.1031, allocations: 101 kB / 0.4956 GB, free: 2.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1032, allocations: 127.5 kB / 0.4957 GB, free: 2.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1032, allocations: 0 / 0.4957 GB, free: 2.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.1037, allocations: 63.88 kB / 0.4958 GB, free: 2.547 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.001001/0.1047, allocations: 0.8825 MB / 0.4967 GB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1048, allocations: 81.08 kB / 0.4967 GB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1049, allocations: 0 / 0.4967 GB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.1049, allocations: 0 / 0.4967 GB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1053, allocations: 470.1 kB / 0.4972 GB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.1067, allocations: 0.6941 MB / 0.4979 GB, free: 368 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.1071, allocations: 0.6889 MB / 0.4985 GB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002359/0.1074, allocations: 64.91 kB / 0.4986 GB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.1074, allocations: 27.42 kB / 0.4986 GB, free: 15.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1074, allocations: 0 / 0.4986 GB, free: 15.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.1328, allocations: 3.247 MB / 0.5018 GB, free: 12.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.114, allocations: 12.56 kB / 0.5018 GB, free: 12.38 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)