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.000973/0.0009727, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001374/0.001374, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.615/1.615, allocations: 252 MB / 0.5102 GB, free: 4.777 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.0005415/0.0005418, allocations: 16 kB / 0.6243 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4814, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0008083/0.4823, allocations: 332.6 kB / 0.7285 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.484, allocations: 1.427 MB / 0.7299 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.484, allocations: 0 / 0.7299 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.4841, allocations: 3.938 kB / 0.7299 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.447e-05/0.4841, allocations: 4 kB / 0.7299 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.4845, allocations: 111.7 kB / 0.73 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.038e-05/0.4846, allocations: 19.97 kB / 0.73 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.4846, allocations: 0 / 0.73 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.619e-05/0.4847, allocations: 23.98 kB / 0.73 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.4847, allocations: 23.91 kB / 0.73 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.4848, allocations: 3.984 kB / 0.73 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.4852, allocations: 303.4 kB / 0.7303 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.4852, allocations: 7.984 kB / 0.7303 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.4853, allocations: 25.7 kB / 0.7304 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.4855, allocations: 135.8 kB / 0.7305 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4855, allocations: 0 / 0.7305 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.143e-06/0.4855, allocations: 0 / 0.7305 GB, free: 8.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4855, allocations: 0 / 0.7305 GB, free: 8.965 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.0004471/0.4859, allocations: 365.2 kB / 0.7308 GB, free: 8.562 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.486, allocations: 8.031 kB / 0.7308 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004138/0.4864, allocations: 79.91 kB / 0.7309 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.4865, allocations: 174.9 kB / 0.7311 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.4866, allocations: 0 / 0.7311 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.4866, allocations: 4 kB / 0.7311 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.4869, allocations: 81.62 kB / 0.7312 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4869, allocations: 0 / 0.7312 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.4869, allocations: 4 kB / 0.7312 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4869, allocations: 0 / 0.7312 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.4872, allocations: 75.94 kB / 0.7312 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.4874, allocations: 169.6 kB / 0.7314 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.4879, allocations: 150.5 kB / 0.7316 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.4881, allocations: 48.92 kB / 0.7316 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000412/0.4885, allocations: 173 kB / 0.7318 GB, free: 7.488 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.4885, allocations: 34.56 kB / 0.7318 GB, free: 7.445 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4885, allocations: 0 / 0.7318 GB, free: 7.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001042/0.4896, allocations: 442.4 kB / 0.7322 GB, free: 6.961 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.4896, allocations: 51.41 kB / 0.7323 GB, free: 6.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/0.4897, allocations: 93.86 kB / 0.7324 GB, free: 6.797 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4897, allocations: 25.7 kB / 0.7324 GB, free: 6.766 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.4897, allocations: 80.14 kB / 0.7325 GB, free: 6.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.4898, allocations: 23.7 kB / 0.7325 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.4898, allocations: 4.125 kB / 0.7325 GB, free: 6.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.4899, allocations: 318.8 kB / 0.7328 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.49, allocations: 35.97 kB / 0.7328 GB, free: 6.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.4902, allocations: 51.89 kB / 0.7329 GB, free: 6.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.4903, allocations: 39.98 kB / 0.7329 GB, free: 6.211 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4903, allocations: 0 / 0.7329 GB, free: 6.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000318/0.4906, allocations: 121.6 kB / 0.733 GB, free: 6.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4906, allocations: 8 kB / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4907, allocations: 256 / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.4907, allocations: 3.984 kB / 0.733 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.4908, allocations: 39.95 kB / 0.7331 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4908, allocations: 0 / 0.7331 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.4909, allocations: 15.98 kB / 0.7331 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.4909, allocations: 4 kB / 0.7331 GB, free: 6.016 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.314e-05/0.491, allocations: 117.7 kB / 0.7332 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.491, allocations: 4 kB / 0.7332 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.4915, allocations: 153.1 kB / 0.7334 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4915, allocations: 0 / 0.7334 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.4915, allocations: 0 / 0.7334 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.4915, allocations: 0 / 0.7334 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.4916, allocations: 173.6 kB / 0.7335 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4916, allocations: 0 / 0.7335 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.4918, allocations: 27.97 kB / 0.7336 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4918, allocations: 0 / 0.7336 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.4918, allocations: 4 kB / 0.7336 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4918, allocations: 0 / 0.7336 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4918, allocations: 3.938 kB / 0.7336 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.4923, allocations: 216.8 kB / 0.7338 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.4924, allocations: 85.12 kB / 0.7338 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.4924, allocations: 0 / 0.7338 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4925, allocations: 19.98 kB / 0.7339 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.4925, allocations: 4 kB / 0.7339 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.4925, allocations: 8.047 kB / 0.7339 GB, free: 5.113 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.698e-05/0.4926, allocations: 79.28 kB / 0.734 GB, free: 5.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4926, allocations: 0 / 0.734 GB, free: 5.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002164/0.4928, allocations: 32 kB / 0.734 GB, free: 5.004 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 (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.0001758/0.493, allocations: 123.2 kB / 0.7341 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003272/0.4933, allocations: 99.95 kB / 0.7342 GB, free: 4.773 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4933, allocations: 4 kB / 0.7342 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.4935, allocations: 44.22 kB / 0.7342 GB, free: 4.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.4936, allocations: 16.5 kB / 0.7343 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.4941, allocations: 211.6 kB / 0.7345 GB, free: 4.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.4943, allocations: 0.6848 MB / 0.7351 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.4945, allocations: 19.98 kB / 0.7351 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.4945, allocations: 15.42 kB / 0.7352 GB, free: 3.738 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4945, allocations: 0 / 0.7352 GB, free: 3.738 MB / 0.545 GB Notification: Performance of Templates: time 0.002856/0.4974, allocations: 1.097 MB / 0.7362 GB, free: 2.648 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: