Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 252 MB / 267.9 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.001001/0.001001, allocations: 173.6 kB / 327.5 MB, free: 2.16 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.445/1.445, allocations: 205.4 MB / 0.5785 GB, free: 20.19 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.0007051/0.0007051, allocations: 102.9 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 16.09 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.3271, allocations: 133.3 MB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.3274, allocations: 79.95 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01584/0.3432, allocations: 5.515 MB / 1.037 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3433, allocations: 4 kB / 1.037 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.3433, allocations: 4 kB / 1.037 GB, free: 4.629 MB / 0.6823 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.0004847/0.3438, allocations: 397.1 kB / 1.037 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3438, allocations: 8.031 kB / 1.037 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/0.3442, allocations: 76.78 kB / 1.037 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3443, allocations: 164.4 kB / 1.037 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.3443, allocations: 12.25 kB / 1.037 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3444, allocations: 12.38 kB / 1.037 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.3447, allocations: 117.3 kB / 1.038 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3447, allocations: 4.188 kB / 1.038 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.3448, allocations: 7.938 kB / 1.038 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3448, allocations: 3.938 kB / 1.038 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.3452, allocations: 119.9 kB / 1.038 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.3458, allocations: 356.4 kB / 1.038 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.3463, allocations: 178.5 kB / 1.038 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.3466, allocations: 68.81 kB / 1.038 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.3466, allocations: 0 / 1.038 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3466, allocations: 38.55 kB / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.3466, allocations: 0 / 1.038 GB, free: 2.938 MB / 0.6823 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.01647/0.3631, allocations: 3.193 MB / 1.041 GB, free: 15.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.3632, allocations: 51.41 kB / 1.042 GB, free: 15.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.402e-05/0.3633, allocations: 105.8 kB / 1.042 GB, free: 15.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.3633, allocations: 29.7 kB / 1.042 GB, free: 15.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.3634, allocations: 84.05 kB / 1.042 GB, free: 15.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.3634, allocations: 39.45 kB / 1.042 GB, free: 15.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.3635, allocations: 0 / 1.042 GB, free: 15.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3636, allocations: 318.8 kB / 1.042 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006027/0.3642, allocations: 211.8 kB / 1.042 GB, free: 14.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005833/0.3648, allocations: 219.8 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.366, allocations: 440.5 kB / 1.043 GB, free: 14.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.366, allocations: 0 / 1.043 GB, free: 14.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001377/0.3674, allocations: 0.5208 MB / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3674, allocations: 4 kB / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.3675, allocations: 4 kB / 1.043 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3675, allocations: 0 / 1.043 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.3682, allocations: 123.8 kB / 1.044 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.3682, allocations: 0 / 1.044 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.3688, allocations: 63.88 kB / 1.044 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.3688, allocations: 23.94 kB / 1.044 GB, free: 13.39 MB / 0.698 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.0001354/0.369, allocations: 117.8 kB / 1.044 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.369, allocations: 7.906 kB / 1.044 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.3691, allocations: 16.14 kB / 1.044 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3691, allocations: 3.984 kB / 1.044 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3691, allocations: 0 / 1.044 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3691, allocations: 3.938 kB / 1.044 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.3711, allocations: 1.098 MB / 1.045 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3712, allocations: 4 kB / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007449/0.3719, allocations: 123.7 kB / 1.045 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3719, allocations: 96 / 1.045 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.372, allocations: 35.81 kB / 1.045 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.372, allocations: 0 / 1.045 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.372, allocations: 0 / 1.045 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.3742, allocations: 0.8637 MB / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.3743, allocations: 116.9 kB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.3744, allocations: 11.94 kB / 1.046 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006009/0.375, allocations: 60 kB / 1.046 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.3751, allocations: 27.92 kB / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.3752, allocations: 31.92 kB / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.059e-05/0.3752, allocations: 75.28 kB / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3752, allocations: 7.938 kB / 1.046 GB, free: 10.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003847/0.3756, allocations: 59.94 kB / 1.046 GB, free: 10.59 MB / 0.698 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.0002134/0.3758, allocations: 115.2 kB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.3771, allocations: 475.5 kB / 1.047 GB, free: 10 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3772, allocations: 0 / 1.047 GB, free: 10 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006482/0.3778, allocations: 251.7 kB / 1.047 GB, free: 9.754 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3781, allocations: 11.19 kB / 1.047 GB, free: 9.746 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.382, allocations: 0.8579 MB / 1.048 GB, free: 8.855 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3823, allocations: 0.6926 MB / 1.049 GB, free: 8.137 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006958/0.383, allocations: 92.66 kB / 1.049 GB, free: 8.047 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.3832, allocations: 51.31 kB / 1.049 GB, free: 7.996 MB / 0.698 GB Notification: Performance of SimCode: time 5.82e-07/0.3832, allocations: 4 kB / 1.049 GB, free: 7.992 MB / 0.698 GB Notification: Performance of Templates: time 0.005155/0.3884, allocations: 3.261 MB / 1.052 GB, free: 4.734 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)