Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.83/3.83, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00242/0.00242, allocations: 176.5 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.285/4.285, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001793/0.001793, allocations: 101.1 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007718/0.0007722, allocations: 14.69 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3129, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3201/0.6331, allocations: 132.3 MB / 1.029 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004463/0.6336, allocations: 79.95 kB / 1.029 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02803/0.6617, allocations: 4.115 MB / 1.033 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.938e-06/0.6617, allocations: 0 / 1.033 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.6618, allocations: 0 / 1.033 GB, free: 8.84 MB / 0.6823 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.000859/0.6626, allocations: 365.4 kB / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.6627, allocations: 12.03 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008134/0.6636, allocations: 60.88 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.6638, allocations: 172.3 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.6638, allocations: 4.375 kB / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.6639, allocations: 8.375 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.6644, allocations: 74.2 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.6644, allocations: 4.125 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.6645, allocations: 11.94 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6645, allocations: 0 / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006846/0.6652, allocations: 75.92 kB / 1.034 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.6656, allocations: 161.7 kB / 1.034 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.6669, allocations: 142.5 kB / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.6674, allocations: 52.91 kB / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.367e-05/0.6674, allocations: 4 kB / 1.034 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.6675, allocations: 38.5 kB / 1.034 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 3.657e-06/0.6675, allocations: 3.938 kB / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.002542/0.6701, allocations: 442.1 kB / 1.034 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.6702, allocations: 51.41 kB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.6703, allocations: 105.8 kB / 1.035 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.6704, allocations: 25.7 kB / 1.035 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.6705, allocations: 80.14 kB / 1.035 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.6705, allocations: 27.59 kB / 1.035 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.6706, allocations: 0 / 1.035 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.6708, allocations: 310.8 kB / 1.035 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.6712, allocations: 48.08 kB / 1.035 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.6715, allocations: 44.03 kB / 1.035 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.672, allocations: 44.09 kB / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.672, allocations: 0 / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008958/0.6729, allocations: 133.6 kB / 1.035 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.6729, allocations: 7.938 kB / 1.035 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.673, allocations: 0 / 1.035 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.673, allocations: 0 / 1.035 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.6734, allocations: 23.98 kB / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.6734, allocations: 0 / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.6737, allocations: 19.98 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.6737, allocations: 3.984 kB / 1.035 GB, free: 6.074 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.6739, allocations: 113.8 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.6739, allocations: 3.938 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.675, allocations: 149.1 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.675, allocations: 0 / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.6751, allocations: 4 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6751, allocations: 0 / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.6754, allocations: 165.7 kB / 1.036 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6754, allocations: 336 / 1.036 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.6758, allocations: 27.98 kB / 1.036 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.6758, allocations: 3.938 kB / 1.036 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.6759, allocations: 0 / 1.036 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.6759, allocations: 7.984 kB / 1.036 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6759, allocations: 0 / 1.036 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.6773, allocations: 212.9 kB / 1.036 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.6775, allocations: 81.09 kB / 1.036 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.6776, allocations: 12.09 kB / 1.036 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.6779, allocations: 20.05 kB / 1.036 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.6779, allocations: 7.984 kB / 1.036 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.678, allocations: 8 kB / 1.036 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.678, allocations: 75.28 kB / 1.036 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.9e-07/0.6781, allocations: 0 / 1.036 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000599/0.6787, allocations: 43.92 kB / 1.036 GB, free: 5.055 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004154/0.6791, allocations: 147.2 kB / 1.036 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000874/0.68, allocations: 95.92 kB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.68, allocations: 0 / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.6804, allocations: 51.91 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.6808, allocations: 4 kB / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.6821, allocations: 196.6 kB / 1.037 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.6826, allocations: 0.677 MB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000278/0.6829, allocations: 23.98 kB / 1.037 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.683, allocations: 11.44 kB / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/0.683, allocations: 0 / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of Templates: time 0.00648/0.6895, allocations: 1.095 MB / 1.038 GB, free: 2.699 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)