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.003935/0.003935, allocations: 103.2 kB / 15.73 MB, free: 6.055 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.0009228/0.0009228, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.245/1.245, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.348/1.348, allocations: 251.7 MB / 0.5094 GB, free: 2.965 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.001279/0.001279, allocations: 79.89 kB / 0.7258 GB, free: 8.953 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1944, allocations: 104.7 MB / 0.8281 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001591/0.196, allocations: 0.5981 MB / 0.8287 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1978, allocations: 1.498 MB / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.1978, allocations: 0 / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.1978, allocations: 3.938 kB / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.075e-05/0.1979, allocations: 3.938 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.1983, allocations: 135.5 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.07e-05/0.1984, allocations: 35.91 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.1985, allocations: 7.984 kB / 0.8303 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.1985, allocations: 11.98 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.1986, allocations: 27.91 kB / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1986, allocations: 0 / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.199, allocations: 315.3 kB / 0.8307 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.199, allocations: 11.98 kB / 0.8307 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.1991, allocations: 7.938 kB / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.1994, allocations: 191.6 kB / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1994, allocations: 4 kB / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1994, allocations: 0 / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1994, allocations: 0 / 0.8309 GB, free: 13.29 MB / 0.6544 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.0005244/0.1999, allocations: 367.4 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2, allocations: 8.031 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004314/0.2004, allocations: 68.84 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2005, allocations: 164.4 kB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.2005, allocations: 8.375 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.2006, allocations: 384 / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2008, allocations: 81.88 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2008, allocations: 0 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2009, allocations: 0 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2009, allocations: 0 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.2011, allocations: 63.94 kB / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.2014, allocations: 177.5 kB / 0.8318 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.202, allocations: 122.6 kB / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.2021, allocations: 44.86 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/0.2025, allocations: 157 kB / 0.8321 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2026, allocations: 38.5 kB / 0.8321 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2026, allocations: 0 / 0.8321 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.001099/0.2037, allocations: 406.2 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2037, allocations: 51.41 kB / 0.8325 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2038, allocations: 97.86 kB / 0.8326 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.2039, allocations: 25.7 kB / 0.8327 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.2039, allocations: 80.14 kB / 0.8327 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.2039, allocations: 23.64 kB / 0.8328 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.204, allocations: 21.72 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2041, allocations: 314.8 kB / 0.8331 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2042, allocations: 36.09 kB / 0.8331 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2044, allocations: 35.97 kB / 0.8331 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.2047, allocations: 80.8 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2047, allocations: 3.938 kB / 0.8332 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003258/0.205, allocations: 113.6 kB / 0.8333 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.205, allocations: 4 kB / 0.8333 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.205, allocations: 0 / 0.8333 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2051, allocations: 0 / 0.8333 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.2052, allocations: 23.92 kB / 0.8334 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2052, allocations: 7.984 kB / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.244e-05/0.2053, allocations: 15.98 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.2053, allocations: 4 kB / 0.8334 GB, free: 10.41 MB / 0.6544 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 7.073e-05/0.2054, allocations: 105.8 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.2054, allocations: 7.938 kB / 0.8335 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.2058, allocations: 137.3 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2058, allocations: 0 / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2059, allocations: 4.062 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2059, allocations: 336 / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.206, allocations: 173.6 kB / 0.8338 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.206, allocations: 0 / 0.8338 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.2062, allocations: 27.92 kB / 0.8338 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2062, allocations: 3.984 kB / 0.8338 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2062, allocations: 3.984 kB / 0.8338 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2062, allocations: 0 / 0.8338 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2062, allocations: 0 / 0.8338 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.2067, allocations: 185 kB / 0.834 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.2068, allocations: 93.12 kB / 0.8341 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.2068, allocations: 0 / 0.8341 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2069, allocations: 15.98 kB / 0.8341 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.207, allocations: 7.984 kB / 0.8341 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.207, allocations: 0 / 0.8341 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.207, allocations: 79.28 kB / 0.8342 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.207, allocations: 0 / 0.8342 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000212/0.2073, allocations: 27.98 kB / 0.8342 GB, free: 9.449 MB / 0.6544 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.0001981/0.2075, allocations: 139.2 kB / 0.8344 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.2078, allocations: 91.8 kB / 0.8344 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2078, allocations: 0 / 0.8344 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.208, allocations: 39.97 kB / 0.8345 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.2082, allocations: 8 kB / 0.8345 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.2087, allocations: 185.6 kB / 0.8347 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.209, allocations: 0.6876 MB / 0.8353 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.018e-05/0.209, allocations: 20 kB / 0.8354 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.2091, allocations: 11.44 kB / 0.8354 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of SimCode: time 1.512e-06/0.2091, allocations: 0 / 0.8354 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of Templates: time 0.00312/0.2122, allocations: 1.162 MB / 0.8365 GB, free: 7.059 MB / 0.6544 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)