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.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.001385/0.001385, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001752/0.001752, allocations: 212.7 kB / 23.75 MB, free: 4.445 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.785 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 0.9944/0.9944, allocations: 149.9 MB / 463.8 MB, free: 10.33 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.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: 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.002129/0.002129, allocations: 63.02 kB / 0.6423 GB, free: 9.582 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1831, allocations: 89.17 MB / 0.7294 GB, free: 484 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002152/0.1853, allocations: 0.7745 MB / 0.7302 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1873, allocations: 1.462 MB / 0.7316 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.1873, allocations: 0 / 0.7316 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.1874, allocations: 3.938 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.1874, allocations: 3.938 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.1879, allocations: 147.4 kB / 0.7318 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.932e-05/0.188, allocations: 43.97 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.1881, allocations: 7.938 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.1881, allocations: 23.92 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.1882, allocations: 39.81 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1882, allocations: 4 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.1886, allocations: 243.5 kB / 0.7321 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.1887, allocations: 15.97 kB / 0.7321 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.1887, allocations: 23.86 kB / 0.7321 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.189, allocations: 207.4 kB / 0.7323 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.189, allocations: 0 / 0.7323 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.189, allocations: 0 / 0.7323 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.189, allocations: 3.938 kB / 0.7323 GB, free: 13.46 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006564/0.1897, allocations: 321.8 kB / 0.7326 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1897, allocations: 8.031 kB / 0.7327 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004367/0.1902, allocations: 76.8 kB / 0.7327 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1903, allocations: 110.4 kB / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.1903, allocations: 8.375 kB / 0.7328 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.1903, allocations: 12.33 kB / 0.7329 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.1907, allocations: 161.3 kB / 0.733 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1907, allocations: 7.984 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1908, allocations: 0 / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1908, allocations: 0 / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.1912, allocations: 103.9 kB / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.1918, allocations: 268.3 kB / 0.7334 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.1925, allocations: 150.4 kB / 0.7335 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.1927, allocations: 56.81 kB / 0.7336 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1927, allocations: 4 kB / 0.7336 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1927, allocations: 34.5 kB / 0.7336 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1927, allocations: 3.938 kB / 0.7336 GB, free: 12.04 MB / 0.5606 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.01762/0.2104, allocations: 2.691 MB / 0.7362 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.2104, allocations: 55.41 kB / 0.7363 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.2105, allocations: 105.9 kB / 0.7364 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.2106, allocations: 25.7 kB / 0.7364 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.2107, allocations: 92.03 kB / 0.7365 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.2108, allocations: 43.64 kB / 0.7365 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.2109, allocations: 69.58 kB / 0.7366 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2111, allocations: 318.8 kB / 0.7369 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006903/0.2118, allocations: 195.8 kB / 0.7371 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.2124, allocations: 187.8 kB / 0.7373 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.2138, allocations: 388.5 kB / 0.7376 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2138, allocations: 0 / 0.7376 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001579/0.2154, allocations: 481.2 kB / 0.7381 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2154, allocations: 8 kB / 0.7381 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2154, allocations: 48 / 0.7381 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2154, allocations: 3.984 kB / 0.7381 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008215/0.2162, allocations: 111.8 kB / 0.7382 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.2162, allocations: 7.938 kB / 0.7382 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.2168, allocations: 47.88 kB / 0.7383 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.2169, allocations: 27.94 kB / 0.7383 GB, free: 7.117 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 (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.000154/0.217, allocations: 113.8 kB / 0.7384 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.2171, allocations: 8 kB / 0.7384 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.2172, allocations: 16.05 kB / 0.7384 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2172, allocations: 0 / 0.7384 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2172, allocations: 4 kB / 0.7384 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2172, allocations: 3.938 kB / 0.7384 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.2194, allocations: 0.9577 MB / 0.7394 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.2195, allocations: 0 / 0.7394 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008091/0.2203, allocations: 107.7 kB / 0.7395 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2203, allocations: 7.938 kB / 0.7395 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.2203, allocations: 19.94 kB / 0.7395 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2203, allocations: 7.922 kB / 0.7395 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2203, allocations: 0 / 0.7395 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.2227, allocations: 0.7911 MB / 0.7403 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.2229, allocations: 35.94 kB / 0.7403 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.223, allocations: 96 / 0.7403 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.2236, allocations: 63.86 kB / 0.7404 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/0.2237, allocations: 27.86 kB / 0.7404 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.2238, allocations: 23.94 kB / 0.7404 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.2238, allocations: 83.28 kB / 0.7405 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2238, allocations: 0 / 0.7405 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000362/0.2242, allocations: 55.92 kB / 0.7406 GB, free: 4.684 MB / 0.5606 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.0001901/0.2244, allocations: 107.1 kB / 0.7407 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.2258, allocations: 427 kB / 0.7411 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2258, allocations: 0 / 0.7411 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.2266, allocations: 219.7 kB / 0.7413 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.2269, allocations: 10.03 kB / 0.7413 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/0.2312, allocations: 0.7807 MB / 0.7421 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.098e-05/0.2313, allocations: 75.33 kB / 0.7421 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.2317, allocations: 83.17 kB / 0.7422 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.2317, allocations: 0 / 0.7422 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of Templates: time 0.006119/0.2378, allocations: 3.808 MB / 0.7459 GB, free: 15.12 MB / 0.5762 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 os._exit(0), Time elapsed: 8.303198079578578] Failed to read output from testmodel.py, exit status != 0: 0.2467562761157751 0.260313771 0.068237742 Calling exit ...