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.389/1.389, allocations: 252 MB / 267.6 MB, free: 10.93 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.001004/0.001003, allocations: 180.9 kB / 327.3 MB, free: 2.207 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.936/1.936, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0008229/0.0008229, allocations: 93.94 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003704, allocations: 11.91 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2273, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.000693/0.228, allocations: 350.3 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2295, allocations: 1.426 MB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.004e-05/0.2296, allocations: 0 / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.013e-05/0.2296, allocations: 0 / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.2296, allocations: 3.938 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.23, allocations: 115.6 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.194e-05/0.2301, allocations: 19.92 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.2301, allocations: 7.984 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.2301, allocations: 15.98 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.2302, allocations: 23.89 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2302, allocations: 4 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.2306, allocations: 315.4 kB / 0.903 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.2306, allocations: 0 / 0.903 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.2307, allocations: 33.69 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.2308, allocations: 127.9 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.2309, allocations: 0 / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2309, allocations: 0 / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2309, allocations: 3.938 kB / 0.9032 GB, free: 61.43 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.0004598/0.2313, allocations: 359.3 kB / 0.9035 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.2314, allocations: 12.03 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/0.2319, allocations: 75.92 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.438e-05/0.232, allocations: 175.2 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.232, allocations: 0 / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.232, allocations: 11.94 kB / 0.9038 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2323, allocations: 77.64 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.2323, allocations: 0 / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2323, allocations: 0 / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2323, allocations: 0 / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.2326, allocations: 79.92 kB / 0.904 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.2328, allocations: 169.7 kB / 0.9041 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.2334, allocations: 146.5 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.2335, allocations: 52.88 kB / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/0.234, allocations: 173 kB / 0.9045 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.234, allocations: 30.56 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.234, allocations: 0 / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.001092/0.2351, allocations: 442.2 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.2352, allocations: 59.39 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.409e-05/0.2352, allocations: 93.86 kB / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.2352, allocations: 25.7 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.469e-05/0.2353, allocations: 84.14 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.2353, allocations: 15.72 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-06/0.2353, allocations: 0 / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.231e-05/0.2354, allocations: 318.8 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.2355, allocations: 44.09 kB / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.2357, allocations: 43.97 kB / 0.9056 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.2358, allocations: 39.97 kB / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2358, allocations: 4 kB / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000333/0.2362, allocations: 129.6 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2362, allocations: 6.969 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2362, allocations: 0 / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2362, allocations: 336 / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2364, allocations: 27.97 kB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2364, allocations: 0 / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.2365, allocations: 19.98 kB / 0.9058 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.2365, allocations: 0 / 0.9058 GB, free: 58.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/0.2366, allocations: 117.8 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.2366, allocations: 3.984 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.237, allocations: 157 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.237, allocations: 4 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.237, allocations: 0 / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.237, allocations: 4 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.335e-05/0.2371, allocations: 169.6 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2372, allocations: 0 / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.2373, allocations: 23.98 kB / 0.9063 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2373, allocations: 7.922 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2373, allocations: 4 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2373, allocations: 0 / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2373, allocations: 0 / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.2379, allocations: 217.1 kB / 0.9065 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.2379, allocations: 89.19 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2379, allocations: 0 / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2381, allocations: 15.98 kB / 0.9066 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.2381, allocations: 7.984 kB / 0.9066 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2381, allocations: 4 kB / 0.9066 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.911e-05/0.2381, allocations: 75.28 kB / 0.9067 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2381, allocations: 4.094 kB / 0.9067 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002394/0.2384, allocations: 35.98 kB / 0.9067 GB, free: 57.47 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 (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.0001842/0.2386, allocations: 128.2 kB / 0.9068 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.2389, allocations: 95.86 kB / 0.9069 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2389, allocations: 4 kB / 0.9069 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.2391, allocations: 47.97 kB / 0.907 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.2392, allocations: 7.953 kB / 0.907 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.2398, allocations: 230.2 kB / 0.9072 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.2399, allocations: 0.6833 MB / 0.9079 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.24, allocations: 11.44 kB / 0.9079 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.24, allocations: 3.938 kB / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.002398/0.2424, allocations: 1.111 MB / 0.909 GB, free: 55.09 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)