Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009974/0.0009975, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009653/0.0009654, allocations: 189.4 kB / 16.25 MB, free: 6.629 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.213/1.213, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.305/1.305, allocations: 251.7 MB / 0.5089 GB, free: 3.301 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.001242/0.001243, allocations: 72.41 kB / 0.6218 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4118, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001634/0.4135, allocations: 0.6675 MB / 0.7247 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.4151, allocations: 1.497 MB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.633e-05/0.4151, allocations: 3.938 kB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.4151, allocations: 0 / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.486e-05/0.4151, allocations: 0 / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.4155, allocations: 127.6 kB / 0.7262 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.4156, allocations: 31.97 kB / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.046e-05/0.4156, allocations: 0 / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.4157, allocations: 19.98 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.4157, allocations: 23.91 kB / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.4157, allocations: 4 kB / 0.7263 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.4161, allocations: 315.3 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.4161, allocations: 3.984 kB / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.4161, allocations: 15.92 kB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.4164, allocations: 179.7 kB / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4164, allocations: 4 kB / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4164, allocations: 0 / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.4164, allocations: 0 / 0.7268 GB, free: 10.18 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004374/0.4168, allocations: 365.4 kB / 0.7272 GB, free: 9.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.4169, allocations: 19.91 kB / 0.7272 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/0.4173, allocations: 68.84 kB / 0.7272 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.731e-05/0.4174, allocations: 168.3 kB / 0.7274 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4174, allocations: 384 / 0.7274 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.4174, allocations: 4.375 kB / 0.7274 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.4176, allocations: 81.94 kB / 0.7275 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.4177, allocations: 0 / 0.7275 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4177, allocations: 4 kB / 0.7275 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.4177, allocations: 0 / 0.7275 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.4179, allocations: 59.94 kB / 0.7276 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.4181, allocations: 169.5 kB / 0.7277 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.4186, allocations: 130.5 kB / 0.7278 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.4188, allocations: 40.98 kB / 0.7279 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.4192, allocations: 161 kB / 0.728 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.4192, allocations: 34.5 kB / 0.7281 GB, free: 8.719 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.4192, allocations: 0 / 0.7281 GB, free: 8.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.000973/0.4202, allocations: 398.2 kB / 0.7284 GB, free: 8.277 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.4202, allocations: 51.41 kB / 0.7285 GB, free: 8.215 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.824e-05/0.4203, allocations: 97.86 kB / 0.7286 GB, free: 8.109 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.4203, allocations: 25.7 kB / 0.7286 GB, free: 8.078 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.4203, allocations: 84.27 kB / 0.7287 GB, free: 7.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.4204, allocations: 23.7 kB / 0.7287 GB, free: 7.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.4204, allocations: 17.72 kB / 0.7287 GB, free: 7.945 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.4205, allocations: 314.8 kB / 0.729 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.4206, allocations: 39.91 kB / 0.7291 GB, free: 7.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4208, allocations: 39.91 kB / 0.7291 GB, free: 7.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.421, allocations: 76.8 kB / 0.7292 GB, free: 7.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.4211, allocations: 0 / 0.7292 GB, free: 7.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003066/0.4214, allocations: 117.6 kB / 0.7293 GB, free: 7.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.4214, allocations: 4 kB / 0.7293 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.4214, allocations: 0 / 0.7293 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.4214, allocations: 0 / 0.7293 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4215, allocations: 23.92 kB / 0.7293 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4216, allocations: 7.984 kB / 0.7293 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.4216, allocations: 16.17 kB / 0.7293 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.4217, allocations: 8 kB / 0.7293 GB, free: 7.293 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 (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 6.361e-05/0.4217, allocations: 109.8 kB / 0.7295 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.4217, allocations: 7.938 kB / 0.7295 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/0.4222, allocations: 137.1 kB / 0.7296 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4222, allocations: 0 / 0.7296 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4222, allocations: 336 / 0.7296 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4222, allocations: 0 / 0.7296 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.4223, allocations: 173.6 kB / 0.7298 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4223, allocations: 0 / 0.7298 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.4225, allocations: 27.86 kB / 0.7298 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4225, allocations: 7.984 kB / 0.7298 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4225, allocations: 7.984 kB / 0.7298 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4225, allocations: 0 / 0.7298 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4225, allocations: 0 / 0.7298 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/0.423, allocations: 181.1 kB / 0.73 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.4231, allocations: 85.03 kB / 0.7301 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.4231, allocations: 0 / 0.7301 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.4232, allocations: 16.05 kB / 0.7301 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.4233, allocations: 7.984 kB / 0.7301 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4233, allocations: 8 kB / 0.7301 GB, free: 6.438 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.4233, allocations: 75.28 kB / 0.7302 GB, free: 6.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4233, allocations: 0 / 0.7302 GB, free: 6.363 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002048/0.4235, allocations: 31.98 kB / 0.7302 GB, free: 6.332 MB / 0.545 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.000167/0.4237, allocations: 143.2 kB / 0.7303 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.424, allocations: 75.92 kB / 0.7304 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.424, allocations: 8 kB / 0.7304 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.4242, allocations: 43.91 kB / 0.7304 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.4243, allocations: 7.938 kB / 0.7305 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.4249, allocations: 193.2 kB / 0.7306 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.4251, allocations: 0.6768 MB / 0.7313 GB, free: 5.129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.4252, allocations: 23.94 kB / 0.7313 GB, free: 5.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.4253, allocations: 11.44 kB / 0.7313 GB, free: 5.094 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4253, allocations: 0 / 0.7313 GB, free: 5.094 MB / 0.545 GB Notification: Performance of Templates: time 0.002824/0.4281, allocations: 1.157 MB / 0.7325 GB, free: 3.945 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)