Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.239/2.239, allocations: 253.2 MB / 260.6 MB, free: 7.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002168/0.002168, allocations: 188.5 kB / 319.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.6 MB / 0.5708 GB, free: 15.26 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 97.3 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.496e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9351/1.141, allocations: 133.2 MB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/1.141, allocations: 79.2 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02853/1.17, allocations: 5.451 MB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.773e-06/1.17, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.837e-06/1.17, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 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.0007853/1.171, allocations: 389.5 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.171, allocations: 8.031 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006262/1.172, allocations: 71.66 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/1.172, allocations: 175 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/1.172, allocations: 7.938 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/1.172, allocations: 4 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001672/1.172, allocations: 41.73 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/1.172, allocations: 72.03 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.172, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/1.172, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.172, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/1.173, allocations: 316 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/1.173, allocations: 64.69 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/1.173, allocations: 24.2 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/1.173, allocations: 3.984 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/1.173, allocations: 34.56 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/1.173, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.02581/1.199, allocations: 2.109 MB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.199, allocations: 51.41 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/1.199, allocations: 92.98 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/1.2, allocations: 28.58 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/1.2, allocations: 91.98 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.2, allocations: 37.77 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/1.2, allocations: 0 / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.2, allocations: 314.5 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/1.2, allocations: 119.6 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/1.201, allocations: 110.1 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/1.201, allocations: 133.6 kB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.201, allocations: 4 kB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001282/1.203, allocations: 329.3 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.203, allocations: 4 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.203, allocations: 7.953 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.203, allocations: 0 / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.204, allocations: 127.2 kB / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.204, allocations: 0 / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.206, allocations: 55.94 kB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.702e-05/1.206, allocations: 23.94 kB / 1.029 GB, free: 10.8 MB / 0.6511 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.0001984/1.206, allocations: 105.5 kB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/1.206, allocations: 7.906 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.319e-05/1.206, allocations: 7.844 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.206, allocations: 3.953 kB / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.206, allocations: 4.188 kB / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.206, allocations: 7.984 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/1.208, allocations: 0.8886 MB / 1.03 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.208, allocations: 96 / 1.03 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/1.21, allocations: 127.6 kB / 1.03 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/1.21, allocations: 0 / 1.03 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.834e-05/1.21, allocations: 23.12 kB / 1.03 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.21, allocations: 0 / 1.03 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.21, allocations: 3.984 kB / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/1.212, allocations: 0.5797 MB / 1.031 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/1.212, allocations: 108.8 kB / 1.031 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/1.212, allocations: 3.953 kB / 1.031 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.214, allocations: 60 kB / 1.031 GB, free: 9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/1.214, allocations: 23.92 kB / 1.031 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.214, allocations: 27.92 kB / 1.031 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001234/1.214, allocations: 86.78 kB / 1.031 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.214, allocations: 0 / 1.031 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000607/1.215, allocations: 55.94 kB / 1.031 GB, free: 8.812 MB / 0.6511 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.0003001/1.215, allocations: 119.2 kB / 1.031 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009429/1.216, allocations: 260.4 kB / 1.031 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.216, allocations: 0 / 1.031 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004721/1.217, allocations: 147.6 kB / 1.031 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/1.217, allocations: 8.922 kB / 1.031 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007204/1.224, allocations: 0.6839 MB / 1.032 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/1.225, allocations: 0.6963 MB / 1.033 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001168/1.226, allocations: 92.66 kB / 1.033 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/1.226, allocations: 54.69 kB / 1.033 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.226, allocations: 0 / 1.033 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of Templates: time 0.009453/1.236, allocations: 3.143 MB / 1.036 GB, free: 3.727 MB / 0.6511 GB