Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009624/0.0009624, allocations: 85.41 kB / 20.83 MB, free: 3.629 MB / 18.57 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.0009494/0.0009494, allocations: 169.3 kB / 24.25 MB, free: 208 kB / 18.57 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.002/1.002, allocations: 177.1 MB / 204.7 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.913/1.913, allocations: 389.6 MB / 0.6355 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.7754 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.508e-05, allocations: 7 kB / 0.7754 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001333/0.001348, allocations: 0.8525 MB / 0.7763 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.002937, allocations: 1.499 MB / 0.7777 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.002981, allocations: 4 kB / 0.7777 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.003015, allocations: 4.594 kB / 0.7777 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.164e-05/0.003057, allocations: 4.703 kB / 0.7777 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.003464, allocations: 145.2 kB / 0.7779 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.359e-05/0.003548, allocations: 52.64 kB / 0.7779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.003581, allocations: 4 kB / 0.7779 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.613e-05/0.003678, allocations: 40.41 kB / 0.778 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.003723, allocations: 24.69 kB / 0.778 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.003738, allocations: 4 kB / 0.778 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.004023, allocations: 262 kB / 0.7782 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.004041, allocations: 19.91 kB / 0.7783 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.004061, allocations: 12 kB / 0.7783 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.00428, allocations: 223.3 kB / 0.7785 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.004282, allocations: 0 / 0.7785 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.71e-07/0.004283, allocations: 0 / 0.7785 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.625e-06/0.004285, allocations: 0 / 0.7785 GB, free: 2.098 MB / 0.7292 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.0003441/0.004629, allocations: 299.2 kB / 0.7788 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.004661, allocations: 13.34 kB / 0.7788 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.004846, allocations: 51.44 kB / 0.7788 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.411e-05/0.00492, allocations: 117.7 kB / 0.779 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.004936, allocations: 4.375 kB / 0.779 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.00496, allocations: 16.31 kB / 0.779 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.005126, allocations: 151.4 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005134, allocations: 192 / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.005143, allocations: 1.062 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.005149, allocations: 4.719 kB / 0.7791 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.619e-05/0.005195, allocations: 31.3 kB / 0.7792 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.00547, allocations: 204.8 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.005574, allocations: 60.88 kB / 0.7794 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.005596, allocations: 24.78 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.005607, allocations: 7.938 kB / 0.7794 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.005625, allocations: 30.56 kB / 0.7795 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.005626, allocations: 0.6562 kB / 0.7795 GB, free: 1.012 MB / 0.7292 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.007425/0.01305, allocations: 2.148 MB / 0.7816 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.01308, allocations: 55.41 kB / 0.7816 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.806e-05/0.01313, allocations: 103.4 kB / 0.7817 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.01316, allocations: 25.7 kB / 0.7817 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.01319, allocations: 101.4 kB / 0.7818 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.01323, allocations: 39.67 kB / 0.7819 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/0.01333, allocations: 57.58 kB / 0.7819 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.0134, allocations: 315.4 kB / 0.7822 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.01351, allocations: 100.9 kB / 0.7823 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.01362, allocations: 91.94 kB / 0.7824 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.01388, allocations: 225.9 kB / 0.7826 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.01388, allocations: 0 / 0.7826 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003063/0.01418, allocations: 254.1 kB / 0.7829 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.0142, allocations: 4.5 kB / 0.7829 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.0142, allocations: 0.6875 kB / 0.7829 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.01421, allocations: 4 kB / 0.7829 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.01456, allocations: 97.22 kB / 0.783 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.01457, allocations: 8.938 kB / 0.783 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.01476, allocations: 28.89 kB / 0.783 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.01479, allocations: 21.19 kB / 0.783 GB, free: 13.31 MB / 0.7448 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.0001037/0.0149, allocations: 121.7 kB / 0.7831 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.01495, allocations: 8.594 kB / 0.7832 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.01498, allocations: 8.125 kB / 0.7832 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01499, allocations: 4.812 kB / 0.7832 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.01499, allocations: 0 / 0.7832 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01499, allocations: 4.516 kB / 0.7832 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.01555, allocations: 459.4 kB / 0.7836 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01556, allocations: 0.7812 kB / 0.7836 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.0159, allocations: 105.6 kB / 0.7837 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01591, allocations: 8 kB / 0.7837 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.01594, allocations: 19.92 kB / 0.7837 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01594, allocations: 1.719 kB / 0.7837 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01594, allocations: 0 / 0.7837 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.01646, allocations: 463.9 kB / 0.7842 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.01653, allocations: 15.95 kB / 0.7842 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.01657, allocations: 8.875 kB / 0.7842 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.01679, allocations: 29.45 kB / 0.7842 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.01684, allocations: 23.92 kB / 0.7843 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.01687, allocations: 16.72 kB / 0.7843 GB, free: 12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.446e-05/0.01689, allocations: 21.02 kB / 0.7843 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01689, allocations: 5.125 kB / 0.7843 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002223/0.01711, allocations: 51.94 kB / 0.7843 GB, free: 11.92 MB / 0.7448 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.0001719/0.01728, allocations: 101.2 kB / 0.7844 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.0176, allocations: 227.7 kB / 0.7847 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.0176, allocations: 0 / 0.7847 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.01776, allocations: 145.4 kB / 0.7848 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.01793, allocations: 32.91 kB / 0.7848 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.01943, allocations: 0.5648 MB / 0.7854 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.13e-05/0.01946, allocations: 63.34 kB / 0.7854 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002944/0.01975, allocations: 91.39 kB / 0.7855 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.02002, allocations: 107.2 kB / 0.7856 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.02002, allocations: 0 / 0.7856 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.004584/0.02461, allocations: 3.851 MB / 0.7894 GB, free: 6.77 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.981594681739807]