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.814/1.814, allocations: 285.4 MB / 298 MB, free: 5.957 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.001263/0.001263, allocations: 184.9 kB / 366.4 MB, free: 2.109 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.685/1.685, allocations: 205.1 MB / 0.6248 GB, free: 7.77 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.0008355/0.0008355, allocations: 98.62 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.816e-05/4.843e-05, allocations: 8 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8808/0.8809, allocations: 115.3 MB / 0.9709 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/1.097, allocations: 138.7 MB / 1.106 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.097, allocations: 81.34 kB / 1.106 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01303/1.11, allocations: 4.059 MB / 1.11 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.615e-06/1.11, allocations: 0 / 1.11 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.289e-05/1.11, allocations: 4 kB / 1.11 GB, free: 9.043 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.0005006/1.111, allocations: 358.4 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/1.111, allocations: 8.031 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/1.112, allocations: 71.92 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/1.112, allocations: 178.8 kB / 1.111 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/1.112, allocations: 0 / 1.111 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/1.112, allocations: 7.906 kB / 1.111 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/1.112, allocations: 49.66 kB / 1.111 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.112, allocations: 4 kB / 1.111 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/1.112, allocations: 0.75 kB / 1.111 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/1.112, allocations: 0 / 1.111 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/1.112, allocations: 16 kB / 1.111 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/1.112, allocations: 173.6 kB / 1.111 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/1.113, allocations: 58.61 kB / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/1.113, allocations: 20.86 kB / 1.111 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/1.113, allocations: 4 kB / 1.111 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/1.113, allocations: 30.56 kB / 1.111 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 5.751e-06/1.113, allocations: 6.422 kB / 1.111 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0006457/1.113, allocations: 288.7 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/1.113, allocations: 55.39 kB / 1.112 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/1.114, allocations: 89 kB / 1.112 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.114, allocations: 25.7 kB / 1.112 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/1.114, allocations: 84.14 kB / 1.112 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/1.114, allocations: 15.75 kB / 1.112 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.114, allocations: 4.125 kB / 1.112 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.114, allocations: 318.8 kB / 1.112 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/1.114, allocations: 12 kB / 1.112 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/1.114, allocations: 16 kB / 1.112 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.205e-05/1.114, allocations: 11.94 kB / 1.112 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.114, allocations: 3.953 kB / 1.112 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001508/1.114, allocations: 65.69 kB / 1.112 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.114, allocations: 8 kB / 1.112 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.114, allocations: 0 / 1.112 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.114, allocations: 4 kB / 1.112 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/1.114, allocations: 27.97 kB / 1.112 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/1.114, allocations: 0 / 1.112 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-05/1.114, allocations: 11.98 kB / 1.112 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/1.114, allocations: 4 kB / 1.112 GB, free: 6.801 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 8.237e-05/1.115, allocations: 112.9 kB / 1.112 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/1.115, allocations: 14.55 kB / 1.112 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/1.115, allocations: 90.64 kB / 1.113 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.115, allocations: 4 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.115, allocations: 0 / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.115, allocations: 0 / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/1.115, allocations: 165.7 kB / 1.113 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.115, allocations: 3.953 kB / 1.113 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/1.115, allocations: 23.98 kB / 1.113 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/1.115, allocations: 4 kB / 1.113 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/1.115, allocations: 4 kB / 1.113 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.115, allocations: 3.984 kB / 1.113 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.115, allocations: 0 / 1.113 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/1.116, allocations: 113.1 kB / 1.113 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/1.116, allocations: 93.08 kB / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/1.116, allocations: 1.625 kB / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/1.116, allocations: 21.92 kB / 1.113 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/1.116, allocations: 3.984 kB / 1.113 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/1.116, allocations: 4 kB / 1.113 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.227e-05/1.116, allocations: 83.28 kB / 1.113 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.116, allocations: 0 / 1.113 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003148/1.116, allocations: 39.92 kB / 1.113 GB, free: 5.938 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.0003919/1.117, allocations: 139.2 kB / 1.113 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001904/1.117, allocations: 43.94 kB / 1.113 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.117, allocations: 0 / 1.113 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/1.117, allocations: 23.98 kB / 1.113 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/1.117, allocations: 0 / 1.113 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/1.118, allocations: 130.8 kB / 1.113 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/1.118, allocations: 0.6848 MB / 1.114 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001248/1.118, allocations: 21.77 kB / 1.114 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/1.118, allocations: 11.44 kB / 1.114 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of SimCode: time 3.2e-07/1.118, allocations: 0 / 1.114 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of Templates: time 0.003789/1.122, allocations: 1.09 MB / 1.115 GB, free: 3.773 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)