Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001111/0.001111, allocations: 187.4 kB / 377.1 MB, free: 1.52 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.731/1.731, allocations: 205.4 MB / 0.6367 GB, free: 8.551 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.0008769/0.0008768, allocations: 86.05 kB / 0.751 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 15.98 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2567, allocations: 116.3 MB / 0.9884 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6994/0.9561, allocations: 139.8 MB / 1.125 GB, free: 35.15 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.9564, allocations: 80.23 kB / 1.125 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.9675, allocations: 4.078 MB / 1.129 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9675, allocations: 0 / 1.129 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.9675, allocations: 4 kB / 1.129 GB, free: 32.08 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003795/0.9679, allocations: 366.3 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.968, allocations: 12.03 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.9684, allocations: 63.98 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.268e-05/0.9685, allocations: 167 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.9685, allocations: 4 kB / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.9685, allocations: 15.33 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.9688, allocations: 86.97 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.9688, allocations: 0 / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.9688, allocations: 4 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.9689, allocations: 0 / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.9691, allocations: 77.16 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.9693, allocations: 160.4 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.9699, allocations: 147.6 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.9699, allocations: 7.938 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.97, allocations: 35.39 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.97, allocations: 0 / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.001052/0.971, allocations: 445.6 kB / 1.13 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.9711, allocations: 51.41 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.041e-05/0.9711, allocations: 85 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.9712, allocations: 33.7 kB / 1.131 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.925e-05/0.9712, allocations: 80.14 kB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.9712, allocations: 16.06 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.9712, allocations: 0 / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.507e-05/0.9713, allocations: 318.8 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.9715, allocations: 42.16 kB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.9716, allocations: 43.2 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.9717, allocations: 42.44 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.9718, allocations: 4 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000326/0.9721, allocations: 131.7 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9721, allocations: 4.656 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.9721, allocations: 0 / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9721, allocations: 0 / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.9723, allocations: 27.22 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.9723, allocations: 4 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.49e-05/0.9724, allocations: 15.56 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.9724, allocations: 4.562 kB / 1.131 GB, free: 29.6 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 (6): * Single equations (assignments): 6 * 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 7.937e-05/0.9725, allocations: 114.1 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.9725, allocations: 7.859 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.973, allocations: 148.9 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.973, allocations: 6.359 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.973, allocations: 3.938 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.973, allocations: 4 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.9731, allocations: 160.5 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.9731, allocations: 0.5625 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.9733, allocations: 35.03 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.9733, allocations: 0 / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.9733, allocations: 4 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9733, allocations: 0.625 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.9733, allocations: 4.562 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.9738, allocations: 202.5 kB / 1.132 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.9739, allocations: 88.8 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.9739, allocations: 7.516 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.9741, allocations: 17.2 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.9741, allocations: 0 / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.9741, allocations: 8.125 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.279e-05/0.9741, allocations: 79.34 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9741, allocations: 0 / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002425/0.9744, allocations: 43.94 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002314/0.9746, allocations: 142.2 kB / 1.132 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.975, allocations: 98.97 kB / 1.132 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.975, allocations: 0 / 1.132 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.9751, allocations: 55.19 kB / 1.132 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.9753, allocations: 0.625 kB / 1.132 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.9758, allocations: 213.8 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.976, allocations: 0.6837 MB / 1.133 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.9761, allocations: 13.97 kB / 1.133 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.9761, allocations: 15.44 kB / 1.133 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.9761, allocations: 0 / 1.133 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.002945/0.9791, allocations: 1.084 MB / 1.134 GB, free: 26.89 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)