Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 107.7 kB / 15.99 MB, free: 5.91 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.00112/0.00112, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.378/1.378, allocations: 205.1 MB / 222.8 MB, free: 4.539 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.691/1.691, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001562/0.001562, allocations: 77.81 kB / 0.6717 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2079, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001891/0.2098, allocations: 0.8435 MB / 0.7844 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.2115, allocations: 1.519 MB / 0.7858 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.2115, allocations: 0 / 0.7858 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.2116, allocations: 3.938 kB / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.2116, allocations: 0 / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.2121, allocations: 127.6 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.104e-05/0.2122, allocations: 51.91 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.2122, allocations: 4 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.012e-05/0.2123, allocations: 27.91 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.2123, allocations: 27.91 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.2124, allocations: 4 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.2127, allocations: 323.3 kB / 0.7864 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.2128, allocations: 15.92 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.2128, allocations: 27.84 kB / 0.7864 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.213, allocations: 156 kB / 0.7866 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.213, allocations: 0 / 0.7866 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.213, allocations: 0 / 0.7866 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.213, allocations: 3.938 kB / 0.7866 GB, free: 10.73 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005876/0.2136, allocations: 395.4 kB / 0.7869 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2137, allocations: 8.031 kB / 0.787 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004427/0.2141, allocations: 80.75 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2142, allocations: 160.4 kB / 0.7872 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.2143, allocations: 8.375 kB / 0.7872 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.2143, allocations: 8.375 kB / 0.7872 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.2147, allocations: 113.8 kB / 0.7873 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2147, allocations: 0 / 0.7873 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2147, allocations: 11.94 kB / 0.7873 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2147, allocations: 0 / 0.7873 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.2152, allocations: 103.9 kB / 0.7874 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.2157, allocations: 336.5 kB / 0.7877 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.2164, allocations: 158.4 kB / 0.7879 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.2166, allocations: 56.81 kB / 0.7879 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.2166, allocations: 0 / 0.7879 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.2167, allocations: 30.56 kB / 0.788 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.2167, allocations: 4 kB / 0.788 GB, free: 9.125 MB / 0.6075 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.01923/0.2359, allocations: 2.832 MB / 0.7907 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.236, allocations: 63.22 kB / 0.7908 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.552e-05/0.2361, allocations: 97.84 kB / 0.7909 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.2361, allocations: 33.7 kB / 0.7909 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.2362, allocations: 87.98 kB / 0.791 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.2362, allocations: 43.45 kB / 0.7911 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.2364, allocations: 69.58 kB / 0.7911 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2365, allocations: 318.8 kB / 0.7914 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006466/0.2372, allocations: 191.8 kB / 0.7916 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.2378, allocations: 187.9 kB / 0.7918 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.2391, allocations: 395.8 kB / 0.7922 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2392, allocations: 8 kB / 0.7922 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001503/0.2407, allocations: 469.1 kB / 0.7926 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2407, allocations: 12 kB / 0.7926 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2407, allocations: 0 / 0.7926 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2407, allocations: 0 / 0.7926 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000871/0.2416, allocations: 107.8 kB / 0.7927 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2416, allocations: 11.94 kB / 0.7927 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/0.2423, allocations: 39.94 kB / 0.7928 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.2424, allocations: 24.03 kB / 0.7928 GB, free: 4.031 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 (13): * Single equations (assignments): 13 * 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 0.0001614/0.2425, allocations: 122.4 kB / 0.7929 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/0.2426, allocations: 3.906 kB / 0.7929 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.2427, allocations: 19.95 kB / 0.7929 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2427, allocations: 0 / 0.7929 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.2427, allocations: 3.938 kB / 0.793 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2427, allocations: 3.938 kB / 0.793 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.2448, allocations: 1.047 MB / 0.794 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2449, allocations: 0 / 0.794 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.2457, allocations: 99.8 kB / 0.7941 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.2457, allocations: 7.938 kB / 0.7941 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.709e-05/0.2458, allocations: 27.92 kB / 0.7941 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2458, allocations: 7.938 kB / 0.7941 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2458, allocations: 0 / 0.7941 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.2481, allocations: 0.7839 MB / 0.7949 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.2483, allocations: 124.9 kB / 0.795 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/0.2483, allocations: 4 kB / 0.795 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007307/0.2491, allocations: 48 kB / 0.7951 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-05/0.2492, allocations: 27.92 kB / 0.7951 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.2493, allocations: 23.94 kB / 0.7951 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.342e-05/0.2493, allocations: 87.44 kB / 0.7952 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2493, allocations: 0 / 0.7952 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003975/0.2497, allocations: 56 kB / 0.7952 GB, free: 1.383 MB / 0.6075 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 (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.0002077/0.2499, allocations: 111.2 kB / 0.7953 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.2514, allocations: 431.5 kB / 0.7958 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2514, allocations: 0 / 0.7958 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007028/0.2521, allocations: 223.7 kB / 0.796 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.2525, allocations: 8 kB / 0.796 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.2569, allocations: 0.8163 MB / 0.7968 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.2572, allocations: 0.6885 MB / 0.7974 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/0.2576, allocations: 79.23 kB / 0.7975 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.2576, allocations: 0 / 0.7975 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of Templates: time 0.006179/0.2638, allocations: 3.795 MB / 0.8012 GB, free: 11.17 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)