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.005108/0.005108, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001387/0.001387, allocations: 203.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.543/1.543, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0709/0.0709, 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.01998/0.01998, allocations: 4.243 MB / 334.6 MB, free: 29.04 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.002005/0.002005, allocations: 74.2 kB / 447.1 MB, free: 44.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09189, allocations: 49.74 MB / 496.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv): time 0.00252/0.09447, allocations: 1.227 MB / 498 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.09657, allocations: 1.17 MB / 499.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.09661, allocations: 0 / 499.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.09666, allocations: 0 / 499.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.817e-05/0.09675, allocations: 15.91 kB / 499.2 MB, free: 11.54 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.0009353/0.09769, allocations: 275.2 kB / 499.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.552e-05/0.09777, allocations: 27.92 kB / 499.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.09782, allocations: 0 / 499.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.543e-05/0.09787, allocations: 15.97 kB / 499.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.09794, allocations: 19.92 kB / 499.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.09796, allocations: 0 / 499.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007688/0.09874, allocations: 467.1 kB / 0.4883 GB, free: 10.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.0988, allocations: 27.91 kB / 0.4883 GB, free: 10.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.09885, allocations: 19.88 kB / 0.4883 GB, free: 10.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.09936, allocations: 359 kB / 0.4887 GB, free: 10.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09937, allocations: 4 kB / 0.4887 GB, free: 10.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09938, allocations: 3.938 kB / 0.4887 GB, free: 10.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.09939, allocations: 0 / 0.4887 GB, free: 10.34 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.0006097/0.1, allocations: 414.7 kB / 0.4891 GB, free: 9.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1001, allocations: 8.031 kB / 0.4891 GB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.1001, allocations: 38.73 kB / 0.4891 GB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.1002, allocations: 4.891 kB / 0.4891 GB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1003, allocations: 184.3 kB / 0.4893 GB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1004, allocations: 384 / 0.4893 GB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.1004, allocations: 4.375 kB / 0.4893 GB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.1006, allocations: 165.8 kB / 0.4895 GB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1006, allocations: 0 / 0.4895 GB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1007, allocations: 0 / 0.4895 GB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.1007, allocations: 23.84 kB / 0.4895 GB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.101, allocations: 227.8 kB / 0.4897 GB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.1017, allocations: 0.6241 MB / 0.4903 GB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.639e-05/0.1018, allocations: 169.1 kB / 0.4905 GB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.1019, allocations: 80.14 kB / 0.4906 GB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.04e-05/0.102, allocations: 79.28 kB / 0.4906 GB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.529e-05/0.102, allocations: 109.8 kB / 0.4907 GB, free: 8.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.102, allocations: 0 / 0.4907 GB, free: 8.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001104/0.1022, allocations: 37.66 kB / 0.4908 GB, free: 8.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.1022, allocations: 126.7 kB / 0.4909 GB, free: 7.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1024, allocations: 174.4 kB / 0.4911 GB, free: 7.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1024, allocations: 25.7 kB / 0.4911 GB, free: 7.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1026, allocations: 163.4 kB / 0.4913 GB, free: 7.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-06/0.1026, allocations: 4 kB / 0.4913 GB, free: 7.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.1027, allocations: 53.66 kB / 0.4913 GB, free: 7.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1028, allocations: 326.8 kB / 0.4916 GB, free: 7.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.111e-05/0.1029, allocations: 23.98 kB / 0.4916 GB, free: 7.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.1031, allocations: 180.5 kB / 0.4918 GB, free: 6.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.1034, allocations: 215.4 kB / 0.492 GB, free: 6.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1034, allocations: 0 / 0.492 GB, free: 6.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000507/0.1039, allocations: 217.8 kB / 0.4922 GB, free: 6.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1039, allocations: 8.625 kB / 0.4922 GB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1039, allocations: 11.98 kB / 0.4922 GB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.104, allocations: 8 kB / 0.4923 GB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1041, allocations: 43.92 kB / 0.4923 GB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.1041, allocations: 15.98 kB / 0.4923 GB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.1042, allocations: 23.88 kB / 0.4923 GB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.1043, allocations: 16 kB / 0.4923 GB, free: 6.219 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.0001557/0.1044, allocations: 220.9 kB / 0.4926 GB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1045, allocations: 108.9 kB / 0.4927 GB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.1046, allocations: 124.8 kB / 0.4928 GB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.964e-05/0.1047, allocations: 184.2 kB / 0.493 GB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-05/0.1048, allocations: 176.3 kB / 0.4931 GB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.688e-05/0.1049, allocations: 180.2 kB / 0.4933 GB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.1052, allocations: 425.1 kB / 0.4937 GB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.516e-05/0.1052, allocations: 105 kB / 0.4938 GB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.1053, allocations: 104.9 kB / 0.4939 GB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.281e-05/0.1054, allocations: 180.3 kB / 0.4941 GB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.633e-05/0.1055, allocations: 184.2 kB / 0.4943 GB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.15e-05/0.1055, allocations: 180.2 kB / 0.4944 GB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.505e-05/0.1056, allocations: 176.3 kB / 0.4946 GB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1059, allocations: 319.7 kB / 0.4949 GB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.106, allocations: 194 kB / 0.4951 GB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.1061, allocations: 176.3 kB / 0.4952 GB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1062, allocations: 105 kB / 0.4953 GB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.1063, allocations: 184.2 kB / 0.4955 GB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.1063, allocations: 109 kB / 0.4956 GB, free: 2.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1065, allocations: 123.5 kB / 0.4957 GB, free: 2.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1065, allocations: 0 / 0.4957 GB, free: 2.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004178/0.1069, allocations: 63.88 kB / 0.4958 GB, free: 2.441 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.0007857/0.1077, allocations: 0.8864 MB / 0.4967 GB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1079, allocations: 76.97 kB / 0.4967 GB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1079, allocations: 0 / 0.4967 GB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.109e-06/0.1079, allocations: 256 / 0.4967 GB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1083, allocations: 467.6 kB / 0.4972 GB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.1096, allocations: 0.6941 MB / 0.4979 GB, free: 260 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.11, allocations: 0.6889 MB / 0.4985 GB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.1103, allocations: 60.98 kB / 0.4986 GB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.1103, allocations: 31.41 kB / 0.4986 GB, free: 15.44 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1103, allocations: 0 / 0.4986 GB, free: 15.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.1367, allocations: 3.246 MB / 0.5018 GB, free: 12.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.18, allocations: 15.23 kB / 0.5018 GB, free: 12.28 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_tests_polynomialFlow_inv_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Machines_tests_polynomialFlow_inv.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv.pipe 2>&1)