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.768/1.768, allocations: 288.4 MB / 303.4 MB, free: 8.137 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.001275/0.001275, allocations: 187.1 kB / 372 MB, free: 10.28 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.656/1.656, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008914/0.0008917, allocations: 84.61 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004561, allocations: 16.5 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2132, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006929/0.2139, allocations: 335.7 kB / 0.9799 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.2155, allocations: 1.426 MB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.2155, allocations: 0 / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.2155, allocations: 0 / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.2156, allocations: 3.938 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.2159, allocations: 115.7 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.815e-05/0.216, allocations: 23.91 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.216, allocations: 0 / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.2161, allocations: 15.98 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.2162, allocations: 27.89 kB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.2162, allocations: 0 / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.2165, allocations: 303.4 kB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.2165, allocations: 15.98 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.2166, allocations: 25.7 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.2167, allocations: 131.8 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2168, allocations: 3.938 kB / 0.982 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2168, allocations: 0 / 0.982 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.2168, allocations: 4 kB / 0.982 GB, free: 25.22 MB / 0.6198 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.0004285/0.2172, allocations: 355.6 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2173, allocations: 11.97 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004623/0.2177, allocations: 87.81 kB / 0.9824 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.2178, allocations: 167 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.2179, allocations: 4 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.2179, allocations: 0 / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.2181, allocations: 85.62 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.2182, allocations: 0 / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2182, allocations: 4 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2182, allocations: 0 / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.2185, allocations: 75.92 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.2187, allocations: 161.6 kB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.2193, allocations: 146.5 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.2194, allocations: 56.91 kB / 0.9831 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004641/0.2199, allocations: 173 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.2199, allocations: 30.56 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.2199, allocations: 0 / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001109/0.221, allocations: 438.4 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.2211, allocations: 55.41 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.2211, allocations: 101.8 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.2212, allocations: 25.7 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.729e-05/0.2212, allocations: 80.14 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.2212, allocations: 23.73 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.2212, allocations: 0 / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.2213, allocations: 314.8 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.2214, allocations: 48.08 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.2216, allocations: 48.03 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.2217, allocations: 39.91 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2217, allocations: 4 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003163/0.2221, allocations: 125.5 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2221, allocations: 11.98 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2221, allocations: 0 / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2221, allocations: 48 / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2223, allocations: 27.97 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2223, allocations: 0 / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.2224, allocations: 19.92 kB / 0.9846 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.2224, allocations: 4 kB / 0.9846 GB, free: 22.27 MB / 0.6198 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 6.426e-05/0.2225, allocations: 117.8 kB / 0.9847 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.2225, allocations: 4 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.2229, allocations: 153 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.2229, allocations: 0 / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2229, allocations: 0 / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2229, allocations: 0 / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.192e-05/0.223, allocations: 177.6 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.223, allocations: 0 / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.2232, allocations: 23.98 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2232, allocations: 0 / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2232, allocations: 0 / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2232, allocations: 0 / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2232, allocations: 0 / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.2238, allocations: 217.2 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.2238, allocations: 85 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.2239, allocations: 8.125 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.224, allocations: 15.98 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.224, allocations: 7.984 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.224, allocations: 0 / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.18e-05/0.2241, allocations: 83.28 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2241, allocations: 0 / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002031/0.2243, allocations: 28.09 kB / 0.9854 GB, free: 21.27 MB / 0.6198 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.0001812/0.2245, allocations: 131.2 kB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.2248, allocations: 99.88 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2248, allocations: 0 / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.225, allocations: 51.95 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.2251, allocations: 7.953 kB / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.2256, allocations: 200.8 kB / 0.9859 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.494e-05/0.2257, allocations: 0.6848 MB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.2259, allocations: 19.98 kB / 0.9866 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.2259, allocations: 11.44 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2259, allocations: 3.938 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.002682/0.2286, allocations: 1.105 MB / 0.9877 GB, free: 18.91 MB / 0.6198 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)