Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.711/1.711, allocations: 285.4 MB / 298 MB, free: 6.012 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 184.8 kB / 366.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 0.6248 GB, free: 7.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009498/0.0009496, allocations: 85.73 kB / 0.738 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.885e-05/3.888e-05, allocations: 8 kB / 0.8583 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8627/0.8627, allocations: 115.3 MB / 0.9709 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/1.086, allocations: 139.5 MB / 1.107 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/1.086, allocations: 85.17 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01649/1.102, allocations: 5.457 MB / 1.113 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.898e-06/1.102, allocations: 0 / 1.113 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.034e-05/1.102, allocations: 3.938 kB / 1.113 GB, free: 6.867 MB / 0.7136 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.0006093/1.103, allocations: 390.2 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/1.103, allocations: 8.031 kB / 1.113 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004295/1.104, allocations: 67.92 kB / 1.113 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/1.104, allocations: 171 kB / 1.113 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/1.104, allocations: 7.938 kB / 1.113 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/1.104, allocations: 15.91 kB / 1.113 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/1.104, allocations: 79.97 kB / 1.113 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.104, allocations: 3.688 kB / 1.113 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/1.104, allocations: 8 kB / 1.113 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.104, allocations: 0 / 1.113 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/1.104, allocations: 39.98 kB / 1.113 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/1.105, allocations: 344.6 kB / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/1.105, allocations: 66.5 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/1.105, allocations: 32.84 kB / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/1.105, allocations: 0 / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/1.105, allocations: 36.06 kB / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.786e-06/1.105, allocations: 3.984 kB / 1.114 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.013/1.118, allocations: 2.107 MB / 1.116 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/1.118, allocations: 55.41 kB / 1.116 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/1.118, allocations: 93 kB / 1.116 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/1.118, allocations: 25.7 kB / 1.116 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/1.119, allocations: 95.98 kB / 1.116 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.044e-05/1.119, allocations: 35.45 kB / 1.116 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/1.119, allocations: 4 kB / 1.116 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.119, allocations: 318.8 kB / 1.116 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/1.119, allocations: 115.9 kB / 1.116 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/1.119, allocations: 115.9 kB / 1.117 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/1.12, allocations: 115.9 kB / 1.117 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.12, allocations: 0 / 1.117 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007589/1.12, allocations: 319.4 kB / 1.117 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.12, allocations: 5.719 kB / 1.117 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.12, allocations: 3.984 kB / 1.117 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/1.121, allocations: 7.953 kB / 1.117 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008246/1.121, allocations: 127.7 kB / 1.117 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.121, allocations: 0 / 1.117 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/1.122, allocations: 59.03 kB / 1.117 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/1.122, allocations: 23.94 kB / 1.117 GB, free: 1.738 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/1.122, allocations: 105 kB / 1.117 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/1.122, allocations: 7.906 kB / 1.117 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/1.122, allocations: 16.08 kB / 1.117 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/1.122, allocations: 7.953 kB / 1.117 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.122, allocations: 0 / 1.117 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/1.122, allocations: 4 kB / 1.117 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/1.124, allocations: 0.8938 MB / 1.118 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.124, allocations: 3.953 kB / 1.118 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008051/1.125, allocations: 119.8 kB / 1.118 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.125, allocations: 0 / 1.118 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/1.125, allocations: 19.94 kB / 1.118 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.125, allocations: 0 / 1.118 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.125, allocations: 3.984 kB / 1.118 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/1.126, allocations: 0.5712 MB / 1.119 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/1.126, allocations: 120.9 kB / 1.119 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/1.126, allocations: 7.984 kB / 1.119 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/1.127, allocations: 60 kB / 1.119 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/1.127, allocations: 23.92 kB / 1.119 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/1.127, allocations: 23.94 kB / 1.119 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.282e-05/1.127, allocations: 83.28 kB / 1.119 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/1.127, allocations: 0 / 1.119 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004005/1.128, allocations: 59.94 kB / 1.119 GB, free: 15.46 MB / 0.7292 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 () * 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 (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.0002724/1.128, allocations: 119.2 kB / 1.119 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006358/1.128, allocations: 271.7 kB / 1.12 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.128, allocations: 0 / 1.12 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/1.129, allocations: 151.8 kB / 1.12 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/1.129, allocations: 4 kB / 1.12 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/1.133, allocations: 0.6884 MB / 1.121 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/1.133, allocations: 0.6938 MB / 1.121 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000684/1.134, allocations: 96.64 kB / 1.121 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/1.134, allocations: 59.3 kB / 1.121 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of SimCode: time 7.82e-07/1.134, allocations: 0 / 1.121 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.007208/1.141, allocations: 3.226 MB / 1.124 GB, free: 10.14 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)