Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.566/2.566, allocations: 287.5 MB / 302.5 MB, free: 8.25 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.002063/0.002063, allocations: 176 kB / 371 MB, free: 10.8 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.087/2.087, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 94.72 kB / 0.743 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007309/0.0007309, allocations: 13.55 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2555, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9591/1.215, allocations: 138.6 MB / 1.114 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/1.215, allocations: 79.2 kB / 1.114 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02057/1.236, allocations: 4.079 MB / 1.118 GB, free: 31.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.096e-06/1.236, allocations: 0 / 1.118 GB, free: 31.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.236, allocations: 0 / 1.118 GB, free: 31.17 MB / 0.698 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.0005887/1.236, allocations: 367.6 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.236, allocations: 11.66 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006179/1.237, allocations: 70.12 kB / 1.118 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/1.237, allocations: 171 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/1.237, allocations: 0 / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/1.237, allocations: 11.25 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/1.238, allocations: 73.64 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/1.238, allocations: 4 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/1.238, allocations: 7.922 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.238, allocations: 3.844 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/1.238, allocations: 77.45 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/1.238, allocations: 166.4 kB / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.239, allocations: 142.3 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.766e-05/1.24, allocations: 7.656 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/1.24, allocations: 30.56 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 3.066e-06/1.24, allocations: 4 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.001837/1.241, allocations: 438 kB / 1.119 GB, free: 29.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/1.242, allocations: 53.89 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/1.242, allocations: 92.44 kB / 1.119 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/1.242, allocations: 25.7 kB / 1.119 GB, free: 29.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/1.242, allocations: 80.14 kB / 1.12 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/1.242, allocations: 21.28 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/1.242, allocations: 3.875 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.242, allocations: 315 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/1.242, allocations: 39.25 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/1.242, allocations: 49.61 kB / 1.12 GB, free: 29.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/1.243, allocations: 48.09 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.243, allocations: 0 / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000667/1.243, allocations: 126 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.244, allocations: 8.672 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.244, allocations: 0 / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.244, allocations: 0 / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/1.244, allocations: 30.53 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.244, allocations: 0 / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/1.244, allocations: 13.52 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/1.244, allocations: 3.812 kB / 1.12 GB, free: 29.34 MB / 0.698 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 0.0001123/1.244, allocations: 121.3 kB / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/1.244, allocations: 3.906 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007569/1.245, allocations: 148.8 kB / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.245, allocations: 4 kB / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.245, allocations: 0 / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.245, allocations: 0 / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/1.245, allocations: 177.4 kB / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.245, allocations: 0 / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/1.246, allocations: 28.95 kB / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/1.246, allocations: 0 / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/1.246, allocations: 0 / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.246, allocations: 4 kB / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.246, allocations: 3.938 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/1.247, allocations: 201.5 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/1.247, allocations: 88.41 kB / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/1.247, allocations: 0 / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/1.247, allocations: 21.06 kB / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/1.247, allocations: 3.812 kB / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/1.247, allocations: 3.141 kB / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.812e-05/1.247, allocations: 83.31 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.247, allocations: 0 / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003615/1.247, allocations: 45.38 kB / 1.121 GB, free: 28.7 MB / 0.698 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.000275/1.248, allocations: 132.5 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006217/1.248, allocations: 102.9 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.248, allocations: 0 / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002821/1.249, allocations: 53.44 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/1.249, allocations: 0.5469 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009335/1.25, allocations: 216.3 kB / 1.122 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/1.25, allocations: 0.6851 MB / 1.122 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001927/1.25, allocations: 19.62 kB / 1.122 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/1.25, allocations: 14.11 kB / 1.122 GB, free: 27.73 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/1.25, allocations: 0 / 1.122 GB, free: 27.73 MB / 0.698 GB Notification: Performance of Templates: time 0.004248/1.255, allocations: 1.083 MB / 1.123 GB, free: 27.63 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)