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.006177/0.006177, allocations: 107.9 kB / 15.74 MB, free: 6.449 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.001399/0.001399, allocations: 196 kB / 16.67 MB, free: 6.355 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.26/1.26, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.411/1.411, allocations: 251.7 MB / 0.5094 GB, free: 3.105 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.00139/0.00139, allocations: 73.94 kB / 0.7258 GB, free: 9.074 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1957, allocations: 104.7 MB / 0.8281 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00199/0.1977, allocations: 0.5865 MB / 0.8287 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1995, allocations: 1.502 MB / 0.8301 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.1996, allocations: 0 / 0.8301 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.1996, allocations: 3.938 kB / 0.8301 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.187e-05/0.1996, allocations: 3.938 kB / 0.8301 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.2002, allocations: 143.4 kB / 0.8303 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.2002, allocations: 31.97 kB / 0.8303 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.2003, allocations: 0 / 0.8303 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.2003, allocations: 15.98 kB / 0.8303 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.2004, allocations: 27.89 kB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2005, allocations: 4 kB / 0.8304 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.2009, allocations: 311.4 kB / 0.8307 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.2009, allocations: 7.984 kB / 0.8307 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.2009, allocations: 19.86 kB / 0.8307 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.2012, allocations: 191.6 kB / 0.8309 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2012, allocations: 0 / 0.8309 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2012, allocations: 0 / 0.8309 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2013, allocations: 0 / 0.8309 GB, free: 13.41 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.0004935/0.2018, allocations: 371.4 kB / 0.8312 GB, free: 13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2018, allocations: 8.031 kB / 0.8312 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004245/0.2022, allocations: 72.84 kB / 0.8313 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2023, allocations: 164.3 kB / 0.8314 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.2024, allocations: 4.375 kB / 0.8315 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.2024, allocations: 4.375 kB / 0.8315 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.2027, allocations: 77.94 kB / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2027, allocations: 0 / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2027, allocations: 0 / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2027, allocations: 0 / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.203, allocations: 63.94 kB / 0.8316 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.2031, allocations: 169.6 kB / 0.8318 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.2037, allocations: 126.5 kB / 0.8319 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.2039, allocations: 40.92 kB / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/0.2043, allocations: 153 kB / 0.8321 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2043, allocations: 38.5 kB / 0.8321 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2043, allocations: 0 / 0.8321 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.001059/0.2054, allocations: 406.5 kB / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.2054, allocations: 55.41 kB / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.399e-05/0.2055, allocations: 93.86 kB / 0.8326 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.2055, allocations: 25.7 kB / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.2055, allocations: 84.14 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.2056, allocations: 19.7 kB / 0.8327 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.2056, allocations: 25.7 kB / 0.8328 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.2057, allocations: 310.8 kB / 0.8331 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2059, allocations: 40.08 kB / 0.8331 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.206, allocations: 39.91 kB / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.2063, allocations: 80.98 kB / 0.8332 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.2063, allocations: 0 / 0.8332 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003235/0.2066, allocations: 113.6 kB / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2067, allocations: 8 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2067, allocations: 3.984 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2067, allocations: 0 / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.2068, allocations: 19.98 kB / 0.8334 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2068, allocations: 7.938 kB / 0.8334 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.9e-05/0.2069, allocations: 15.98 kB / 0.8334 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2069, allocations: 7.875 kB / 0.8334 GB, free: 10.53 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.04e-05/0.207, allocations: 113.8 kB / 0.8335 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.207, allocations: 3.938 kB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.2074, allocations: 133.2 kB / 0.8336 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.2075, allocations: 7.984 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2075, allocations: 0 / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2075, allocations: 0 / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.2076, allocations: 161.6 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2076, allocations: 3.984 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.2078, allocations: 31.86 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2078, allocations: 4 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2078, allocations: 0 / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2078, allocations: 0 / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2078, allocations: 0 / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.2083, allocations: 189.1 kB / 0.834 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.2084, allocations: 93.12 kB / 0.8341 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.2084, allocations: 0 / 0.8341 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2085, allocations: 15.98 kB / 0.8341 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.2085, allocations: 3.984 kB / 0.8341 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.2085, allocations: 4 kB / 0.8341 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.2086, allocations: 75.28 kB / 0.8342 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2086, allocations: 4 kB / 0.8342 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002092/0.2088, allocations: 32.09 kB / 0.8342 GB, free: 9.562 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.0002059/0.209, allocations: 135.1 kB / 0.8344 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.2094, allocations: 83.92 kB / 0.8344 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.2094, allocations: 0 / 0.8344 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.2095, allocations: 43.95 kB / 0.8345 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.2097, allocations: 4 kB / 0.8345 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.2103, allocations: 189.6 kB / 0.8347 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2105, allocations: 0.6883 MB / 0.8353 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.501e-05/0.2106, allocations: 19.98 kB / 0.8354 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.2107, allocations: 15.38 kB / 0.8354 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2107, allocations: 0 / 0.8354 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of Templates: time 0.003354/0.214, allocations: 1.163 MB / 0.8365 GB, free: 7.176 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)