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.001491/0.001491, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001852/0.001853, allocations: 193.6 kB / 16.14 MB, free: 6.652 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.455/1.455, allocations: 205.1 MB / 222 MB, free: 4.75 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.697/1.697, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001288/0.001288, allocations: 69.12 kB / 0.6708 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2046, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001935/0.2066, allocations: 0.6742 MB / 0.7833 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.2084, allocations: 1.499 MB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.2084, allocations: 3.938 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.2085, allocations: 0 / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.36e-05/0.2085, allocations: 3.938 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.209, allocations: 111.7 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.2091, allocations: 31.91 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.2091, allocations: 0 / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.2092, allocations: 19.98 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.2092, allocations: 23.91 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2093, allocations: 8 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.2097, allocations: 315.3 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.2097, allocations: 3.984 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.2098, allocations: 11.94 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.21, allocations: 191.6 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2101, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2101, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2101, allocations: 0 / 0.7855 GB, free: 11.11 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.0005352/0.2106, allocations: 363.8 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2107, allocations: 16.03 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000463/0.2111, allocations: 68.75 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2112, allocations: 160.4 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.2113, allocations: 4.375 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.2113, allocations: 4.375 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.2116, allocations: 85.86 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2116, allocations: 4 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2116, allocations: 0 / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2116, allocations: 4 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.2119, allocations: 63.92 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.2121, allocations: 157.7 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.2127, allocations: 122.6 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2129, allocations: 48.86 kB / 0.7866 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004246/0.2133, allocations: 157 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.2133, allocations: 38.5 kB / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.2133, allocations: 0 / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001132/0.2145, allocations: 406.2 kB / 0.7871 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.2145, allocations: 55.41 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.2146, allocations: 97.86 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2146, allocations: 25.7 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.2147, allocations: 80.14 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.2147, allocations: 23.73 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.2148, allocations: 21.66 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2149, allocations: 314.8 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2151, allocations: 40.09 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.2152, allocations: 35.91 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.2155, allocations: 80.73 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2155, allocations: 0 / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003472/0.2159, allocations: 121.5 kB / 0.788 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2159, allocations: 4 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2159, allocations: 0 / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2159, allocations: 0 / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.2161, allocations: 27.97 kB / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2161, allocations: 0 / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.499e-05/0.2162, allocations: 11.98 kB / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2162, allocations: 4 kB / 0.788 GB, free: 8.227 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.684e-05/0.2163, allocations: 110.5 kB / 0.7881 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.2163, allocations: 11.94 kB / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.2168, allocations: 133.1 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2168, allocations: 0 / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2168, allocations: 0 / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2168, allocations: 0 / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.217, allocations: 169.7 kB / 0.7884 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.217, allocations: 4.312 kB / 0.7884 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.2171, allocations: 27.92 kB / 0.7885 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2171, allocations: 3.984 kB / 0.7885 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2172, allocations: 0 / 0.7885 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2172, allocations: 4 kB / 0.7885 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2172, allocations: 0 / 0.7885 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.2177, allocations: 193.2 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.2178, allocations: 89.06 kB / 0.7887 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.2178, allocations: 0 / 0.7887 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2179, allocations: 11.98 kB / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.218, allocations: 11.97 kB / 0.7888 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.218, allocations: 4 kB / 0.7888 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.218, allocations: 83.34 kB / 0.7888 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.463e-06/0.218, allocations: 0 / 0.7888 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002281/0.2183, allocations: 31.92 kB / 0.7889 GB, free: 7.25 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.0002034/0.2185, allocations: 131.2 kB / 0.789 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003617/0.2188, allocations: 87.95 kB / 0.7891 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2189, allocations: 0 / 0.7891 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.219, allocations: 39.97 kB / 0.7891 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.2192, allocations: 15.88 kB / 0.7891 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.2198, allocations: 183.2 kB / 0.7893 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.22, allocations: 0.6809 MB / 0.79 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.2202, allocations: 16 kB / 0.79 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.2202, allocations: 11.44 kB / 0.79 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of SimCode: time 1.383e-06/0.2202, allocations: 0 / 0.79 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of Templates: time 0.003231/0.2234, allocations: 1.115 MB / 0.7911 GB, free: 4.918 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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)