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.001263/0.001263, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.00136/0.00136, allocations: 164.7 kB / 23.76 MB, free: 4.195 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.521/1.521, allocations: 177.2 MB / 204.1 MB, free: 8.98 MB / 190.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.9091/0.9091, allocations: 113.9 MB / 374.4 MB, free: 12.91 MB / 350.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.002167/0.002167, allocations: 66.86 kB / 0.5551 GB, free: 2.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1498, allocations: 89.14 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002007/0.1518, allocations: 0.7647 MB / 0.6429 GB, free: 8.766 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1539, allocations: 1.451 MB / 0.6443 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.1539, allocations: 0 / 0.6443 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.1539, allocations: 7.938 kB / 0.6443 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.408e-05/0.154, allocations: 3.938 kB / 0.6443 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.1545, allocations: 143.5 kB / 0.6444 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.037e-05/0.1546, allocations: 51.89 kB / 0.6445 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.1546, allocations: 7.984 kB / 0.6445 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.1547, allocations: 23.92 kB / 0.6445 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.1547, allocations: 31.91 kB / 0.6445 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.1548, allocations: 7.984 kB / 0.6446 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.1552, allocations: 251.5 kB / 0.6448 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.1552, allocations: 19.91 kB / 0.6448 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.1552, allocations: 23.92 kB / 0.6448 GB, free: 6.734 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.1556, allocations: 191.4 kB / 0.645 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1556, allocations: 4 kB / 0.645 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1556, allocations: 0 / 0.645 GB, free: 6.543 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1556, allocations: 0 / 0.645 GB, free: 6.543 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.0006652/0.1563, allocations: 329.8 kB / 0.6453 GB, free: 6.191 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.1563, allocations: 8.031 kB / 0.6453 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004608/0.1567, allocations: 72.8 kB / 0.6454 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1569, allocations: 110.5 kB / 0.6455 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1569, allocations: 4.375 kB / 0.6455 GB, free: 5.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.1569, allocations: 12.33 kB / 0.6455 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.1573, allocations: 165.2 kB / 0.6457 GB, free: 5.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1573, allocations: 4 kB / 0.6457 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1574, allocations: 4 kB / 0.6457 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.1574, allocations: 11.92 kB / 0.6457 GB, free: 5.766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.1579, allocations: 103.9 kB / 0.6458 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.1584, allocations: 276.3 kB / 0.6461 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.1591, allocations: 146.5 kB / 0.6462 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.1594, allocations: 56.8 kB / 0.6463 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.1594, allocations: 4 kB / 0.6463 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1594, allocations: 34.56 kB / 0.6463 GB, free: 5.105 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1594, allocations: 0 / 0.6463 GB, free: 5.105 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.01922/0.1786, allocations: 2.694 MB / 0.6489 GB, free: 2.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.1787, allocations: 55.34 kB / 0.649 GB, free: 2.289 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.1788, allocations: 109.8 kB / 0.6491 GB, free: 2.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.1788, allocations: 25.7 kB / 0.6491 GB, free: 2.141 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.1789, allocations: 92.08 kB / 0.6492 GB, free: 2.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.1789, allocations: 43.62 kB / 0.6492 GB, free: 2.004 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.1791, allocations: 69.58 kB / 0.6493 GB, free: 1.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1793, allocations: 318.8 kB / 0.6496 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/0.18, allocations: 187.8 kB / 0.6498 GB, free: 1.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/0.1807, allocations: 199.8 kB / 0.65 GB, free: 1.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.1822, allocations: 390.8 kB / 0.6504 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1822, allocations: 0 / 0.6504 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001699/0.1839, allocations: 485.2 kB / 0.6508 GB, free: 376 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1839, allocations: 4 kB / 0.6508 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1839, allocations: 0 / 0.6508 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1839, allocations: 0 / 0.6508 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008634/0.1848, allocations: 107.8 kB / 0.6509 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1848, allocations: 0 / 0.6509 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/0.1854, allocations: 51.88 kB / 0.651 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.1855, allocations: 19.94 kB / 0.651 GB, free: 192 kB / 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.0001536/0.1856, allocations: 129 kB / 0.6511 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/0.1857, allocations: 4 kB / 0.6511 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.1858, allocations: 12.12 kB / 0.6511 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1858, allocations: 4 kB / 0.6511 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1858, allocations: 0 / 0.6511 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1858, allocations: 3.938 kB / 0.6511 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.1882, allocations: 0.9532 MB / 0.6521 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1882, allocations: 4 kB / 0.6521 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008543/0.189, allocations: 103.7 kB / 0.6522 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.189, allocations: 0 / 0.6522 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.1891, allocations: 31.92 kB / 0.6522 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1891, allocations: 3.938 kB / 0.6522 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1891, allocations: 4 kB / 0.6522 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/0.1916, allocations: 0.78 MB / 0.653 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.1918, allocations: 43.92 kB / 0.653 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.1918, allocations: 4.062 kB / 0.653 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.1926, allocations: 47.88 kB / 0.6531 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1927, allocations: 35.92 kB / 0.6531 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.1927, allocations: 24.11 kB / 0.6531 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.1928, allocations: 87.27 kB / 0.6532 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1928, allocations: 0 / 0.6532 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003786/0.1931, allocations: 56.03 kB / 0.6533 GB, free: 13.75 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.00018/0.1933, allocations: 119 kB / 0.6534 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.1949, allocations: 415.5 kB / 0.6538 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1949, allocations: 4 kB / 0.6538 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007893/0.1957, allocations: 227.6 kB / 0.654 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.196, allocations: 8 kB / 0.654 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.2004, allocations: 0.754 MB / 0.6547 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.549e-05/0.2005, allocations: 75.33 kB / 0.6548 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004947/0.201, allocations: 92.72 kB / 0.6549 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.2013, allocations: 52.38 kB / 0.655 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2013, allocations: 0 / 0.655 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.007224/0.2085, allocations: 3.687 MB / 0.6586 GB, free: 8.289 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5354546619346365] Failed to read output from testmodel.py, exit status != 0: 0.2165862339315936 0.23099026199999995 0.07239925600000001 Calling exit ...