Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_11_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.001317/0.001317, allocations: 112.8 kB / 15.99 MB, free: 5.91 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.001278/0.001278, allocations: 196.6 kB / 16.91 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.6 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 64.25 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3433, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001819/0.3452, allocations: 0.6639 MB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.3471, allocations: 1.443 MB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.3471, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.3471, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.746e-05/0.3472, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.3476, allocations: 119 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.524e-05/0.3477, allocations: 31.97 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.3477, allocations: 8 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.749e-05/0.3478, allocations: 11.98 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.3479, allocations: 31.83 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.3479, allocations: 7.938 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.3483, allocations: 315.4 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.3484, allocations: 11.97 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.3484, allocations: 7.938 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.3486, allocations: 131.9 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3486, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3486, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3486, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 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.0005591/0.3492, allocations: 367.8 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3492, allocations: 8.031 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004629/0.3497, allocations: 72.84 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3498, allocations: 164.3 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.3499, allocations: 8.375 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.3499, allocations: 384 / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.3502, allocations: 81.94 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3502, allocations: 3.984 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3502, allocations: 3.938 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3502, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.3505, allocations: 67.88 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.3507, allocations: 169.6 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00058/0.3513, allocations: 118.6 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.3515, allocations: 44.92 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004424/0.3519, allocations: 149 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.352, allocations: 46.44 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.352, allocations: 4 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5): time 0.001144/0.3531, allocations: 406.1 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.3532, allocations: 51.41 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.3532, allocations: 93.86 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3533, allocations: 25.7 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.3533, allocations: 84.14 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.3533, allocations: 11.75 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.3534, allocations: 29.83 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3536, allocations: 314.8 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3537, allocations: 39.95 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.3539, allocations: 35.97 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.3542, allocations: 80.8 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3542, allocations: 0 / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003534/0.3545, allocations: 109.5 kB / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3546, allocations: 11.98 kB / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3546, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3546, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3547, allocations: 23.92 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3547, allocations: 0 / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3548, allocations: 15.98 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3549, allocations: 8.25 kB / 1.069 GB, free: 9.418 MB / 0.8419 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 8.958e-05/0.355, allocations: 112 kB / 1.069 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.355, allocations: 11.84 kB / 1.07 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/0.3554, allocations: 137.1 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3555, allocations: 7.984 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3555, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3555, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3556, allocations: 169.6 kB / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3556, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.3558, allocations: 23.92 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3558, allocations: 0 / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3558, allocations: 4 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3558, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3558, allocations: 8 kB / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.3564, allocations: 181 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.3565, allocations: 92.97 kB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3565, allocations: 0 / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3566, allocations: 15.98 kB / 1.07 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.3567, allocations: 12.38 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.3567, allocations: 0 / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.3567, allocations: 79.28 kB / 1.07 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3567, allocations: 0 / 1.07 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002192/0.3569, allocations: 32 kB / 1.07 GB, free: 8.449 MB / 0.8419 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.0002177/0.3572, allocations: 127.2 kB / 1.07 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003714/0.3575, allocations: 83.97 kB / 1.07 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3576, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.3577, allocations: 51.95 kB / 1.07 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.3579, allocations: 4 kB / 1.07 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.3585, allocations: 219 kB / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.3588, allocations: 0.6768 MB / 1.071 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.3589, allocations: 11.44 kB / 1.071 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3589, allocations: 4 kB / 1.071 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of Templates: time 0.002795/0.3617, allocations: 1.144 MB / 1.072 GB, free: 6.066 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)