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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001096/0.001096, allocations: 184.9 kB / 377.1 MB, free: 1.512 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.819/1.819, allocations: 205.4 MB / 0.6367 GB, free: 8.629 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008638/0.0008639, allocations: 99.97 kB / 0.751 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 15.98 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2657, allocations: 116.3 MB / 0.9884 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.718/0.9837, allocations: 140.5 MB / 1.126 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.984, allocations: 88.66 kB / 1.126 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.999, allocations: 5.476 MB / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9991, allocations: 0 / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.9991, allocations: 0 / 1.131 GB, free: 30.44 MB / 0.7292 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.0004596/0.9996, allocations: 402.7 kB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.9996, allocations: 12.03 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/1, allocations: 67.2 kB / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/1, allocations: 168.1 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/1, allocations: 12 kB / 1.132 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/1, allocations: 4 kB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/1.001, allocations: 125.6 kB / 1.132 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/1.001, allocations: 5.953 kB / 1.132 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/1.001, allocations: 0.75 kB / 1.132 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.001, allocations: 4 kB / 1.132 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/1.001, allocations: 117.2 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/1.002, allocations: 343.7 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/1.002, allocations: 185.5 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/1.002, allocations: 8 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/1.002, allocations: 30.56 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/1.002, allocations: 0 / 1.132 GB, free: 28.99 MB / 0.7292 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.01915/1.021, allocations: 3.181 MB / 1.136 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.021, allocations: 52.16 kB / 1.136 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/1.022, allocations: 98.39 kB / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/1.022, allocations: 29.7 kB / 1.136 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/1.022, allocations: 90.16 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/1.022, allocations: 35.22 kB / 1.136 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/1.022, allocations: 4 kB / 1.136 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.627e-05/1.022, allocations: 317 kB / 1.136 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006387/1.023, allocations: 219.5 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/1.023, allocations: 216.4 kB / 1.137 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/1.024, allocations: 223 kB / 1.137 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.024, allocations: 0.6562 kB / 1.137 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001547/1.025, allocations: 0.5155 MB / 1.137 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.025, allocations: 4 kB / 1.137 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.025, allocations: 3.094 kB / 1.137 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.025, allocations: 8.656 kB / 1.137 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009231/1.026, allocations: 121.8 kB / 1.137 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/1.026, allocations: 0.7969 kB / 1.137 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/1.027, allocations: 60.78 kB / 1.137 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/1.027, allocations: 25.67 kB / 1.138 GB, free: 24.91 MB / 0.7292 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.0001462/1.027, allocations: 114.5 kB / 1.138 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/1.027, allocations: 5.594 kB / 1.138 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/1.027, allocations: 16.67 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/1.027, allocations: 0 / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.027, allocations: 4.703 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.027, allocations: 0.9375 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/1.03, allocations: 1.103 MB / 1.139 GB, free: 23.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/1.03, allocations: 0.6875 kB / 1.139 GB, free: 23.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008931/1.031, allocations: 121.3 kB / 1.139 GB, free: 23.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.031, allocations: 1.453 kB / 1.139 GB, free: 23.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/1.031, allocations: 22.23 kB / 1.139 GB, free: 23.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.031, allocations: 4 kB / 1.139 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.031, allocations: 1.188 kB / 1.139 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/1.033, allocations: 0.8676 MB / 1.14 GB, free: 23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/1.033, allocations: 115.5 kB / 1.14 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/1.033, allocations: 7.953 kB / 1.14 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/1.034, allocations: 60.52 kB / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/1.034, allocations: 31.88 kB / 1.14 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/1.034, allocations: 22.66 kB / 1.14 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.07e-05/1.034, allocations: 85.48 kB / 1.14 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.034, allocations: 0 / 1.14 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004387/1.035, allocations: 56.59 kB / 1.14 GB, free: 22.69 MB / 0.7292 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.0002265/1.035, allocations: 117.9 kB / 1.14 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001387/1.036, allocations: 480.1 kB / 1.141 GB, free: 22.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.036, allocations: 0 / 1.141 GB, free: 22.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006785/1.037, allocations: 253.5 kB / 1.141 GB, free: 22.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/1.037, allocations: 6.969 kB / 1.141 GB, free: 22.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/1.042, allocations: 0.8613 MB / 1.142 GB, free: 21.42 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/1.042, allocations: 0.6986 MB / 1.142 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006506/1.042, allocations: 95.58 kB / 1.143 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/1.043, allocations: 58.88 kB / 1.143 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/1.043, allocations: 0 / 1.143 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of Templates: time 0.007521/1.05, allocations: 3.247 MB / 1.146 GB, free: 18.89 MB / 0.7292 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)