Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.654/2.654, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 176.9 kB / 360.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001037, allocations: 97.97 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.315e-05, allocations: 8 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8653/0.8654, allocations: 115.3 MB / 0.9635 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.235/1.1, allocations: 138.6 MB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/1.101, allocations: 79.94 kB / 1.099 GB, free: 1.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02853/1.129, allocations: 5.435 MB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/1.129, allocations: 4 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.11e-05/1.129, allocations: 4 kB / 1.104 GB, free: 12.36 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.0007464/1.13, allocations: 390.2 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.13, allocations: 12.59 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006189/1.131, allocations: 61.14 kB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/1.131, allocations: 171 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/1.131, allocations: 4 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/1.131, allocations: 19.83 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001702/1.131, allocations: 32 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/1.132, allocations: 75.84 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.132, allocations: 4 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/1.132, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.132, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008361/1.132, allocations: 317.2 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/1.133, allocations: 66.5 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.638e-05/1.133, allocations: 24.84 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/1.133, allocations: 0 / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/1.133, allocations: 44.62 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/1.133, allocations: 0 / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.03311/1.166, allocations: 2.103 MB / 1.107 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/1.166, allocations: 59.41 kB / 1.108 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/1.166, allocations: 95.7 kB / 1.108 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.166, allocations: 25.7 kB / 1.108 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.167, allocations: 95.97 kB / 1.108 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/1.167, allocations: 35.47 kB / 1.108 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/1.167, allocations: 0 / 1.108 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002135/1.167, allocations: 318.8 kB / 1.108 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/1.168, allocations: 107.9 kB / 1.108 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/1.168, allocations: 115.9 kB / 1.108 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009109/1.169, allocations: 132.8 kB / 1.108 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.169, allocations: 0 / 1.108 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002029/1.171, allocations: 330.8 kB / 1.109 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.171, allocations: 8 kB / 1.109 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.171, allocations: 0 / 1.109 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/1.171, allocations: 3.953 kB / 1.109 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/1.174, allocations: 119.7 kB / 1.109 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.174, allocations: 4 kB / 1.109 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/1.176, allocations: 59.94 kB / 1.109 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/1.176, allocations: 23.92 kB / 1.109 GB, free: 7.285 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.0002938/1.176, allocations: 106.1 kB / 1.109 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/1.176, allocations: 7.906 kB / 1.109 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/1.177, allocations: 8.406 kB / 1.109 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/1.177, allocations: 4 kB / 1.109 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.177, allocations: 3.953 kB / 1.109 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/1.177, allocations: 0 / 1.109 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/1.18, allocations: 0.8781 MB / 1.11 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.18, allocations: 0 / 1.11 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/1.183, allocations: 123.8 kB / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.313e-05/1.183, allocations: 7.953 kB / 1.11 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/1.183, allocations: 23.81 kB / 1.11 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/1.183, allocations: 1.312 kB / 1.11 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.183, allocations: 0 / 1.11 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00299/1.186, allocations: 0.5793 MB / 1.111 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/1.186, allocations: 120.9 kB / 1.111 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/1.186, allocations: 3.953 kB / 1.111 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/1.189, allocations: 56 kB / 1.111 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/1.189, allocations: 27.92 kB / 1.111 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/1.189, allocations: 27.94 kB / 1.111 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.549e-05/1.189, allocations: 75.28 kB / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.71e-07/1.189, allocations: 4 kB / 1.111 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009329/1.19, allocations: 59.92 kB / 1.111 GB, free: 5.043 MB / 0.7136 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.0003979/1.19, allocations: 111.2 kB / 1.111 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001455/1.192, allocations: 263.7 kB / 1.111 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.192, allocations: 0 / 1.111 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007527/1.193, allocations: 157.4 kB / 1.111 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/1.193, allocations: 0 / 1.111 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.204, allocations: 0.6859 MB / 1.112 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/1.205, allocations: 0.7006 MB / 1.113 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00192/1.206, allocations: 88.67 kB / 1.113 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006617/1.207, allocations: 59.3 kB / 1.113 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of SimCode: time 1.903e-06/1.207, allocations: 0 / 1.113 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of Templates: time 0.01366/1.221, allocations: 3.141 MB / 1.116 GB, free: 15.82 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)