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.658/1.658, allocations: 288.3 MB / 303.2 MB, free: 8.129 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.00112/0.00112, allocations: 181.1 kB / 371.8 MB, free: 10.25 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.766/1.766, allocations: 205.4 MB / 0.6306 GB, free: 9.977 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.0009087/0.000909, allocations: 95.42 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004139, allocations: 16.69 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2336, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7498/0.9835, allocations: 139.6 MB / 1.116 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.9838, allocations: 78.78 kB / 1.116 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01511/0.9989, allocations: 5.467 MB / 1.121 GB, free: 31.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9989, allocations: 0 / 1.121 GB, free: 31.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.999, allocations: 0 / 1.121 GB, free: 31.83 MB / 0.698 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.0005644/0.9995, allocations: 410.6 kB / 1.122 GB, free: 31.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.9996, allocations: 11.67 kB / 1.122 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/1, allocations: 64.69 kB / 1.122 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/1, allocations: 178 kB / 1.122 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/1, allocations: 0 / 1.122 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/1, allocations: 10.97 kB / 1.122 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/1.001, allocations: 122 kB / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.001, allocations: 0 / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.001, allocations: 3.938 kB / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/1.001, allocations: 0 / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/1.001, allocations: 125.5 kB / 1.122 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/1.002, allocations: 345.7 kB / 1.122 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/1.002, allocations: 181.2 kB / 1.123 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/1.002, allocations: 0 / 1.123 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/1.002, allocations: 34.56 kB / 1.123 GB, free: 30.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/1.002, allocations: 11.91 kB / 1.123 GB, free: 30.8 MB / 0.698 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.01909/1.021, allocations: 3.18 MB / 1.126 GB, free: 30.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.021, allocations: 51.41 kB / 1.126 GB, free: 30.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/1.022, allocations: 103.2 kB / 1.126 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/1.022, allocations: 29.58 kB / 1.126 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/1.022, allocations: 87.73 kB / 1.126 GB, free: 29.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/1.022, allocations: 36.91 kB / 1.126 GB, free: 29.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/1.022, allocations: 7.312 kB / 1.126 GB, free: 29.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.022, allocations: 310.8 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/1.022, allocations: 222.6 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/1.023, allocations: 213.6 kB / 1.127 GB, free: 29.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00061/1.024, allocations: 220.4 kB / 1.127 GB, free: 29.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/1.024, allocations: 0 / 1.127 GB, free: 29.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001353/1.025, allocations: 0.5224 MB / 1.127 GB, free: 29.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.025, allocations: 3.844 kB / 1.127 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.025, allocations: 3.781 kB / 1.127 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.025, allocations: 3.953 kB / 1.127 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008641/1.026, allocations: 121 kB / 1.128 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.026, allocations: 4 kB / 1.128 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/1.027, allocations: 53.77 kB / 1.128 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/1.027, allocations: 28 kB / 1.128 GB, free: 29.52 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.000173/1.027, allocations: 118.1 kB / 1.128 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/1.027, allocations: 3.969 kB / 1.128 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/1.027, allocations: 18.72 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.027, allocations: 0 / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.027, allocations: 7.828 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.027, allocations: 0 / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/1.029, allocations: 1.096 MB / 1.129 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.029, allocations: 0 / 1.129 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/1.03, allocations: 128.3 kB / 1.129 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/1.03, allocations: 4 kB / 1.129 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/1.03, allocations: 24.25 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/1.03, allocations: 80 / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.03, allocations: 7.797 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/1.032, allocations: 0.8581 MB / 1.13 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/1.032, allocations: 120.4 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/1.032, allocations: 7.641 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007152/1.033, allocations: 58.56 kB / 1.13 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/1.033, allocations: 27.64 kB / 1.13 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/1.033, allocations: 23.7 kB / 1.13 GB, free: 28.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.552e-05/1.033, allocations: 83.09 kB / 1.13 GB, free: 28.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.033, allocations: 0 / 1.13 GB, free: 28.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004056/1.034, allocations: 65.88 kB / 1.13 GB, free: 28.18 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.0002532/1.034, allocations: 116.1 kB / 1.13 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001386/1.035, allocations: 478 kB / 1.131 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.035, allocations: 0 / 1.131 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006371/1.036, allocations: 249.8 kB / 1.131 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/1.036, allocations: 6.656 kB / 1.131 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/1.04, allocations: 0.8649 MB / 1.132 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/1.041, allocations: 0.6959 MB / 1.133 GB, free: 26.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000674/1.041, allocations: 86.73 kB / 1.133 GB, free: 26.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/1.042, allocations: 58.86 kB / 1.133 GB, free: 26.56 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/1.042, allocations: 0 / 1.133 GB, free: 26.56 MB / 0.698 GB Notification: Performance of Templates: time 0.005728/1.047, allocations: 3.25 MB / 1.136 GB, free: 24.84 MB / 0.698 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)