Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.526/2.526, allocations: 287.5 MB / 303.2 MB, free: 8.277 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.001262/0.001262, allocations: 186.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009408/0.0009406, allocations: 97.47 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004909, allocations: 17.33 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2065, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8679/1.074, allocations: 138.6 MB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/1.075, allocations: 82.5 kB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01943/1.094, allocations: 4.102 MB / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/1.094, allocations: 0 / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.094, allocations: 0 / 1.119 GB, free: 31.32 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.0005016/1.095, allocations: 368.2 kB / 1.119 GB, free: 30.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.095, allocations: 7.375 kB / 1.119 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005766/1.095, allocations: 67.66 kB / 1.119 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/1.096, allocations: 176.2 kB / 1.119 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/1.096, allocations: 384 / 1.119 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/1.096, allocations: 7.531 kB / 1.119 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/1.096, allocations: 75.81 kB / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.096, allocations: 4.188 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.096, allocations: 7.469 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.096, allocations: 3.938 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/1.097, allocations: 74.16 kB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/1.097, allocations: 165 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009236/1.098, allocations: 147.1 kB / 1.12 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/1.098, allocations: 51.66 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/1.098, allocations: 7.516 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.098, allocations: 37.81 kB / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.552e-06/1.098, allocations: 0 / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.001704/1.1, allocations: 440.7 kB / 1.12 GB, free: 30.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/1.1, allocations: 55.41 kB / 1.12 GB, free: 30.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/1.1, allocations: 102.6 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/1.1, allocations: 25.7 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/1.1, allocations: 80.14 kB / 1.121 GB, free: 29.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/1.1, allocations: 17.59 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/1.1, allocations: 3.906 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.1, allocations: 314.3 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/1.101, allocations: 44.03 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/1.101, allocations: 44.39 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/1.101, allocations: 89.89 kB / 1.121 GB, free: 29.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.101, allocations: 0 / 1.121 GB, free: 29.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006028/1.102, allocations: 123 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.102, allocations: 9.469 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.102, allocations: 0 / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.102, allocations: 4 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/1.102, allocations: 28.41 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.102, allocations: 6.75 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/1.103, allocations: 14.73 kB / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/1.103, allocations: 3.844 kB / 1.121 GB, free: 29.45 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 9.947e-05/1.103, allocations: 117 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/1.103, allocations: 14.58 kB / 1.121 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/1.103, allocations: 140.5 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.104, allocations: 3.781 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.104, allocations: 0 / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.104, allocations: 3.047 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/1.104, allocations: 166.2 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.104, allocations: 3.906 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/1.104, allocations: 28.61 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/1.104, allocations: 3.938 kB / 1.122 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/1.104, allocations: 7.031 kB / 1.122 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.104, allocations: 0 / 1.122 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.104, allocations: 0 / 1.122 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009297/1.105, allocations: 197.9 kB / 1.122 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/1.105, allocations: 90.98 kB / 1.122 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/1.105, allocations: 3.938 kB / 1.122 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/1.105, allocations: 19.22 kB / 1.122 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/1.105, allocations: 6.453 kB / 1.122 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/1.105, allocations: 3.906 kB / 1.122 GB, free: 28.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.188e-05/1.105, allocations: 82.53 kB / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.106, allocations: 0 / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003417/1.106, allocations: 42.62 kB / 1.122 GB, free: 28.82 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.0002632/1.106, allocations: 136.2 kB / 1.122 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005974/1.107, allocations: 105.3 kB / 1.122 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.107, allocations: 0 / 1.122 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/1.107, allocations: 47.3 kB / 1.122 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/1.107, allocations: 4 kB / 1.122 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/1.108, allocations: 212.2 kB / 1.123 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/1.108, allocations: 0.6805 MB / 1.123 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000195/1.109, allocations: 15.88 kB / 1.123 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/1.109, allocations: 15.28 kB / 1.123 GB, free: 27.86 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/1.109, allocations: 0 / 1.123 GB, free: 27.86 MB / 0.698 GB Notification: Performance of Templates: time 0.004161/1.113, allocations: 1.096 MB / 1.124 GB, free: 27.75 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)