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.59/2.59, allocations: 287.5 MB / 302.4 MB, free: 8.184 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.001498/0.001498, allocations: 169.2 kB / 371 MB, free: 10.81 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.104/2.104, allocations: 205.4 MB / 0.6297 GB, free: 10.55 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.001222/0.001222, allocations: 98.91 kB / 0.743 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.0005186, allocations: 17.12 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.34, allocations: 139.4 MB / 1.115 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/1.341, allocations: 87.22 kB / 1.115 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03219/1.373, allocations: 5.477 MB / 1.12 GB, free: 31.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/1.373, allocations: 0 / 1.12 GB, free: 31.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.373, allocations: 0 / 1.12 GB, free: 31.07 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006867/1.374, allocations: 398.9 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.374, allocations: 11.56 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006006/1.374, allocations: 65.69 kB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/1.374, allocations: 174.8 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/1.374, allocations: 7.781 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/1.374, allocations: 7.844 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/1.375, allocations: 120.8 kB / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.375, allocations: 0 / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/1.375, allocations: 3.812 kB / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.375, allocations: 0 / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008436/1.376, allocations: 123.8 kB / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007302/1.377, allocations: 345.5 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/1.378, allocations: 184.2 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/1.378, allocations: 3.516 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/1.378, allocations: 37.28 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/1.378, allocations: 3.938 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.03938/1.417, allocations: 3.177 MB / 1.124 GB, free: 29.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/1.417, allocations: 58.22 kB / 1.125 GB, free: 29.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/1.418, allocations: 88.81 kB / 1.125 GB, free: 29.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/1.418, allocations: 33.64 kB / 1.125 GB, free: 29.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/1.418, allocations: 87 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/1.418, allocations: 45.39 kB / 1.125 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/1.418, allocations: 0 / 1.125 GB, free: 29.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.418, allocations: 317.2 kB / 1.125 GB, free: 28.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/1.42, allocations: 216.1 kB / 1.125 GB, free: 28.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/1.422, allocations: 218.3 kB / 1.125 GB, free: 28.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/1.423, allocations: 211.2 kB / 1.126 GB, free: 28.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.423, allocations: 3.812 kB / 1.126 GB, free: 28.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.003586/1.427, allocations: 0.5248 MB / 1.126 GB, free: 28.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.427, allocations: 7.781 kB / 1.126 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.427, allocations: 3.953 kB / 1.126 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.427, allocations: 0 / 1.126 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/1.429, allocations: 118.5 kB / 1.126 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/1.429, allocations: 2.203 kB / 1.126 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/1.431, allocations: 54.91 kB / 1.126 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/1.431, allocations: 33.11 kB / 1.126 GB, free: 28.76 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 (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.0002899/1.431, allocations: 117 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/1.431, allocations: 3.875 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.876e-05/1.431, allocations: 11.09 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/1.431, allocations: 3.953 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.431, allocations: 0 / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/1.431, allocations: 6.625 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005241/1.437, allocations: 1.102 MB / 1.128 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.437, allocations: 0 / 1.128 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002312/1.439, allocations: 120 kB / 1.128 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/1.439, allocations: 3.812 kB / 1.128 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/1.439, allocations: 25.59 kB / 1.128 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.439, allocations: 0 / 1.128 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.439, allocations: 96 / 1.128 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005733/1.445, allocations: 0.87 MB / 1.129 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/1.445, allocations: 118.7 kB / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/1.445, allocations: 7.969 kB / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/1.447, allocations: 61.56 kB / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/1.448, allocations: 25.95 kB / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/1.448, allocations: 25.05 kB / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.741e-05/1.448, allocations: 82.47 kB / 1.129 GB, free: 27.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.448, allocations: 0 / 1.129 GB, free: 27.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009166/1.449, allocations: 57.12 kB / 1.129 GB, free: 27.7 MB / 0.698 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 () * Number of clocked 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.0003582/1.449, allocations: 125.4 kB / 1.129 GB, free: 27.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003624/1.453, allocations: 474.8 kB / 1.13 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.453, allocations: 0 / 1.13 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/1.455, allocations: 251.4 kB / 1.13 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/1.455, allocations: 7.719 kB / 1.13 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.466, allocations: 0.8595 MB / 1.131 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/1.466, allocations: 0.6992 MB / 1.131 GB, free: 26.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001844/1.468, allocations: 87.66 kB / 1.131 GB, free: 26.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/1.469, allocations: 58.08 kB / 1.131 GB, free: 26.59 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.469, allocations: 0 / 1.131 GB, free: 26.59 MB / 0.698 GB Notification: Performance of Templates: time 0.01064/1.479, allocations: 3.254 MB / 1.135 GB, free: 24.93 MB / 0.698 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)