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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.285/1.285, allocations: 252 MB / 267.9 MB, free: 10.77 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 184 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 0.5785 GB, free: 20.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007126/0.0007126, allocations: 86.41 kB / 0.6831 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003848, allocations: 16.94 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1792, allocations: 106.3 MB / 0.9012 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.327, allocations: 132.5 MB / 1.031 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.3273, allocations: 83.94 kB / 1.031 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01194/0.3393, allocations: 4.107 MB / 1.035 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3393, allocations: 0 / 1.035 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.3393, allocations: 0 / 1.035 GB, free: 7.262 MB / 0.6823 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.0004025/0.3397, allocations: 371.3 kB / 1.035 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3398, allocations: 8.031 kB / 1.035 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.3401, allocations: 60.88 kB / 1.035 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3402, allocations: 164.4 kB / 1.035 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.3403, allocations: 4.359 kB / 1.035 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.3403, allocations: 8.375 kB / 1.035 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.3406, allocations: 82.14 kB / 1.035 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3406, allocations: 192 / 1.035 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3406, allocations: 3.938 kB / 1.035 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3406, allocations: 4 kB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.3409, allocations: 87.8 kB / 1.035 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.3411, allocations: 161.7 kB / 1.036 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.3417, allocations: 142.5 kB / 1.036 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.3418, allocations: 56.97 kB / 1.036 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.3419, allocations: 4 kB / 1.036 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.3419, allocations: 30.56 kB / 1.036 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3419, allocations: 0 / 1.036 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.001113/0.343, allocations: 442.4 kB / 1.036 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3431, allocations: 51.41 kB / 1.036 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.3432, allocations: 101.9 kB / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3432, allocations: 29.64 kB / 1.036 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.3432, allocations: 88.11 kB / 1.037 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.3433, allocations: 19.66 kB / 1.037 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.3433, allocations: 0 / 1.037 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3434, allocations: 314.8 kB / 1.037 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3435, allocations: 44.09 kB / 1.037 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3437, allocations: 44.02 kB / 1.037 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.344, allocations: 92.8 kB / 1.037 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.344, allocations: 0 / 1.037 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003432/0.3443, allocations: 125.6 kB / 1.037 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3444, allocations: 7.938 kB / 1.037 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3444, allocations: 3.984 kB / 1.037 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3444, allocations: 0 / 1.037 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.3445, allocations: 31.92 kB / 1.037 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.3446, allocations: 0 / 1.037 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.226e-05/0.3447, allocations: 15.98 kB / 1.037 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3447, allocations: 8 kB / 1.037 GB, free: 4.441 MB / 0.6823 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 8.409e-05/0.3448, allocations: 109.8 kB / 1.037 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.3448, allocations: 7.938 kB / 1.037 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.3452, allocations: 141.2 kB / 1.037 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3452, allocations: 4 kB / 1.037 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3452, allocations: 3.984 kB / 1.037 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3453, allocations: 3.938 kB / 1.037 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.3454, allocations: 169.5 kB / 1.038 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3454, allocations: 3.984 kB / 1.038 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.3455, allocations: 23.98 kB / 1.038 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3456, allocations: 3.938 kB / 1.038 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3456, allocations: 8 kB / 1.038 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3456, allocations: 0 / 1.038 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3456, allocations: 0 / 1.038 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.3461, allocations: 213.2 kB / 1.038 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.3462, allocations: 85.12 kB / 1.038 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3462, allocations: 3.938 kB / 1.038 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3463, allocations: 19.98 kB / 1.038 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.3464, allocations: 4.047 kB / 1.038 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3464, allocations: 11.94 kB / 1.038 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.3464, allocations: 75.28 kB / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3464, allocations: 0 / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00026/0.3467, allocations: 39.94 kB / 1.038 GB, free: 3.426 MB / 0.6823 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.0002459/0.347, allocations: 143.1 kB / 1.038 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003514/0.3473, allocations: 92.03 kB / 1.038 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3473, allocations: 4 kB / 1.038 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.3475, allocations: 51.89 kB / 1.038 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.3476, allocations: 11.38 kB / 1.038 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.3482, allocations: 200.5 kB / 1.039 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.3485, allocations: 0.6809 MB / 1.039 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000117/0.3486, allocations: 19.89 kB / 1.039 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.3486, allocations: 11.44 kB / 1.039 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of SimCode: time 1.91e-07/0.3486, allocations: 4 kB / 1.039 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of Templates: time 0.003042/0.3517, allocations: 1.1 MB / 1.04 GB, free: 1.066 MB / 0.6823 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)