Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_polynomialFlow.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.test_polynomialFlow,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_test_polynomialFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_polynomialFlow,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_test_polynomialFlow",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.004982/0.004982, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001336/0.001336, allocations: 202.3 kB / 16.68 MB, free: 5.965 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.518/1.518, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07139/0.07139, 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.02033/0.02033, allocations: 4.244 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.00208/0.00208, allocations: 70.94 kB / 447.1 MB, free: 44.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07987/0.08196, allocations: 49.75 MB / 496.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_polynomialFlow): time 0.002783/0.08479, allocations: 1.412 MB / 498.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.08688, allocations: 1.197 MB / 499.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.08694, allocations: 0 / 499.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.08699, allocations: 3.938 kB / 499.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.466e-05/0.08707, allocations: 7.922 kB / 499.5 MB, free: 11.31 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.0008927/0.08797, allocations: 275.2 kB / 499.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.634e-05/0.08808, allocations: 55.77 kB / 499.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.08812, allocations: 4 kB / 499.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.08817, allocations: 15.98 kB / 499.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.131e-05/0.08827, allocations: 31.83 kB / 499.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.08829, allocations: 4 kB / 499.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007616/0.08906, allocations: 471.1 kB / 0.4886 GB, free: 10.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.08913, allocations: 23.91 kB / 0.4886 GB, free: 10.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.08919, allocations: 39.8 kB / 0.4886 GB, free: 10.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005587/0.08975, allocations: 366.9 kB / 0.489 GB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.08977, allocations: 4 kB / 0.489 GB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.08977, allocations: 0 / 0.489 GB, free: 10.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.08978, allocations: 0 / 0.489 GB, free: 10.04 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007585/0.09055, allocations: 430.7 kB / 0.4894 GB, free: 9.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.09059, allocations: 16.03 kB / 0.4894 GB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.09064, allocations: 38.75 kB / 0.4894 GB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.09068, allocations: 4.891 kB / 0.4894 GB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.09083, allocations: 188.1 kB / 0.4896 GB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.09085, allocations: 384 / 0.4896 GB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.09087, allocations: 8.375 kB / 0.4896 GB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.09117, allocations: 145.8 kB / 0.4898 GB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.09119, allocations: 0 / 0.4898 GB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.0912, allocations: 0 / 0.4898 GB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.09125, allocations: 31.91 kB / 0.4898 GB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.09161, allocations: 175.8 kB / 0.49 GB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.09235, allocations: 452.4 kB / 0.4904 GB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.09252, allocations: 46.61 kB / 0.4904 GB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.09263, allocations: 28.77 kB / 0.4905 GB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.09267, allocations: 4 kB / 0.4905 GB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.09271, allocations: 34.56 kB / 0.4905 GB, free: 8.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.09272, allocations: 4 kB / 0.4905 GB, free: 8.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003806/0.0931, allocations: 93.59 kB / 0.4906 GB, free: 8.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.09316, allocations: 55.39 kB / 0.4907 GB, free: 8.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.09332, allocations: 166.1 kB / 0.4908 GB, free: 7.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.09335, allocations: 25.7 kB / 0.4908 GB, free: 7.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.09346, allocations: 151.8 kB / 0.491 GB, free: 7.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.09349, allocations: 19.88 kB / 0.491 GB, free: 7.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.09356, allocations: 53.52 kB / 0.4911 GB, free: 7.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.09371, allocations: 326.8 kB / 0.4914 GB, free: 7.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.09386, allocations: 43.89 kB / 0.4914 GB, free: 7.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.0941, allocations: 166 kB / 0.4916 GB, free: 7.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.09451, allocations: 241.7 kB / 0.4918 GB, free: 6.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.09452, allocations: 4 kB / 0.4918 GB, free: 6.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004547/0.09498, allocations: 221.1 kB / 0.492 GB, free: 6.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.09502, allocations: 10.19 kB / 0.492 GB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.09504, allocations: 11.92 kB / 0.492 GB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.09506, allocations: 8 kB / 0.492 GB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.09525, allocations: 44.55 kB / 0.4921 GB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.09528, allocations: 15.98 kB / 0.4921 GB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.09542, allocations: 27.84 kB / 0.4921 GB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.09545, allocations: 12 kB / 0.4921 GB, free: 6.445 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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.0001288/0.09558, allocations: 141.6 kB / 0.4923 GB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.09562, allocations: 15.83 kB / 0.4923 GB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.09595, allocations: 98.11 kB / 0.4924 GB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.09597, allocations: 3.984 kB / 0.4924 GB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.09598, allocations: 0 / 0.4924 GB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.09599, allocations: 4 kB / 0.4924 GB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.09621, allocations: 181.6 kB / 0.4926 GB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.09622, allocations: 0 / 0.4926 GB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-05/0.09629, allocations: 11.98 kB / 0.4926 GB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.0963, allocations: 0 / 0.4926 GB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.09631, allocations: 0 / 0.4926 GB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.09632, allocations: 4 kB / 0.4926 GB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.09634, allocations: 4 kB / 0.4926 GB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.09662, allocations: 179.3 kB / 0.4927 GB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.09669, allocations: 89.05 kB / 0.4928 GB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.09671, allocations: 0 / 0.4928 GB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.0968, allocations: 4 kB / 0.4928 GB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.09686, allocations: 11.98 kB / 0.4928 GB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.09687, allocations: 4 kB / 0.4929 GB, free: 5.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.09698, allocations: 124.3 kB / 0.493 GB, free: 5.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09699, allocations: 0 / 0.493 GB, free: 5.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004235/0.09741, allocations: 79.73 kB / 0.493 GB, free: 5.402 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 (3): * Single equations (assignments): 3 * 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.0008512/0.09827, allocations: 0.7631 MB / 0.4938 GB, free: 4.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003686/0.09865, allocations: 108.9 kB / 0.4939 GB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.09867, allocations: 0 / 0.4939 GB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.579e-05/0.09877, allocations: 24.05 kB / 0.4939 GB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.09909, allocations: 11.98 kB / 0.4939 GB, free: 4.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.09974, allocations: 260.5 kB / 0.4942 GB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1001, allocations: 0.7043 MB / 0.4949 GB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.1003, allocations: 61.17 kB / 0.4949 GB, free: 3.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.1003, allocations: 35.42 kB / 0.495 GB, free: 3.348 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1003, allocations: 0 / 0.495 GB, free: 3.348 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.1254, allocations: 3.105 MB / 0.498 GB, free: 344 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.048, allocations: 11.73 kB / 0.498 GB, free: 336 kB / 334.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_polynomialFlow.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_polynomialFlow.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_polynomialFlow.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_polynomialFlow.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_polynomialFlow_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_test_polynomialFlow.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.test_polynomialFlow.pipe 2>&1)