Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.3 MB / 303.2 MB, free: 8.109 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.001634/0.001634, allocations: 190.3 kB / 371.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.0007575/0.0007575, allocations: 90.89 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004251, allocations: 17.91 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009776/0.2031, allocations: 0.5011 MB / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.2046, allocations: 1.449 MB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.2046, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.2047, allocations: 3.938 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.94e-05/0.2047, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.2052, allocations: 111.7 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.619e-05/0.2053, allocations: 39.89 kB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.2053, allocations: 0 / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.2054, allocations: 31.89 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.2055, allocations: 27.91 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2055, allocations: 4 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.2059, allocations: 315.5 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.2059, allocations: 15.92 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.2059, allocations: 29.7 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.2061, allocations: 152 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2062, allocations: 0 / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2062, allocations: 4 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2062, allocations: 0 / 0.982 GB, free: 25.02 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.0005905/0.2068, allocations: 392.2 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2068, allocations: 12.02 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004487/0.2073, allocations: 87.81 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.512e-05/0.2074, allocations: 167 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.2074, allocations: 8 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.2074, allocations: 7.938 kB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.2078, allocations: 127.6 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2078, allocations: 7.938 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.2078, allocations: 4 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2079, allocations: 0 / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.2083, allocations: 123.9 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.2089, allocations: 340.6 kB / 0.9833 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.2095, allocations: 190.4 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.2095, allocations: 3.938 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.2096, allocations: 38.56 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2096, allocations: 0 / 0.9835 GB, free: 23.39 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.01818/0.2277, allocations: 3.177 MB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.2278, allocations: 59.39 kB / 0.9866 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.353e-05/0.2279, allocations: 97.86 kB / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.2279, allocations: 29.7 kB / 0.9868 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.228, allocations: 88.06 kB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.2281, allocations: 39.47 kB / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.2281, allocations: 0 / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.2282, allocations: 322.8 kB / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000759/0.2289, allocations: 215.8 kB / 0.9874 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007365/0.2297, allocations: 211.8 kB / 0.9876 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/0.2305, allocations: 219.8 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2305, allocations: 0 / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001769/0.2323, allocations: 0.5279 MB / 0.9883 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2323, allocations: 7.953 kB / 0.9883 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2323, allocations: 0 / 0.9883 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2323, allocations: 4 kB / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009867/0.2333, allocations: 123.8 kB / 0.9884 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2333, allocations: 0 / 0.9884 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/0.2341, allocations: 63.94 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.2342, allocations: 23.94 kB / 0.9885 GB, free: 18.07 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.000155/0.2344, allocations: 113.8 kB / 0.9886 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.2344, allocations: 7.906 kB / 0.9886 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/0.2345, allocations: 19.91 kB / 0.9887 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2345, allocations: 4 kB / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2345, allocations: 0 / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2345, allocations: 4 kB / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.2367, allocations: 1.094 MB / 0.9897 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2368, allocations: 4 kB / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007966/0.2376, allocations: 123.8 kB / 0.9899 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2376, allocations: 3.938 kB / 0.9899 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.2376, allocations: 23.94 kB / 0.9899 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2376, allocations: 0 / 0.9899 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2377, allocations: 0 / 0.9899 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.2399, allocations: 0.8738 MB / 0.9907 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.24, allocations: 113 kB / 0.9909 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.2401, allocations: 4 kB / 0.9909 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/0.2408, allocations: 60 kB / 0.9909 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.2408, allocations: 27.86 kB / 0.9909 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.2409, allocations: 27.92 kB / 0.991 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.2409, allocations: 87.28 kB / 0.991 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2409, allocations: 0 / 0.991 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003637/0.2413, allocations: 52 kB / 0.9911 GB, free: 15.28 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.0001993/0.2415, allocations: 114.5 kB / 0.9912 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.2429, allocations: 471.5 kB / 0.9917 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2429, allocations: 3.938 kB / 0.9917 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006544/0.2436, allocations: 251.7 kB / 0.9919 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.2438, allocations: 4.75 kB / 0.9919 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.2479, allocations: 0.8734 MB / 0.9928 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2481, allocations: 0.7004 MB / 0.9934 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006517/0.2487, allocations: 93.69 kB / 0.9935 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.249, allocations: 59.23 kB / 0.9936 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.249, allocations: 0 / 0.9936 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.005372/0.2543, allocations: 3.243 MB / 0.9968 GB, free: 9.43 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)