Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001633/0.001633, allocations: 114.6 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.001785/0.001785, allocations: 186.5 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.499/1.499, 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.099/1.099, allocations: 149.6 MB / 456.6 MB, free: 1.191 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.19 kB / 0.6329 GB, free: 8.922 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2154, allocations: 87.88 MB / 0.7187 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002447/0.2179, allocations: 0.7905 MB / 0.7195 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.2202, allocations: 1.493 MB / 0.7209 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.2202, allocations: 0 / 0.7209 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.2203, allocations: 3.938 kB / 0.7209 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.2203, allocations: 3.938 kB / 0.7209 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.2209, allocations: 147.5 kB / 0.7211 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.221, allocations: 59.58 kB / 0.7211 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.47e-05/0.2211, allocations: 4 kB / 0.7211 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.2212, allocations: 23.92 kB / 0.7212 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.2213, allocations: 39.88 kB / 0.7212 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.2213, allocations: 4 kB / 0.7212 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.2218, allocations: 319.4 kB / 0.7215 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.2219, allocations: 19.91 kB / 0.7215 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.2219, allocations: 19.88 kB / 0.7216 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.2223, allocations: 215.4 kB / 0.7218 GB, free: 13.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2223, allocations: 0 / 0.7218 GB, free: 13.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2223, allocations: 0 / 0.7218 GB, free: 13.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.2223, allocations: 0 / 0.7218 GB, free: 13.81 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007449/0.223, allocations: 325.8 kB / 0.7221 GB, free: 13.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.2231, allocations: 12.62 kB / 0.7221 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/0.2236, allocations: 76.8 kB / 0.7222 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.2237, allocations: 110.5 kB / 0.7223 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.2237, allocations: 384 / 0.7223 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.2237, allocations: 12.38 kB / 0.7223 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.2242, allocations: 109.9 kB / 0.7224 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2242, allocations: 0 / 0.7224 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.2242, allocations: 4 kB / 0.7224 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2242, allocations: 0 / 0.7224 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005052/0.2247, allocations: 103.8 kB / 0.7225 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/0.2254, allocations: 311.7 kB / 0.7228 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.226, allocations: 158.4 kB / 0.7229 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.2263, allocations: 52.81 kB / 0.723 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.2263, allocations: 4 kB / 0.723 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.2263, allocations: 34.56 kB / 0.723 GB, free: 12.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.2263, allocations: 0 / 0.723 GB, free: 12.4 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01887/0.2452, allocations: 2.684 MB / 0.7256 GB, free: 9.664 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.2453, allocations: 55.34 kB / 0.7257 GB, free: 9.598 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.2454, allocations: 102 kB / 0.7258 GB, free: 9.488 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.934e-05/0.2454, allocations: 29.7 kB / 0.7258 GB, free: 9.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.2455, allocations: 92.17 kB / 0.7259 GB, free: 9.359 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.2456, allocations: 47.58 kB / 0.726 GB, free: 9.312 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.2458, allocations: 69.58 kB / 0.726 GB, free: 9.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2459, allocations: 318.8 kB / 0.7263 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/0.2466, allocations: 191.8 kB / 0.7265 GB, free: 8.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/0.2473, allocations: 199.7 kB / 0.7267 GB, free: 8.535 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.2487, allocations: 384.5 kB / 0.7271 GB, free: 8.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2487, allocations: 4 kB / 0.7271 GB, free: 8.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001632/0.2503, allocations: 473.3 kB / 0.7275 GB, free: 7.684 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2503, allocations: 9.875 kB / 0.7275 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2503, allocations: 7.969 kB / 0.7275 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.2504, allocations: 3.984 kB / 0.7275 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/0.2512, allocations: 111.7 kB / 0.7276 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2512, allocations: 7.938 kB / 0.7277 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/0.2518, allocations: 39.94 kB / 0.7277 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.2519, allocations: 27.94 kB / 0.7277 GB, free: 7.48 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 (13): * Single equations (assignments): 13 * 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.0002204/0.2521, allocations: 113.8 kB / 0.7278 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/0.2522, allocations: 3.953 kB / 0.7278 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.2523, allocations: 20.05 kB / 0.7278 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2523, allocations: 0 / 0.7278 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.2523, allocations: 3.938 kB / 0.7279 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2523, allocations: 0 / 0.7279 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.2547, allocations: 1.019 MB / 0.7288 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2547, allocations: 0 / 0.7288 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/0.2555, allocations: 107.8 kB / 0.7289 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.2555, allocations: 3.938 kB / 0.729 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/0.2556, allocations: 23.94 kB / 0.729 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2556, allocations: 4 kB / 0.729 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2556, allocations: 0 / 0.729 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/0.2581, allocations: 0.7908 MB / 0.7298 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.2582, allocations: 47.83 kB / 0.7298 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.2583, allocations: 0 / 0.7298 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/0.259, allocations: 48 kB / 0.7298 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2591, allocations: 27.92 kB / 0.7299 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.149e-05/0.2592, allocations: 27.92 kB / 0.7299 GB, free: 5.117 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.2592, allocations: 79.28 kB / 0.73 GB, free: 5.039 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2592, allocations: 3.938 kB / 0.73 GB, free: 5.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003965/0.2596, allocations: 52 kB / 0.73 GB, free: 4.984 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002587/0.2599, allocations: 119.1 kB / 0.7301 GB, free: 4.859 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.2614, allocations: 415.5 kB / 0.7305 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2614, allocations: 4 kB / 0.7305 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008128/0.2622, allocations: 224 kB / 0.7308 GB, free: 4.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.2627, allocations: 15.94 kB / 0.7308 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/0.2677, allocations: 0.7519 MB / 0.7315 GB, free: 3.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.268, allocations: 0.6963 MB / 0.7322 GB, free: 2.711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005571/0.2686, allocations: 93.67 kB / 0.7323 GB, free: 2.621 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.2689, allocations: 55.31 kB / 0.7323 GB, free: 2.566 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.2689, allocations: 0 / 0.7323 GB, free: 2.566 MB / 0.545 GB Notification: Performance of Templates: time 0.007926/0.2768, allocations: 3.587 MB / 0.7358 GB, free: 14.98 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.359966307878494] Failed to read output from testmodel.py, exit status != 0: 0.28651756700128317 0.302149182 0.07683324100000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f65e68717b0>