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.007851/0.007851, allocations: 97.16 kB / 15.73 MB, free: 6.055 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.001466/0.001466, allocations: 193.1 kB / 16.67 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.489/1.489, allocations: 205.1 MB / 222.6 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06526/0.06526, allocations: 10.98 MB / 280.9 MB, free: 9.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01775/0.01775, allocations: 4.237 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.002014/0.002014, allocations: 71.33 kB / 447.1 MB, free: 44.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09224, allocations: 49.74 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.002335/0.0946, allocations: 1.405 MB / 498.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.09642, allocations: 1.197 MB / 499.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.09646, allocations: 0 / 499.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.0965, allocations: 3.984 kB / 499.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.09659, allocations: 15.86 kB / 499.5 MB, free: 11.3 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.0008235/0.09742, allocations: 279.2 kB / 499.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.733e-05/0.09751, allocations: 51.77 kB / 499.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.96e-05/0.09755, allocations: 4 kB / 499.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.09758, allocations: 15.98 kB / 499.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.09765, allocations: 27.91 kB / 499.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.09767, allocations: 0 / 499.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006349/0.09831, allocations: 475.1 kB / 0.4886 GB, free: 10.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.09837, allocations: 27.91 kB / 0.4886 GB, free: 10.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.09842, allocations: 27.81 kB / 0.4886 GB, free: 10.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.09891, allocations: 378.9 kB / 0.489 GB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.09893, allocations: 0 / 0.489 GB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.09894, allocations: 0 / 0.489 GB, free: 10.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.09895, 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.0006609/0.09961, allocations: 434.7 kB / 0.4894 GB, free: 9.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.09966, allocations: 12.03 kB / 0.4894 GB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.0997, allocations: 50.66 kB / 0.4894 GB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.09973, allocations: 4.891 kB / 0.4895 GB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.09985, allocations: 172.3 kB / 0.4896 GB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.09986, allocations: 8.312 kB / 0.4896 GB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.09988, allocations: 384 / 0.4896 GB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.1001, allocations: 149.7 kB / 0.4898 GB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1002, allocations: 0 / 0.4898 GB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1002, allocations: 0 / 0.4898 GB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.1002, allocations: 27.98 kB / 0.4898 GB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.1005, allocations: 171.8 kB / 0.49 GB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.1012, allocations: 456.4 kB / 0.4904 GB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1014, allocations: 46.55 kB / 0.4904 GB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.1015, allocations: 24.91 kB / 0.4905 GB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.1015, allocations: 4 kB / 0.4905 GB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1015, allocations: 34.55 kB / 0.4905 GB, free: 8.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1015, allocations: 4 kB / 0.4905 GB, free: 8.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003475/0.1019, allocations: 97.53 kB / 0.4906 GB, free: 8.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.1019, allocations: 51.41 kB / 0.4906 GB, free: 8.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.102, allocations: 174.1 kB / 0.4908 GB, free: 7.949 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1021, allocations: 29.64 kB / 0.4908 GB, free: 7.914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.1022, allocations: 155.7 kB / 0.491 GB, free: 7.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.1022, allocations: 11.89 kB / 0.491 GB, free: 7.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.1022, allocations: 53.52 kB / 0.4911 GB, free: 7.688 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1023, allocations: 322.8 kB / 0.4914 GB, free: 7.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1025, allocations: 43.95 kB / 0.4914 GB, free: 7.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.1027, allocations: 173.9 kB / 0.4916 GB, free: 7.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.103, allocations: 233.7 kB / 0.4918 GB, free: 6.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.103, allocations: 0 / 0.4918 GB, free: 6.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004101/0.1034, allocations: 229.1 kB / 0.492 GB, free: 6.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1035, allocations: 4 kB / 0.492 GB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1035, allocations: 8 kB / 0.492 GB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1035, allocations: 4 kB / 0.492 GB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.1037, allocations: 56.53 kB / 0.4921 GB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.1037, allocations: 11.94 kB / 0.4921 GB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.1038, allocations: 27.83 kB / 0.4921 GB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.1039, allocations: 23.94 kB / 0.4921 GB, free: 6.43 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.0001028/0.104, allocations: 133.6 kB / 0.4923 GB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.104, allocations: 8.188 kB / 0.4923 GB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.1043, allocations: 101.9 kB / 0.4924 GB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1043, allocations: 4.031 kB / 0.4924 GB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1043, allocations: 0 / 0.4924 GB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1043, allocations: 0 / 0.4924 GB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.1045, allocations: 189.5 kB / 0.4926 GB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1045, allocations: 0 / 0.4926 GB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.1046, allocations: 8 kB / 0.4926 GB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1046, allocations: 0 / 0.4926 GB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1046, allocations: 11.98 kB / 0.4926 GB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1046, allocations: 0 / 0.4926 GB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1046, allocations: 4 kB / 0.4926 GB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1049, allocations: 175.4 kB / 0.4927 GB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.105, allocations: 85.06 kB / 0.4928 GB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.105, allocations: 0 / 0.4928 GB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.1051, allocations: 7.984 kB / 0.4928 GB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.1051, allocations: 4 kB / 0.4928 GB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1051, allocations: 8 kB / 0.4928 GB, free: 5.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.629e-05/0.1052, allocations: 124.3 kB / 0.493 GB, free: 5.477 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1052, allocations: 0 / 0.493 GB, free: 5.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004013/0.1056, allocations: 79.75 kB / 0.493 GB, free: 5.398 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.0007935/0.1064, allocations: 0.7668 MB / 0.4938 GB, free: 4.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.1068, allocations: 104.9 kB / 0.4939 GB, free: 4.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1068, allocations: 0 / 0.4939 GB, free: 4.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/0.1069, allocations: 35.97 kB / 0.4939 GB, free: 4.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1072, allocations: 6.344 kB / 0.4939 GB, free: 4.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/0.1079, allocations: 260.5 kB / 0.4942 GB, free: 4.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1082, allocations: 0.7044 MB / 0.4949 GB, free: 3.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.1084, allocations: 53.28 kB / 0.4949 GB, free: 3.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.1084, allocations: 35.41 kB / 0.4949 GB, free: 3.348 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1084, allocations: 4 kB / 0.495 GB, free: 3.344 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.1283, allocations: 3.096 MB / 0.498 GB, free: 348 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/7.947, allocations: 19.78 kB / 0.498 GB, free: 332 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)