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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 114.8 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002414/0.002414, allocations: 190.6 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.002/1.002, allocations: 149.6 MB / 456.6 MB, free: 1.16 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: 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: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 70.05 kB / 0.6329 GB, free: 8.895 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2233, allocations: 87.87 MB / 0.7187 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001936/0.2252, allocations: 0.6095 MB / 0.7193 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.2272, allocations: 1.463 MB / 0.7207 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.2272, allocations: 4 kB / 0.7207 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.2273, allocations: 0 / 0.7207 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.807e-05/0.2273, allocations: 0 / 0.7207 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.2278, allocations: 143.4 kB / 0.7209 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.2279, allocations: 35.91 kB / 0.7209 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.2279, allocations: 0 / 0.7209 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.228, allocations: 19.98 kB / 0.7209 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.2281, allocations: 23.91 kB / 0.7209 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.2281, allocations: 7.984 kB / 0.721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005012/0.2286, allocations: 315.3 kB / 0.7213 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.2286, allocations: 4 kB / 0.7213 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.2287, allocations: 19.91 kB / 0.7213 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.229, allocations: 191.5 kB / 0.7215 GB, free: 14.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.229, allocations: 0 / 0.7215 GB, free: 14.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.229, allocations: 0 / 0.7215 GB, free: 14.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.229, allocations: 4 kB / 0.7215 GB, free: 14.1 MB / 0.545 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.0005985/0.2296, allocations: 294 kB / 0.7217 GB, free: 13.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2296, allocations: 8.625 kB / 0.7218 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/0.2301, allocations: 72.8 kB / 0.7218 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2302, allocations: 106.5 kB / 0.7219 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.2302, allocations: 384 / 0.7219 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.2303, allocations: 8.375 kB / 0.7219 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.2305, allocations: 77.95 kB / 0.722 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2306, allocations: 3.984 kB / 0.722 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2306, allocations: 0 / 0.722 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2306, allocations: 0 / 0.722 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.2309, allocations: 67.88 kB / 0.7221 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.2311, allocations: 132.8 kB / 0.7222 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.2317, allocations: 126.5 kB / 0.7223 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.2319, allocations: 40.92 kB / 0.7224 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004214/0.2323, allocations: 71.91 kB / 0.7224 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.2323, allocations: 34.5 kB / 0.7225 GB, free: 12.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.2323, allocations: 4 kB / 0.7225 GB, free: 12.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001152/0.2335, allocations: 333 kB / 0.7228 GB, free: 12.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.2335, allocations: 51.41 kB / 0.7228 GB, free: 12.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.785e-05/0.2336, allocations: 97.84 kB / 0.7229 GB, free: 12.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.2336, allocations: 29.7 kB / 0.723 GB, free: 12.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.2336, allocations: 80.14 kB / 0.723 GB, free: 12.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.2337, allocations: 19.8 kB / 0.723 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.2337, allocations: 29.83 kB / 0.7231 GB, free: 12.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2339, allocations: 314.8 kB / 0.7234 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.234, allocations: 31.97 kB / 0.7234 GB, free: 11.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2342, allocations: 44.14 kB / 0.7235 GB, free: 11.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.2345, allocations: 76.8 kB / 0.7235 GB, free: 11.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2345, allocations: 4 kB / 0.7235 GB, free: 11.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003726/0.2349, allocations: 113.5 kB / 0.7236 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2349, allocations: 11.94 kB / 0.7236 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2349, allocations: 0 / 0.7236 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2349, allocations: 0 / 0.7236 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.2351, allocations: 23.97 kB / 0.7237 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2351, allocations: 0 / 0.7237 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.2352, allocations: 11.98 kB / 0.7237 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2352, allocations: 8 kB / 0.7237 GB, free: 11.61 MB / 0.545 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 8.322e-05/0.2353, allocations: 109.8 kB / 0.7238 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.2353, allocations: 11.92 kB / 0.7238 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.2358, allocations: 129.6 kB / 0.7239 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2358, allocations: 4 kB / 0.7239 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2358, allocations: 0 / 0.7239 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2358, allocations: 7.969 kB / 0.7239 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.2359, allocations: 136.8 kB / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2359, allocations: 0 / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.2361, allocations: 27.91 kB / 0.7241 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2361, allocations: 0 / 0.7241 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2361, allocations: 0 / 0.7241 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2361, allocations: 0 / 0.7241 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2361, allocations: 8.125 kB / 0.7241 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.2367, allocations: 192.9 kB / 0.7243 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.2367, allocations: 11.95 kB / 0.7243 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2367, allocations: 0 / 0.7243 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.2369, allocations: 16.05 kB / 0.7243 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.2369, allocations: 8 kB / 0.7243 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.2369, allocations: 3.984 kB / 0.7243 GB, free: 10.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.2369, allocations: 79.28 kB / 0.7244 GB, free: 10.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2369, allocations: 0 / 0.7244 GB, free: 10.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002298/0.2372, allocations: 27.88 kB / 0.7244 GB, free: 10.77 MB / 0.545 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.0002192/0.2374, allocations: 135 kB / 0.7246 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.2378, allocations: 84.02 kB / 0.7246 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2378, allocations: 0 / 0.7246 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.238, allocations: 51.89 kB / 0.7247 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.2381, allocations: 0 / 0.7247 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.2387, allocations: 181.5 kB / 0.7249 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.2391, allocations: 0.6768 MB / 0.7255 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.913e-05/0.2392, allocations: 19.92 kB / 0.7255 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.2392, allocations: 11.44 kB / 0.7256 GB, free: 9.559 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2392, allocations: 4 kB / 0.7256 GB, free: 9.555 MB / 0.545 GB Notification: Performance of Templates: time 0.003959/0.2432, allocations: 1.185 MB / 0.7267 GB, free: 8.371 MB / 0.545 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.166138533502817] Failed to read output from testmodel.py, exit status != 0: 0.2528968080878258 0.266858123 0.034749103 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f19a11717b0>