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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002272/0.002272, allocations: 216.5 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06884/0.06884, allocations: 11.06 MB / 297.1 MB, free: 10.82 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02163/0.02163, allocations: 4.313 MB / 355.9 MB, free: 15.83 MB / 302.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.91 kB / 477.5 MB, free: 21.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2583, allocations: 52.42 MB / 0.5175 GB, free: 8.219 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv): time 0.001931/0.2602, allocations: 1.227 MB / 0.5187 GB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2618, allocations: 1.204 MB / 0.5198 GB, free: 6.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.2618, allocations: 1 kB / 0.5198 GB, free: 6.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.2619, allocations: 5.109 kB / 0.5198 GB, free: 6.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.354e-05/0.2619, allocations: 3.594 kB / 0.5198 GB, free: 6.562 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.0009021/0.2628, allocations: 312.2 kB / 0.5201 GB, free: 6.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.2629, allocations: 30.25 kB / 0.5202 GB, free: 6.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.263, allocations: 3.031 kB / 0.5202 GB, free: 6.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.846e-05/0.263, allocations: 13.42 kB / 0.5202 GB, free: 6.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.2631, allocations: 21.55 kB / 0.5202 GB, free: 6.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.2631, allocations: 1.094 kB / 0.5202 GB, free: 6.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006969/0.2638, allocations: 0.553 MB / 0.5207 GB, free: 6.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.2638, allocations: 25.88 kB / 0.5208 GB, free: 6.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.2638, allocations: 28.36 kB / 0.5208 GB, free: 6.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.2642, allocations: 358.9 kB / 0.5211 GB, free: 5.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2642, allocations: 0 / 0.5211 GB, free: 5.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2642, allocations: 0 / 0.5211 GB, free: 5.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.2643, allocations: 4.984 kB / 0.5211 GB, free: 5.859 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.0004291/0.2647, allocations: 333.4 kB / 0.5215 GB, free: 5.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2647, allocations: 9.188 kB / 0.5215 GB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.225e-05/0.2647, allocations: 1.594 kB / 0.5215 GB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.387e-05/0.2648, allocations: 38.31 kB / 0.5215 GB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.2648, allocations: 11.28 kB / 0.5215 GB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.943e-05/0.2649, allocations: 113.2 kB / 0.5216 GB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2649, allocations: 5.516 kB / 0.5216 GB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.2649, allocations: 1.5 kB / 0.5216 GB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.2651, allocations: 167.8 kB / 0.5218 GB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2651, allocations: 7.938 kB / 0.5218 GB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2651, allocations: 5.172 kB / 0.5218 GB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.2652, allocations: 25.69 kB / 0.5218 GB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.2654, allocations: 228.2 kB / 0.522 GB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.2659, allocations: 0.5986 MB / 0.5226 GB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.787e-05/0.2659, allocations: 166.5 kB / 0.5228 GB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.266, allocations: 85.27 kB / 0.5229 GB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.266, allocations: 75.28 kB / 0.5229 GB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.266, allocations: 107.2 kB / 0.523 GB, free: 4.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.266, allocations: 4 kB / 0.5231 GB, free: 4.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.525e-05/0.2661, allocations: 38.19 kB / 0.5231 GB, free: 4.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.2661, allocations: 126.7 kB / 0.5232 GB, free: 4.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2662, allocations: 171 kB / 0.5234 GB, free: 3.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.2662, allocations: 26.86 kB / 0.5234 GB, free: 3.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.2663, allocations: 155.4 kB / 0.5235 GB, free: 3.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-06/0.2663, allocations: 1.5 kB / 0.5235 GB, free: 3.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.2663, allocations: 52.56 kB / 0.5236 GB, free: 3.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.2664, allocations: 329.5 kB / 0.5239 GB, free: 3.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.2664, allocations: 29.8 kB / 0.5239 GB, free: 3.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.2665, allocations: 173.5 kB / 0.5241 GB, free: 3.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2667, allocations: 221.7 kB / 0.5243 GB, free: 2.867 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2667, allocations: 1.562 kB / 0.5243 GB, free: 2.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003391/0.267, allocations: 212.1 kB / 0.5245 GB, free: 2.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.267, allocations: 6.625 kB / 0.5245 GB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.267, allocations: 5.438 kB / 0.5245 GB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.267, allocations: 6.781 kB / 0.5245 GB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.2672, allocations: 44.27 kB / 0.5246 GB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.2672, allocations: 14.89 kB / 0.5246 GB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-05/0.2673, allocations: 34.38 kB / 0.5246 GB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.2673, allocations: 16.5 kB / 0.5246 GB, free: 2.711 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 6.847e-05/0.2674, allocations: 217.6 kB / 0.5248 GB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.2674, allocations: 113.2 kB / 0.525 GB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.2675, allocations: 113.8 kB / 0.5251 GB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.2675, allocations: 185.5 kB / 0.5252 GB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/0.2675, allocations: 180.3 kB / 0.5254 GB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/0.2675, allocations: 181.5 kB / 0.5256 GB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2677, allocations: 398.5 kB / 0.526 GB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.2677, allocations: 106.2 kB / 0.5261 GB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.2677, allocations: 102.5 kB / 0.5262 GB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.98e-05/0.2677, allocations: 184.2 kB / 0.5263 GB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.2677, allocations: 181.4 kB / 0.5265 GB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.885e-05/0.2677, allocations: 177.5 kB / 0.5267 GB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.167e-05/0.2678, allocations: 189.5 kB / 0.5269 GB, free: 340 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.415e-05/0.2679, allocations: 311.2 kB / 0.5272 GB, free: 12 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.2679, allocations: 123.9 kB / 0.5273 GB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/0.268, allocations: 180.2 kB / 0.5275 GB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.2681, allocations: 106.4 kB / 0.5276 GB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.2682, allocations: 177.9 kB / 0.5277 GB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.2682, allocations: 101 kB / 0.5278 GB, free: 15.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.728e-05/0.2683, allocations: 124.6 kB / 0.5279 GB, free: 15.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2683, allocations: 7.938 kB / 0.5279 GB, free: 15.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000402/0.2687, allocations: 66.69 kB / 0.528 GB, free: 15.19 MB / 350.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.0007811/0.2695, allocations: 0.8688 MB / 0.5289 GB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.2697, allocations: 87.7 kB / 0.5289 GB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2697, allocations: 0 / 0.5289 GB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.2697, allocations: 0 / 0.5289 GB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.2701, allocations: 461.2 kB / 0.5294 GB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.2713, allocations: 0.6927 MB / 0.5301 GB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2717, allocations: 0.6893 MB / 0.5307 GB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.2719, allocations: 60.17 kB / 0.5308 GB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.2719, allocations: 31.25 kB / 0.5308 GB, free: 12.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2719, allocations: 0 / 0.5308 GB, free: 12.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.2954, allocations: 3.504 MB / 0.5342 GB, free: 10.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.08, allocations: 10.3 kB / 0.5343 GB, free: 10.65 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=0.1 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.67374734103214] Failed to read output from testmodel.py, exit status != 0: 11.232072915998287 11.254189604 10.986271097 Calling exit ...