Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.127/3.127, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001303/0.001303, allocations: 186.2 kB / 371 MB, free: 10.87 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.066/2.066, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009806/0.0009807, allocations: 97.72 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.0005062, allocations: 17.17 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2217, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001091/0.2228, allocations: 0.5008 MB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.225, allocations: 1.445 MB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.2251, allocations: 0 / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.2251, allocations: 3.984 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.139e-05/0.2252, allocations: 4 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.2258, allocations: 111.7 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.581e-05/0.2259, allocations: 43.91 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.226, allocations: 0 / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.2261, allocations: 31.89 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.2262, allocations: 35.91 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2262, allocations: 3.938 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006091/0.2268, allocations: 311.4 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.2269, allocations: 11.92 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.2269, allocations: 29.7 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.2272, allocations: 148 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2272, allocations: 0 / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.397e-06/0.2272, allocations: 0 / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2273, allocations: 0 / 0.981 GB, free: 25.66 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007925/0.2281, allocations: 397.5 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2281, allocations: 8.031 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007239/0.2288, allocations: 87.81 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.229, allocations: 167 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.229, allocations: 12 kB / 0.9816 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.2291, allocations: 8 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.2297, allocations: 118.6 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.2297, allocations: 8 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.2297, allocations: 0 / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2298, allocations: 0 / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.2306, allocations: 127.8 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.2314, allocations: 340.6 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.2325, allocations: 190.3 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004187/0.233, allocations: 68.81 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.233, allocations: 0 / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.233, allocations: 38.52 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.233, allocations: 0 / 0.9825 GB, free: 23.96 MB / 0.6198 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.03532/0.2684, allocations: 3.186 MB / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.2685, allocations: 55.41 kB / 0.9856 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.2685, allocations: 93.86 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.2686, allocations: 33.7 kB / 0.9858 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.2687, allocations: 88.06 kB / 0.9858 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.2688, allocations: 43.44 kB / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.2689, allocations: 0 / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.2689, allocations: 318.8 kB / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.2702, allocations: 211.8 kB / 0.9864 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.2714, allocations: 220.9 kB / 0.9866 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.2726, allocations: 223.8 kB / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2726, allocations: 0 / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002765/0.2754, allocations: 0.5254 MB / 0.9873 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.2755, allocations: 4 kB / 0.9873 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2755, allocations: 4 kB / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.2755, allocations: 0 / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.2771, allocations: 119.8 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2771, allocations: 4 kB / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.2784, allocations: 59.94 kB / 0.9875 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/0.2785, allocations: 23.88 kB / 0.9875 GB, free: 18.64 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 (13): * Single equations (assignments): 13 * 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 0.0002055/0.2787, allocations: 117.8 kB / 0.9876 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.2789, allocations: 11.86 kB / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.562e-05/0.2789, allocations: 11.97 kB / 0.9877 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.279, allocations: 4 kB / 0.9877 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.279, allocations: 4 kB / 0.9877 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.279, allocations: 0 / 0.9877 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.2825, allocations: 1.094 MB / 0.9887 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.2826, allocations: 0 / 0.9887 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.2841, allocations: 123.8 kB / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.2842, allocations: 0 / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-05/0.2843, allocations: 27.92 kB / 0.9889 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.2843, allocations: 0 / 0.9889 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2843, allocations: 0 / 0.9889 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.2884, allocations: 0.8698 MB / 0.9897 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.2886, allocations: 117 kB / 0.9899 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.2887, allocations: 8 kB / 0.9899 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.2901, allocations: 63.98 kB / 0.9899 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.2903, allocations: 23.92 kB / 0.9899 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.879e-05/0.2904, allocations: 23.94 kB / 0.99 GB, free: 16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.2904, allocations: 87.28 kB / 0.99 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2904, allocations: 0 / 0.99 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005123/0.2909, allocations: 51.98 kB / 0.9901 GB, free: 15.86 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002395/0.2912, allocations: 112.5 kB / 0.9902 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002637/0.2938, allocations: 479.4 kB / 0.9907 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.2939, allocations: 0 / 0.9907 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.2952, allocations: 247.7 kB / 0.9909 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.2957, allocations: 11.95 kB / 0.9909 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00807/0.3038, allocations: 0.8734 MB / 0.9918 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.304, allocations: 0.6887 MB / 0.9924 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001175/0.3052, allocations: 96.98 kB / 0.9925 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/0.3057, allocations: 55.3 kB / 0.9926 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.462e-06/0.3057, allocations: 4 kB / 0.9926 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.008301/0.314, allocations: 3.238 MB / 0.9957 GB, free: 10 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)