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.001188/0.001188, 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.001549/0.001549, allocations: 195.5 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.545/1.545, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06565/0.06565, allocations: 10.99 MB / 280.7 MB, free: 10.21 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01752/0.01752, allocations: 4.235 MB / 334.4 MB, free: 29.13 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.00255/0.00255, allocations: 63.91 kB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3024, allocations: 49.73 MB / 446.4 MB, free: 47.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv): time 0.002209/0.3047, allocations: 1.213 MB / 447.6 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.3063, allocations: 1.172 MB / 448.8 MB, free: 46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.3064, allocations: 0 / 448.8 MB, free: 46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.3064, allocations: 3.984 kB / 448.8 MB, free: 45.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.3065, allocations: 14.3 kB / 448.8 MB, free: 45.98 MB / 318.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.0008592/0.3074, allocations: 271.9 kB / 449.1 MB, free: 45.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.731e-05/0.3074, allocations: 27.64 kB / 449.1 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.3075, allocations: 8.984 kB / 449.1 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.864e-05/0.3075, allocations: 7.844 kB / 449.1 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.3076, allocations: 19.62 kB / 449.1 MB, free: 45.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.3076, allocations: 0.9688 kB / 449.1 MB, free: 45.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006056/0.3082, allocations: 469.4 kB / 449.6 MB, free: 45.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.3083, allocations: 30.47 kB / 449.6 MB, free: 45.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.3083, allocations: 19.62 kB / 449.6 MB, free: 45.47 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.3087, allocations: 355.8 kB / 450 MB, free: 45.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3087, allocations: 0 / 450 MB, free: 45.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3087, allocations: 0.7812 kB / 450 MB, free: 45.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3087, allocations: 0 / 450 MB, free: 45.27 MB / 318.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.0004802/0.3092, allocations: 406.5 kB / 450.4 MB, free: 44.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3093, allocations: 13.69 kB / 450.4 MB, free: 44.85 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.3093, allocations: 38 kB / 450.4 MB, free: 44.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.3094, allocations: 7.25 kB / 450.4 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.478e-05/0.3095, allocations: 173.7 kB / 450.6 MB, free: 44.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3095, allocations: 1.719 kB / 450.6 MB, free: 44.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3095, allocations: 5.688 kB / 450.6 MB, free: 44.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.3097, allocations: 167.5 kB / 450.8 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3098, allocations: 1.062 kB / 450.8 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3098, allocations: 0 / 450.8 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.3098, allocations: 22.11 kB / 450.8 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.3101, allocations: 232.5 kB / 451 MB, free: 44.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005996/0.3107, allocations: 0.6187 MB / 451.7 MB, free: 43.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.819e-05/0.3108, allocations: 175.4 kB / 451.8 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.3108, allocations: 84.08 kB / 451.9 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.3108, allocations: 83.22 kB / 452 MB, free: 43.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.3108, allocations: 111.1 kB / 452.1 MB, free: 43.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3108, allocations: 0 / 452.1 MB, free: 43.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 9.974e-05/0.3109, allocations: 38.84 kB / 452.1 MB, free: 43.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.311, allocations: 126.7 kB / 452.3 MB, free: 43.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3111, allocations: 178.3 kB / 452.4 MB, free: 43.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-06/0.3111, allocations: 27.17 kB / 452.5 MB, free: 43.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.3112, allocations: 146.6 kB / 452.6 MB, free: 42.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-06/0.3112, allocations: 9.047 kB / 452.6 MB, free: 42.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.3112, allocations: 48.05 kB / 452.7 MB, free: 42.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.3113, allocations: 321.7 kB / 453 MB, free: 42.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.702e-05/0.3113, allocations: 31.03 kB / 453 MB, free: 42.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.609e-05/0.3114, allocations: 176.2 kB / 453.2 MB, free: 42.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3116, allocations: 220.7 kB / 453.4 MB, free: 42.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3116, allocations: 2.156 kB / 453.4 MB, free: 42.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003552/0.312, allocations: 208.4 kB / 453.6 MB, free: 41.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.312, allocations: 7.781 kB / 453.6 MB, free: 41.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.312, allocations: 5.094 kB / 453.6 MB, free: 41.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.3121, allocations: 6.219 kB / 453.6 MB, free: 41.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.3122, allocations: 51.78 kB / 453.7 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3122, allocations: 7.281 kB / 453.7 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.526e-05/0.3123, allocations: 29.59 kB / 453.7 MB, free: 41.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.3124, allocations: 21.12 kB / 453.7 MB, free: 41.93 MB / 318.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 7.849e-05/0.3124, allocations: 215 kB / 453.9 MB, free: 41.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.3125, allocations: 108 kB / 454 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.3125, allocations: 120 kB / 454.2 MB, free: 41.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.3126, allocations: 184.2 kB / 454.3 MB, free: 41.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.929e-05/0.3126, allocations: 180.1 kB / 454.5 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.58e-05/0.3126, allocations: 180.3 kB / 454.7 MB, free: 40.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.3128, allocations: 430.2 kB / 455.1 MB, free: 40.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/0.3128, allocations: 104.8 kB / 455.2 MB, free: 40.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.3129, allocations: 104.9 kB / 455.3 MB, free: 40.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.721e-05/0.3129, allocations: 180.2 kB / 455.5 MB, free: 40.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.3129, allocations: 184.2 kB / 455.7 MB, free: 39.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.854e-05/0.313, allocations: 181.5 kB / 455.8 MB, free: 39.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.872e-05/0.313, allocations: 177.6 kB / 456 MB, free: 39.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.3131, allocations: 322.4 kB / 456.3 MB, free: 39.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.3132, allocations: 188.3 kB / 456.5 MB, free: 38.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.3132, allocations: 177.3 kB / 456.7 MB, free: 38.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.3133, allocations: 110.1 kB / 456.8 MB, free: 38.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.3133, allocations: 185.3 kB / 457 MB, free: 38.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3133, allocations: 106.1 kB / 457.1 MB, free: 38.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.105e-05/0.3134, allocations: 116.1 kB / 457.2 MB, free: 38.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3134, allocations: 0.9688 kB / 457.2 MB, free: 38.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.3138, allocations: 73.61 kB / 457.3 MB, free: 38.28 MB / 318.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.0005259/0.3144, allocations: 0.8859 MB / 458.2 MB, free: 37.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.3145, allocations: 79.66 kB / 458.2 MB, free: 37.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3145, allocations: 0 / 458.2 MB, free: 37.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.3146, allocations: 0 / 458.2 MB, free: 37.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.3148, allocations: 463.3 kB / 458.7 MB, free: 36.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.316, allocations: 0.6938 MB / 459.4 MB, free: 36.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.3162, allocations: 0.6925 MB / 460.1 MB, free: 35.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.3164, allocations: 64.33 kB / 460.1 MB, free: 35.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.3165, allocations: 22.28 kB / 460.2 MB, free: 35.66 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3165, allocations: 4 kB / 460.2 MB, free: 35.65 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.3378, allocations: 3.216 MB / 463.4 MB, free: 33.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.678, allocations: 8.141 kB / 463.4 MB, free: 33.52 MB / 318.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)