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.00172/0.00172, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001951/0.001951, allocations: 216.2 kB / 23.02 MB, free: 4.945 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.37/1.37, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.08473/0.08473, allocations: 11.07 MB / 297.2 MB, free: 10.52 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.02155/0.02155, allocations: 4.32 MB / 355.9 MB, free: 15.57 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.002036/0.002036, allocations: 71.89 kB / 477.4 MB, free: 21.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2573, allocations: 52.43 MB / 0.5174 GB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Machines.tests_polynomialFlow_inv): time 0.002086/0.2594, allocations: 1.22 MB / 0.5186 GB, free: 7.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.261, allocations: 1.1 MB / 0.5197 GB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.2611, allocations: 1.375 kB / 0.5197 GB, free: 6.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.2611, allocations: 1.359 kB / 0.5197 GB, free: 6.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.2612, allocations: 10.64 kB / 0.5197 GB, free: 6.512 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.0009124/0.2621, allocations: 304.8 kB / 0.52 GB, free: 6.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.2621, allocations: 30.95 kB / 0.52 GB, free: 6.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.2622, allocations: 5.203 kB / 0.52 GB, free: 6.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.2622, allocations: 16.33 kB / 0.52 GB, free: 6.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.2623, allocations: 15.11 kB / 0.5201 GB, free: 6.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2623, allocations: 1.156 kB / 0.5201 GB, free: 6.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006325/0.2629, allocations: 0.4931 MB / 0.5205 GB, free: 6.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.263, allocations: 21.64 kB / 0.5206 GB, free: 6.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.263, allocations: 21.11 kB / 0.5206 GB, free: 6.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.2634, allocations: 348.9 kB / 0.5209 GB, free: 5.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.2634, allocations: 0 / 0.5209 GB, free: 5.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2634, allocations: 3.938 kB / 0.5209 GB, free: 5.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2634, allocations: 1.125 kB / 0.5209 GB, free: 5.828 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.0004521/0.2639, allocations: 341.4 kB / 0.5212 GB, free: 5.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.2639, allocations: 9.625 kB / 0.5213 GB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.672e-05/0.2639, allocations: 5.25 kB / 0.5213 GB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.514e-05/0.2639, allocations: 42.11 kB / 0.5213 GB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.264, allocations: 7.141 kB / 0.5213 GB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.098e-05/0.2641, allocations: 109.7 kB / 0.5214 GB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2641, allocations: 1.594 kB / 0.5214 GB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2641, allocations: 1.625 kB / 0.5214 GB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.2643, allocations: 171.7 kB / 0.5216 GB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2643, allocations: 4 kB / 0.5216 GB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2643, allocations: 0.8125 kB / 0.5216 GB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.2644, allocations: 21.31 kB / 0.5216 GB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.2646, allocations: 236.9 kB / 0.5218 GB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.2652, allocations: 0.5834 MB / 0.5224 GB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.2652, allocations: 170.6 kB / 0.5226 GB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.2652, allocations: 84.12 kB / 0.5226 GB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.2652, allocations: 80.34 kB / 0.5227 GB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.2652, allocations: 107.8 kB / 0.5228 GB, free: 4.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2652, allocations: 0 / 0.5228 GB, free: 4.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.737e-05/0.2653, allocations: 34.81 kB / 0.5229 GB, free: 4.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.2654, allocations: 126.7 kB / 0.523 GB, free: 4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2655, allocations: 175.2 kB / 0.5231 GB, free: 3.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-06/0.2655, allocations: 31.02 kB / 0.5232 GB, free: 3.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.2656, allocations: 155.2 kB / 0.5233 GB, free: 3.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-06/0.2656, allocations: 5.359 kB / 0.5233 GB, free: 3.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.2656, allocations: 52.66 kB / 0.5234 GB, free: 3.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.2657, allocations: 325.4 kB / 0.5237 GB, free: 3.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.322e-05/0.2657, allocations: 29.78 kB / 0.5237 GB, free: 3.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/0.2658, allocations: 174.1 kB / 0.5239 GB, free: 3.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.2659, allocations: 217.3 kB / 0.5241 GB, free: 2.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2659, allocations: 2.375 kB / 0.5241 GB, free: 2.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003462/0.2663, allocations: 221.2 kB / 0.5243 GB, free: 2.727 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2663, allocations: 6.875 kB / 0.5243 GB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2663, allocations: 5.5 kB / 0.5243 GB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2663, allocations: 6.875 kB / 0.5243 GB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.2665, allocations: 43.67 kB / 0.5244 GB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2665, allocations: 10.81 kB / 0.5244 GB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/0.2666, allocations: 29.41 kB / 0.5244 GB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.2666, allocations: 17.56 kB / 0.5244 GB, free: 2.695 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 7.571e-05/0.2667, allocations: 221 kB / 0.5246 GB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.2667, allocations: 122 kB / 0.5247 GB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.2668, allocations: 117.4 kB / 0.5249 GB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.2668, allocations: 177.6 kB / 0.525 GB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-05/0.2668, allocations: 190.2 kB / 0.5252 GB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.578e-05/0.2668, allocations: 177.2 kB / 0.5254 GB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.267, allocations: 391.9 kB / 0.5257 GB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.267, allocations: 106.5 kB / 0.5259 GB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.345e-05/0.267, allocations: 105 kB / 0.526 GB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.05e-05/0.267, allocations: 181.5 kB / 0.5261 GB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.267, allocations: 177.7 kB / 0.5263 GB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.038e-05/0.2671, allocations: 181.8 kB / 0.5265 GB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.089e-05/0.2671, allocations: 182.2 kB / 0.5266 GB, free: 328 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.2672, allocations: 323.9 kB / 0.5269 GB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.2673, allocations: 109.1 kB / 0.5271 GB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.2673, allocations: 181.6 kB / 0.5272 GB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.2674, allocations: 108.9 kB / 0.5273 GB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.2675, allocations: 178.5 kB / 0.5275 GB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.2676, allocations: 106.5 kB / 0.5276 GB, free: 15.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.157e-05/0.2677, allocations: 119.9 kB / 0.5277 GB, free: 15.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2677, allocations: 0 / 0.5277 GB, free: 15.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004091/0.2681, allocations: 70.36 kB / 0.5278 GB, free: 15.18 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.000743/0.2688, allocations: 0.8748 MB / 0.5286 GB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.269, allocations: 80.22 kB / 0.5287 GB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.269, allocations: 1.156 kB / 0.5287 GB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.269, allocations: 0 / 0.5287 GB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.2694, allocations: 468.6 kB / 0.5292 GB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2707, allocations: 0.7002 MB / 0.5298 GB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.393e-05/0.2708, allocations: 73.52 kB / 0.5299 GB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.271, allocations: 64.23 kB / 0.53 GB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.271, allocations: 26.3 kB / 0.53 GB, free: 13.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.271, allocations: 0 / 0.53 GB, free: 13.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.2943, allocations: 3.431 MB / 0.5334 GB, free: 11.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.89, allocations: 6.547 kB / 0.5334 GB, free: 11.31 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.50850406603422] Failed to read output from testmodel.py, exit status != 0: 11.050208784989081 11.072571083 10.80605788 Calling exit ...