Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001986/0.001986, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002482/0.002482, allocations: 215.1 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.028/1.028, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 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.002589/0.002589, allocations: 75.11 kB / 0.6416 GB, free: 9.535 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2086, allocations: 89.17 MB / 0.7287 GB, free: 456 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001779/0.2104, allocations: 0.6128 MB / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.2127, allocations: 1.427 MB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.2127, allocations: 0 / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.2127, allocations: 0 / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.725e-05/0.2127, allocations: 0 / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.2133, allocations: 135.5 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.014e-05/0.2133, allocations: 39.89 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.2134, allocations: 4 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.154e-05/0.2134, allocations: 15.92 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.2135, allocations: 23.97 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.2135, allocations: 4 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.2139, allocations: 247.5 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.2139, allocations: 11.92 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.214, allocations: 11.92 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.2143, allocations: 179.5 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2143, allocations: 0 / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2143, allocations: 0 / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2143, allocations: 0 / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005602/0.2148, allocations: 294 kB / 0.7316 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2149, allocations: 12.03 kB / 0.7316 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.2153, allocations: 68.84 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2155, allocations: 102.5 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.2155, allocations: 8.375 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.2155, allocations: 4.375 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.2158, allocations: 107.6 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2158, allocations: 0 / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2158, allocations: 4 kB / 0.7319 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2158, allocations: 4 kB / 0.7319 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.2161, allocations: 59.94 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.2163, allocations: 113.3 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.2169, allocations: 122.6 kB / 0.7322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.2171, allocations: 40.92 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004251/0.2175, allocations: 87.83 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.2175, allocations: 30.56 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.2175, allocations: 0 / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.001133/0.2187, allocations: 336.9 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2187, allocations: 59.39 kB / 0.7327 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.971e-05/0.2188, allocations: 93.86 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.2188, allocations: 25.7 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.2188, allocations: 84.14 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.2189, allocations: 15.86 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.2189, allocations: 29.83 kB / 0.7329 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2191, allocations: 310.8 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2192, allocations: 31.97 kB / 0.7333 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.2194, allocations: 43.95 kB / 0.7333 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.2197, allocations: 68.8 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2197, allocations: 0 / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003564/0.22, allocations: 113.6 kB / 0.7335 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.22, allocations: 11.94 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2201, allocations: 4 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2201, allocations: 3.984 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2202, allocations: 19.98 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2202, allocations: 0 / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.481e-05/0.2203, allocations: 11.98 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.2203, allocations: 11.94 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 9.13e-05/0.2204, allocations: 113.8 kB / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.2204, allocations: 8.188 kB / 0.7337 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.2209, allocations: 137.2 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2209, allocations: 0 / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2209, allocations: 0 / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2209, allocations: 3.984 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.221, allocations: 109.3 kB / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.221, allocations: 8 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.2212, allocations: 23.97 kB / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2212, allocations: 0 / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2212, allocations: 3.938 kB / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2212, allocations: 0 / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2212, allocations: 0 / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.2218, allocations: 185 kB / 0.7341 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.2218, allocations: 16.02 kB / 0.7341 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2218, allocations: 7.922 kB / 0.7341 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.222, allocations: 11.98 kB / 0.7341 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.222, allocations: 4 kB / 0.7341 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.222, allocations: 8 kB / 0.7341 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.222, allocations: 79.27 kB / 0.7342 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.222, allocations: 0 / 0.7342 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002228/0.2223, allocations: 27.88 kB / 0.7342 GB, free: 10.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002054/0.2225, allocations: 131.2 kB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003848/0.2229, allocations: 87.86 kB / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2229, allocations: 0 / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.223, allocations: 39.97 kB / 0.7345 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.2232, allocations: 6.172 kB / 0.7345 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.2238, allocations: 181.3 kB / 0.7347 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.854e-05/0.2238, allocations: 63.34 kB / 0.7347 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.493e-05/0.2239, allocations: 23.98 kB / 0.7348 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.224, allocations: 19.38 kB / 0.7348 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.224, allocations: 0 / 0.7348 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of Templates: time 0.004094/0.2281, allocations: 1.189 MB / 0.7359 GB, free: 8.676 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.123085981234908] Failed to read output from testmodel.py, exit status != 0: 0.23788141086697578 0.25180179 0.034562337000000005 Calling exit ...