Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.791/2.791, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.002284/0.002284, allocations: 173.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.396/2.396, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001139/0.001139, allocations: 96.41 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006973/0.0006976, allocations: 18.7 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2117, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007369/0.2125, allocations: 337.8 kB / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.2144, allocations: 1.435 MB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.2145, allocations: 0 / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.2145, allocations: 3.938 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.2146, allocations: 0 / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.215, allocations: 104.8 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.2151, allocations: 27.95 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.2152, allocations: 0 / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.976e-05/0.2152, allocations: 15.98 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.2153, allocations: 27.89 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.2154, allocations: 4 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005799/0.216, allocations: 307.5 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.216, allocations: 15.92 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.216, allocations: 25.7 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.2163, allocations: 139.9 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2163, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2163, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2164, allocations: 0 / 0.9806 GB, free: 25.93 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.0005536/0.2169, allocations: 359.6 kB / 0.9809 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.217, allocations: 12.03 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007345/0.2177, allocations: 83.81 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.587e-05/0.2178, allocations: 167 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.2179, allocations: 0 / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.2179, allocations: 3.938 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.2183, allocations: 85.62 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2183, allocations: 3.938 kB / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.2183, allocations: 0 / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2183, allocations: 0 / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005017/0.2188, allocations: 75.94 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.2191, allocations: 169.7 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.22, allocations: 138.5 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007466/0.2208, allocations: 173.2 kB / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.2208, allocations: 34.56 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.256e-06/0.2209, allocations: 4 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001715/0.2226, allocations: 442.1 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.2226, allocations: 51.41 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.33e-05/0.2227, allocations: 97.84 kB / 0.9824 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2227, allocations: 25.7 kB / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/0.2227, allocations: 80.14 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.2228, allocations: 23.69 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.2228, allocations: 0 / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.778e-05/0.2229, allocations: 318.9 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.2231, allocations: 47.95 kB / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.2234, allocations: 43.97 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.2237, allocations: 39.97 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2237, allocations: 4 kB / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006036/0.2243, allocations: 121.7 kB / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2244, allocations: 8 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2244, allocations: 4.062 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2244, allocations: 3.938 kB / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.2247, allocations: 27.98 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2247, allocations: 4 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.2249, allocations: 11.98 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2249, allocations: 7.984 kB / 0.9831 GB, free: 23.03 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 7.482e-05/0.225, allocations: 111.9 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.225, allocations: 4 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007105/0.2257, allocations: 149.2 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2258, allocations: 7.875 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2258, allocations: 4 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2258, allocations: 336 / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.2259, allocations: 173.6 kB / 0.9835 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.226, allocations: 0 / 0.9835 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.2262, allocations: 23.98 kB / 0.9836 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2262, allocations: 0 / 0.9836 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.2263, allocations: 4 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2263, allocations: 0 / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2263, allocations: 11.97 kB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009062/0.2272, allocations: 205 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.2273, allocations: 85 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.2273, allocations: 4 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.2275, allocations: 15.98 kB / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.2276, allocations: 11.92 kB / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2276, allocations: 0 / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.687e-05/0.2277, allocations: 83.34 kB / 0.984 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2277, allocations: 0 / 0.984 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003239/0.228, allocations: 32 kB / 0.984 GB, free: 22.03 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.0002347/0.2282, allocations: 127.2 kB / 0.9841 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005927/0.2289, allocations: 100.1 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2289, allocations: 0 / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.2292, allocations: 55.89 kB / 0.9843 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.2293, allocations: 11.95 kB / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.2302, allocations: 204.8 kB / 0.9845 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.2303, allocations: 0.6848 MB / 0.9851 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001871/0.2305, allocations: 16 kB / 0.9852 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.2306, allocations: 11.44 kB / 0.9852 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/0.2306, allocations: 0 / 0.9852 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.004105/0.2347, allocations: 1.095 MB / 0.9862 GB, free: 19.67 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)