Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.711/1.711, allocations: 285.6 MB / 293.1 MB, free: 10.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 172.9 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000891/0.0008908, allocations: 90.69 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.112e-05, allocations: 8 kB / 0.8518 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7204, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.922, allocations: 138 MB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.9223, allocations: 83.09 kB / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01288/0.9352, allocations: 4.052 MB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9353, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.9353, allocations: 0 / 1.103 GB, free: 13.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000442/0.9357, allocations: 358.4 kB / 1.104 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.9358, allocations: 8.031 kB / 1.104 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.9362, allocations: 68.91 kB / 1.104 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.9363, allocations: 171 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.9364, allocations: 11.98 kB / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.9364, allocations: 3.906 kB / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.463e-05/0.9365, allocations: 19.94 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.9366, allocations: 53.31 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.9366, allocations: 0 / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.9366, allocations: 0 / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9367, allocations: 0 / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.9368, allocations: 142.2 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.9371, allocations: 58.62 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.9371, allocations: 16.86 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.9372, allocations: 12.08 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.9372, allocations: 34.5 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.9372, allocations: 0 / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.001291/0.9385, allocations: 422.1 kB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.9386, allocations: 51.41 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.9386, allocations: 89 kB / 1.105 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.9387, allocations: 25.7 kB / 1.105 GB, free: 12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.9387, allocations: 88.2 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.9387, allocations: 19.75 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.9388, allocations: 0 / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9389, allocations: 314.8 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.55e-05/0.9389, allocations: 12 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.939, allocations: 12 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.9392, allocations: 70.92 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.9393, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003465/0.9396, allocations: 113.6 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.9396, allocations: 8 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9396, allocations: 4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.9397, allocations: 0 / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.9398, allocations: 27.97 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.9398, allocations: 0 / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.901e-05/0.9399, allocations: 15.98 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.94, allocations: 7.938 kB / 1.105 GB, free: 11.3 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 (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 7.392e-05/0.94, allocations: 106.5 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.9401, allocations: 11.86 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.9405, allocations: 133.8 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.9405, allocations: 0 / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9405, allocations: 1.219 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.9405, allocations: 8 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.9407, allocations: 142.2 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9407, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.9408, allocations: 23.98 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9408, allocations: 0 / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.9409, allocations: 5.578 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.9409, allocations: 0 / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.9409, allocations: 3.938 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.9413, allocations: 172.1 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.9414, allocations: 85.31 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.9414, allocations: 0 / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.9416, allocations: 27.98 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.9416, allocations: 5.672 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.9416, allocations: 4.875 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.9416, allocations: 75.28 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9416, allocations: 0 / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000239/0.9419, allocations: 43.94 kB / 1.106 GB, free: 10.39 MB / 0.7136 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 () * 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.000234/0.9421, allocations: 139 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.9423, allocations: 39.92 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9423, allocations: 4 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-05/0.9423, allocations: 16 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.9424, allocations: 0 / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.9429, allocations: 134.5 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.9431, allocations: 0.6807 MB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.9433, allocations: 23.78 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.9433, allocations: 15.42 kB / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.9433, allocations: 4 kB / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of Templates: time 0.003156/0.9465, allocations: 1.045 MB / 1.108 GB, free: 8.277 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)