Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008241/0.0008241, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005012/0.005012, allocations: 173.9 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000511/0.000511, allocations: 15.06 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2027, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007009/0.2035, allocations: 343.4 kB / 0.7882 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.2053, allocations: 1.488 MB / 0.7897 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.609e-05/0.2053, allocations: 0 / 0.7897 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.2054, allocations: 0 / 0.7897 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.767e-05/0.2054, allocations: 3.938 kB / 0.7897 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2059, allocations: 115.7 kB / 0.7898 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.876e-05/0.2059, allocations: 27.97 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.206, allocations: 0 / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.206, allocations: 15.98 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.2061, allocations: 35.89 kB / 0.7899 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.2062, allocations: 0 / 0.7899 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.2066, allocations: 315.3 kB / 0.7902 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.2066, allocations: 11.97 kB / 0.7902 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.2067, allocations: 37.62 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.207, allocations: 191.6 kB / 0.7904 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.207, allocations: 0 / 0.7904 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.207, allocations: 0 / 0.7904 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.207, allocations: 0 / 0.7904 GB, free: 9.008 MB / 0.6075 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.0006049/0.2076, allocations: 359.8 kB / 0.7907 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2077, allocations: 8.031 kB / 0.7907 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/0.2082, allocations: 88.75 kB / 0.7908 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2084, allocations: 160.4 kB / 0.791 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.2084, allocations: 4.359 kB / 0.791 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.2084, allocations: 4.375 kB / 0.791 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.2087, allocations: 85.94 kB / 0.7911 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2087, allocations: 0 / 0.7911 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.2088, allocations: 4 kB / 0.7911 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2088, allocations: 0 / 0.7911 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.2091, allocations: 83.86 kB / 0.7911 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.2093, allocations: 161.7 kB / 0.7913 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.2099, allocations: 142.6 kB / 0.7914 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.2101, allocations: 48.91 kB / 0.7915 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/0.2106, allocations: 173 kB / 0.7917 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.2106, allocations: 42.5 kB / 0.7917 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.2106, allocations: 4 kB / 0.7917 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001218/0.2119, allocations: 434.2 kB / 0.7921 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.2119, allocations: 55.34 kB / 0.7922 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.5e-05/0.212, allocations: 93.86 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.212, allocations: 29.69 kB / 0.7923 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.212, allocations: 84.14 kB / 0.7924 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.2121, allocations: 15.75 kB / 0.7924 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.2121, allocations: 17.84 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.2122, allocations: 314.8 kB / 0.7927 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.2124, allocations: 43.95 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.2125, allocations: 43.97 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.2129, allocations: 88.98 kB / 0.7929 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2129, allocations: 3.938 kB / 0.7929 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000379/0.2132, allocations: 141.5 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2133, allocations: 7.938 kB / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2133, allocations: 0 / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2133, allocations: 0 / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2135, allocations: 23.98 kB / 0.793 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2135, allocations: 0 / 0.793 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2136, allocations: 19.98 kB / 0.793 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2136, allocations: 7.984 kB / 0.7931 GB, free: 5.984 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.277e-05/0.2137, allocations: 110.5 kB / 0.7932 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.2137, allocations: 3.938 kB / 0.7932 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.2142, allocations: 153.1 kB / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2142, allocations: 0 / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2142, allocations: 0 / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2142, allocations: 0 / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2143, allocations: 169.6 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2143, allocations: 4 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.2145, allocations: 27.92 kB / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2145, allocations: 336 / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2145, allocations: 4 kB / 0.7935 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2145, allocations: 3.984 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2146, allocations: 0 / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005921/0.2152, allocations: 201 kB / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.2152, allocations: 96.95 kB / 0.7938 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.2153, allocations: 64 / 0.7938 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.2154, allocations: 23.92 kB / 0.7938 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.2154, allocations: 8.172 kB / 0.7938 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2155, allocations: 8 kB / 0.7938 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.2155, allocations: 79.28 kB / 0.7939 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2155, allocations: 0 / 0.7939 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002336/0.2157, allocations: 27.98 kB / 0.7939 GB, free: 4.977 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001975/0.2159, allocations: 135.3 kB / 0.7941 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.2163, allocations: 91.94 kB / 0.7942 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2163, allocations: 0 / 0.7942 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.2165, allocations: 55.89 kB / 0.7942 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.2167, allocations: 10.89 kB / 0.7942 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.2173, allocations: 196.7 kB / 0.7944 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.2175, allocations: 0.6887 MB / 0.7951 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.2177, allocations: 19.98 kB / 0.7951 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.522e-05/0.2177, allocations: 11.44 kB / 0.7951 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2177, allocations: 0 / 0.7951 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.003353/0.2211, allocations: 1.115 MB / 0.7962 GB, free: 2.605 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: