Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001225, allocations: 173.5 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205 MB / 0.5766 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007835/0.0007836, allocations: 84.75 kB / 0.6803 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004548, allocations: 16.75 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2062, allocations: 105.4 MB / 0.8968 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0009162/0.2072, allocations: 347 kB / 0.8971 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.2092, allocations: 1.518 MB / 0.8986 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.2093, allocations: 0 / 0.8986 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.2093, allocations: 0 / 0.8986 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.2094, allocations: 0 / 0.8986 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.2099, allocations: 115.7 kB / 0.8987 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.506e-05/0.2099, allocations: 27.97 kB / 0.8987 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.21, allocations: 3.938 kB / 0.8987 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.21, allocations: 19.98 kB / 0.8987 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.2101, allocations: 19.97 kB / 0.8987 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.2102, allocations: 8 kB / 0.8988 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.2106, allocations: 315.3 kB / 0.8991 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.2106, allocations: 11.92 kB / 0.8991 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.2106, allocations: 11.98 kB / 0.8991 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.2108, allocations: 135.7 kB / 0.8992 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2108, allocations: 0 / 0.8992 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2109, allocations: 0 / 0.8992 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2109, allocations: 0 / 0.8992 GB, free: 65.14 MB / 0.6042 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.0005592/0.2114, allocations: 363.4 kB / 0.8996 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.2115, allocations: 15.97 kB / 0.8996 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.212, allocations: 80.86 kB / 0.8996 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.574e-05/0.2121, allocations: 164.4 kB / 0.8998 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.2121, allocations: 4.359 kB / 0.8998 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.2121, allocations: 4.375 kB / 0.8998 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.2124, allocations: 81.95 kB / 0.8999 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2124, allocations: 0 / 0.8999 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2124, allocations: 0 / 0.8999 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2125, allocations: 0 / 0.8999 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.2127, allocations: 79.92 kB / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.2129, allocations: 173.6 kB / 0.9001 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.2135, allocations: 142.6 kB / 0.9003 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.2137, allocations: 48.81 kB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/0.2141, allocations: 173 kB / 0.9005 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2142, allocations: 38.5 kB / 0.9005 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2142, allocations: 0 / 0.9005 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.001091/0.2153, allocations: 442.2 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.2153, allocations: 55.39 kB / 0.901 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/0.2154, allocations: 93.86 kB / 0.9011 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.2154, allocations: 25.7 kB / 0.9011 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.901e-05/0.2154, allocations: 84.14 kB / 0.9012 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.2154, allocations: 11.72 kB / 0.9012 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.2155, allocations: 25.64 kB / 0.9012 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.2155, allocations: 311 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.2157, allocations: 47.91 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.2158, allocations: 43.97 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.2161, allocations: 88.8 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.2161, allocations: 0 / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003124/0.2164, allocations: 133.8 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2165, allocations: 8 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2165, allocations: 0 / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2165, allocations: 0 / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.2166, allocations: 31.91 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2167, allocations: 0 / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.2167, allocations: 19.98 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2168, allocations: 0 / 0.9019 GB, free: 62.12 MB / 0.6042 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 6.763e-05/0.2168, allocations: 113.8 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.2169, allocations: 3.938 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.2173, allocations: 149.1 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2173, allocations: 0 / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2173, allocations: 4 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2173, allocations: 0 / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.2174, allocations: 169.6 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2174, allocations: 0 / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.2176, allocations: 39.84 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2176, allocations: 336 / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2176, allocations: 0 / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2176, allocations: 4 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2176, allocations: 0 / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.2181, allocations: 204.9 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.2182, allocations: 93.05 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2182, allocations: 3.984 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.2183, allocations: 20.05 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.2184, allocations: 0 / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.2184, allocations: 8.188 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.362e-05/0.2184, allocations: 79.27 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2184, allocations: 3.938 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002155/0.2186, allocations: 28 kB / 0.9028 GB, free: 61.11 MB / 0.6042 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.0002114/0.2189, allocations: 139.2 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.2192, allocations: 103.9 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2192, allocations: 0 / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.2194, allocations: 51.91 kB / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.2195, allocations: 8.781 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.2202, allocations: 225.1 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.2204, allocations: 0.6809 MB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.2204, allocations: 11.44 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of SimCode: time 1.363e-06/0.2204, allocations: 4 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.002684/0.2231, allocations: 1.114 MB / 0.905 GB, free: 58.72 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)