Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 104.6 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.00141, allocations: 201.3 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 469.4 MB / 0.7423 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 65.92 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.303, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00212/0.3052, allocations: 0.8452 MB / 1.065 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.307, allocations: 1.474 MB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.3071, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.3072, allocations: 3.938 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.3072, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.3077, allocations: 127.7 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.466e-05/0.3078, allocations: 55.83 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.3079, allocations: 4 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.392e-05/0.308, allocations: 27.91 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.308, allocations: 27.91 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3081, allocations: 4 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.3085, allocations: 323.3 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.3085, allocations: 15.92 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.3086, allocations: 23.86 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.3088, allocations: 147.8 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3088, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3088, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3088, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 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.0006416/0.3095, allocations: 399.7 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3095, allocations: 12.62 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/0.31, allocations: 72.75 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3101, allocations: 168.3 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.3102, allocations: 12.31 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.3102, allocations: 4.375 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.3106, allocations: 117.8 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3106, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3106, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.3106, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.3111, allocations: 99.89 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.3117, allocations: 336.5 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.3123, allocations: 158.4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.3125, allocations: 52.81 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3126, allocations: 3.984 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3126, allocations: 38.56 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3126, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 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.01892/0.3315, allocations: 2.838 MB / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3316, allocations: 55.34 kB / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.3317, allocations: 101.8 kB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.3317, allocations: 29.7 kB / 1.071 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.3318, allocations: 92.08 kB / 1.071 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.3319, allocations: 43.34 kB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.3321, allocations: 69.58 kB / 1.071 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3322, allocations: 318.8 kB / 1.072 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/0.3328, allocations: 191.8 kB / 1.072 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.3334, allocations: 201 kB / 1.072 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.3347, allocations: 390.9 kB / 1.072 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3347, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001476/0.3362, allocations: 477.1 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3362, allocations: 4 kB / 1.073 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3362, allocations: 4 kB / 1.073 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3363, allocations: 0 / 1.073 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008389/0.3371, allocations: 111.8 kB / 1.073 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3371, allocations: 3.938 kB / 1.073 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006406/0.3378, allocations: 51.94 kB / 1.073 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.3378, allocations: 23.94 kB / 1.073 GB, free: 5.555 MB / 0.8419 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.0001486/0.338, allocations: 113.8 kB / 1.073 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.3381, allocations: 7.906 kB / 1.073 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.3381, allocations: 11.97 kB / 1.073 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3381, allocations: 7.984 kB / 1.073 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.3382, allocations: 3.938 kB / 1.073 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3382, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.3403, allocations: 1.035 MB / 1.074 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3403, allocations: 3.938 kB / 1.074 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.3412, allocations: 111.7 kB / 1.074 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3412, allocations: 3.938 kB / 1.074 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/0.3412, allocations: 23.92 kB / 1.074 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3413, allocations: 0 / 1.074 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3413, allocations: 0 / 1.074 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.3435, allocations: 0.7917 MB / 1.075 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.3437, allocations: 121 kB / 1.075 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.3438, allocations: 0 / 1.075 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007106/0.3445, allocations: 52 kB / 1.075 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3446, allocations: 23.92 kB / 1.075 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.3446, allocations: 23.94 kB / 1.075 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.3447, allocations: 91.2 kB / 1.075 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3447, allocations: 0 / 1.075 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00038/0.3451, allocations: 52 kB / 1.075 GB, free: 2.934 MB / 0.8419 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.0002282/0.3453, allocations: 119.2 kB / 1.076 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.3468, allocations: 423.5 kB / 1.076 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3468, allocations: 0 / 1.076 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006952/0.3475, allocations: 227.7 kB / 1.076 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.3478, allocations: 9.266 kB / 1.076 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.3522, allocations: 0.8158 MB / 1.077 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.3524, allocations: 0.6924 MB / 1.078 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.3528, allocations: 79.23 kB / 1.078 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3528, allocations: 4 kB / 1.078 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of Templates: time 0.4566/0.8094, allocations: 3.767 MB / 1.081 GB, free: 22.59 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)