Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001164/0.001164, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.0009973/0.0009973, allocations: 158.2 kB / 24.96 MB, free: 8.715 MB / 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 0.9129/0.9129, allocations: 177.1 MB / 205.4 MB, free: 5.469 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.966/1.966, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.776 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.55e-05, allocations: 2.312 kB / 0.776 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002003/0.002028, allocations: 0.6859 MB / 0.7767 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.003938, allocations: 1.473 MB / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.003961, allocations: 0 / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.00398, allocations: 0 / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.798e-05/0.004018, allocations: 4.688 kB / 0.7781 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.004489, allocations: 144.6 kB / 0.7783 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.004561, allocations: 28.52 kB / 0.7783 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.004595, allocations: 5.422 kB / 0.7783 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.014e-05/0.004655, allocations: 21.3 kB / 0.7783 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.004732, allocations: 16.3 kB / 0.7783 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.004749, allocations: 7.938 kB / 0.7784 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.00515, allocations: 252.2 kB / 0.7786 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.005169, allocations: 17.62 kB / 0.7786 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.005189, allocations: 7.984 kB / 0.7786 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.005478, allocations: 207.4 kB / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005481, allocations: 0 / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005482, allocations: 0 / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.287e-06/0.005485, allocations: 0.8125 kB / 0.7788 GB, free: 2.504 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003888/0.005874, allocations: 268.8 kB / 0.7791 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.005909, allocations: 9.344 kB / 0.7791 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.006188, allocations: 60.03 kB / 0.7791 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.00628, allocations: 110.1 kB / 0.7792 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.006293, allocations: 3.125 kB / 0.7792 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.006311, allocations: 384 / 0.7792 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.006479, allocations: 104.5 kB / 0.7793 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.006486, allocations: 192 / 0.7793 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.006498, allocations: 4.375 kB / 0.7793 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.006505, allocations: 6.531 kB / 0.7794 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.006549, allocations: 15.97 kB / 0.7794 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.00666, allocations: 61.05 kB / 0.7794 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.006837, allocations: 38.61 kB / 0.7795 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.006872, allocations: 24.92 kB / 0.7795 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.00706, allocations: 47.45 kB / 0.7795 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.00708, allocations: 34.5 kB / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.007081, allocations: 3.938 kB / 0.7796 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0004441/0.007525, allocations: 196.1 kB / 0.7798 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.007552, allocations: 51.41 kB / 0.7798 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.74e-05/0.007609, allocations: 106.6 kB / 0.7799 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.007625, allocations: 26.36 kB / 0.7799 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.007652, allocations: 85.25 kB / 0.78 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.007683, allocations: 23.8 kB / 0.78 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.007721, allocations: 13.72 kB / 0.7801 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.00781, allocations: 323.5 kB / 0.7804 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.007836, allocations: 8 kB / 0.7804 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.007856, allocations: 4.781 kB / 0.7804 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.182e-05/0.007907, allocations: 21.66 kB / 0.7804 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.007908, allocations: 0 / 0.7804 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.914e-05/0.007997, allocations: 54.53 kB / 0.7804 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.008011, allocations: 8 kB / 0.7805 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008016, allocations: 0.9375 kB / 0.7805 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.008028, allocations: 0 / 0.7805 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.008118, allocations: 20.5 kB / 0.7805 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.008121, allocations: 1.469 kB / 0.7805 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.008163, allocations: 15.94 kB / 0.7805 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.008171, allocations: 0 / 0.7805 GB, free: 0.6211 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.008228, allocations: 110.7 kB / 0.7806 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.008241, allocations: 4 kB / 0.7806 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.008382, allocations: 74.97 kB / 0.7807 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.008384, allocations: 0 / 0.7807 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.008385, allocations: 0 / 0.7807 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.00839, allocations: 7.938 kB / 0.7807 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.308e-05/0.008473, allocations: 77.88 kB / 0.7808 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008475, allocations: 0 / 0.7808 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.008575, allocations: 17.36 kB / 0.7808 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.008577, allocations: 0 / 0.7808 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.008587, allocations: 4 kB / 0.7808 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.008588, allocations: 0 / 0.7808 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008589, allocations: 1.438 kB / 0.7808 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.008736, allocations: 92.98 kB / 0.7809 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.008767, allocations: 7.922 kB / 0.7809 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.008783, allocations: 8.656 kB / 0.7809 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.008842, allocations: 9.266 kB / 0.7809 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.008864, allocations: 4 kB / 0.7809 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.008873, allocations: 4 kB / 0.7809 GB, free: 172 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.061e-05/0.008883, allocations: 9.875 kB / 0.7809 GB, free: 160 kB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.008883, allocations: 0 / 0.7809 GB, free: 160 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001973/0.009081, allocations: 33.19 kB / 0.7809 GB, free: 128 kB / 0.7292 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 (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.0001434/0.009224, allocations: 108.3 kB / 0.781 GB, free: 12 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.009328, allocations: 38.11 kB / 0.7811 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.00933, allocations: 0 / 0.7811 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.009361, allocations: 24.8 kB / 0.7811 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.016e-05/0.009431, allocations: 5.406 kB / 0.7811 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.009742, allocations: 146.2 kB / 0.7812 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.212e-05/0.009774, allocations: 59.34 kB / 0.7813 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.118e-05/0.009855, allocations: 16.97 kB / 0.7813 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.009933, allocations: 52.41 kB / 0.7814 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.009934, allocations: 0 / 0.7814 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.003319/0.01325, allocations: 1.339 MB / 0.7827 GB, free: 14.37 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.872562278993428]