Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00105/0.001051, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009772/0.0009773, allocations: 194.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.128/1.128, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 251.7 MB / 0.5088 GB, free: 3.289 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.92 kB / 0.6216 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3735, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001829/0.3753, allocations: 0.8434 MB / 0.7246 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.3769, allocations: 1.541 MB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.3769, allocations: 4 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.3769, allocations: 3.938 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.175e-05/0.377, allocations: 0 / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.3773, allocations: 111.7 kB / 0.7263 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.246e-05/0.3774, allocations: 51.84 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.3774, allocations: 15.91 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.3775, allocations: 23.92 kB / 0.7264 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.061e-05/0.3776, allocations: 31.89 kB / 0.7264 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3776, allocations: 4 kB / 0.7264 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.3779, allocations: 323.4 kB / 0.7267 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.378, allocations: 15.91 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.378, allocations: 23.86 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.3783, allocations: 205.6 kB / 0.7269 GB, free: 9.953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3783, allocations: 0 / 0.7269 GB, free: 9.953 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3783, allocations: 0 / 0.7269 GB, free: 9.953 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.3783, allocations: 0 / 0.7269 GB, free: 9.953 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.0005324/0.3788, allocations: 399.3 kB / 0.7273 GB, free: 9.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.3789, allocations: 8.031 kB / 0.7273 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004276/0.3793, allocations: 76.78 kB / 0.7274 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.659e-05/0.3794, allocations: 184.2 kB / 0.7276 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3794, allocations: 384 / 0.7276 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3795, allocations: 12.38 kB / 0.7276 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.3798, allocations: 113.9 kB / 0.7277 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3798, allocations: 0 / 0.7277 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3798, allocations: 4 kB / 0.7277 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.3798, allocations: 0 / 0.7277 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.3803, allocations: 106.9 kB / 0.7278 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.3808, allocations: 328.6 kB / 0.7281 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.3814, allocations: 158.4 kB / 0.7283 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.3816, allocations: 52.81 kB / 0.7283 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.3816, allocations: 0 / 0.7283 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.3816, allocations: 38.56 kB / 0.7283 GB, free: 8.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.3817, allocations: 3.938 kB / 0.7283 GB, free: 8.34 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.01785/0.3995, allocations: 2.834 MB / 0.7311 GB, free: 5.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.3996, allocations: 59.34 kB / 0.7312 GB, free: 5.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.3996, allocations: 97.84 kB / 0.7313 GB, free: 5.234 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.3997, allocations: 29.7 kB / 0.7313 GB, free: 5.199 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.3997, allocations: 92.05 kB / 0.7314 GB, free: 5.105 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.3998, allocations: 43.39 kB / 0.7314 GB, free: 5.062 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.4, allocations: 65.58 kB / 0.7315 GB, free: 4.992 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.4, allocations: 318.8 kB / 0.7318 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006112/0.4007, allocations: 191.8 kB / 0.732 GB, free: 4.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.4013, allocations: 191.9 kB / 0.7322 GB, free: 4.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.4025, allocations: 392.5 kB / 0.7325 GB, free: 3.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4025, allocations: 0 / 0.7325 GB, free: 3.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001399/0.4039, allocations: 485.2 kB / 0.733 GB, free: 3.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4039, allocations: 4 kB / 0.733 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4039, allocations: 0 / 0.733 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.404, allocations: 0 / 0.733 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/0.4048, allocations: 111.8 kB / 0.7331 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.4048, allocations: 3.938 kB / 0.7331 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.4054, allocations: 47.94 kB / 0.7332 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.4055, allocations: 23.94 kB / 0.7332 GB, free: 3.242 MB / 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.0001382/0.4056, allocations: 117.8 kB / 0.7333 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.4057, allocations: 4 kB / 0.7333 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.4058, allocations: 15.95 kB / 0.7333 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4058, allocations: 192 / 0.7333 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4058, allocations: 7.938 kB / 0.7333 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4058, allocations: 7.984 kB / 0.7333 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.4078, allocations: 1.047 MB / 0.7343 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4078, allocations: 0 / 0.7343 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008104/0.4087, allocations: 107.7 kB / 0.7344 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4087, allocations: 11.92 kB / 0.7345 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/0.4087, allocations: 23.94 kB / 0.7345 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4087, allocations: 0 / 0.7345 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.4087, allocations: 0 / 0.7345 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.4109, allocations: 0.7928 MB / 0.7353 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.411, allocations: 117 kB / 0.7354 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/0.4111, allocations: 8 kB / 0.7354 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/0.4118, allocations: 44 kB / 0.7354 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.4119, allocations: 31.86 kB / 0.7354 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-05/0.4119, allocations: 27.94 kB / 0.7355 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.412, allocations: 79.27 kB / 0.7355 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.412, allocations: 4 kB / 0.7356 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000373/0.4124, allocations: 52 kB / 0.7356 GB, free: 0.5977 MB / 0.545 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.0001899/0.4126, allocations: 111.2 kB / 0.7357 GB, free: 492 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.4139, allocations: 427.4 kB / 0.7361 GB, free: 64 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4139, allocations: 0 / 0.7361 GB, free: 64 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006802/0.4146, allocations: 219.7 kB / 0.7363 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.4149, allocations: 12 kB / 0.7363 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.419, allocations: 0.7809 MB / 0.7371 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.4193, allocations: 0.6965 MB / 0.7378 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000653/0.42, allocations: 92.61 kB / 0.7379 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.4202, allocations: 59.23 kB / 0.7379 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.4202, allocations: 0 / 0.7379 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of Templates: time 0.005283/0.4255, allocations: 3.327 MB / 0.7412 GB, free: 10.83 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)