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.655/1.655, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001223/0.001223, allocations: 181.3 kB / 371.6 MB, free: 3.328 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.978/1.978, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008944/0.0008947, allocations: 92.61 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.862e-05/3.866e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3082, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.352, allocations: 140.4 MB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/1.353, allocations: 85.77 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01953/1.372, allocations: 5.449 MB / 1.122 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.583e-06/1.372, allocations: 0 / 1.122 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.764e-06/1.372, allocations: 0 / 1.122 GB, free: 40.43 MB / 0.7448 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.0005389/1.373, allocations: 393.8 kB / 1.123 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.373, allocations: 8.031 kB / 1.123 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000483/1.373, allocations: 72.8 kB / 1.123 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/1.373, allocations: 177.6 kB / 1.123 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/1.373, allocations: 0 / 1.123 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/1.373, allocations: 14.83 kB / 1.123 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/1.374, allocations: 73.06 kB / 1.123 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.374, allocations: 4 kB / 1.123 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/1.374, allocations: 3.062 kB / 1.123 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/1.374, allocations: 0 / 1.123 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/1.374, allocations: 41.5 kB / 1.123 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/1.375, allocations: 348.6 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/1.375, allocations: 74.41 kB / 1.124 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/1.375, allocations: 27.73 kB / 1.124 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/1.375, allocations: 0 / 1.124 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/1.375, allocations: 33.69 kB / 1.124 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/1.375, allocations: 0.8438 kB / 1.124 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.01744/1.392, allocations: 2.113 MB / 1.126 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/1.392, allocations: 51.41 kB / 1.126 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/1.393, allocations: 92.31 kB / 1.126 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/1.393, allocations: 25.7 kB / 1.126 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/1.393, allocations: 99.06 kB / 1.126 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/1.393, allocations: 34.52 kB / 1.126 GB, free: 37.49 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/1.393, allocations: 3 kB / 1.126 GB, free: 37.49 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.247e-05/1.393, allocations: 322 kB / 1.126 GB, free: 37.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/1.393, allocations: 110.1 kB / 1.126 GB, free: 37.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/1.394, allocations: 118.2 kB / 1.126 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/1.394, allocations: 121.1 kB / 1.127 GB, free: 37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/1.394, allocations: 0.75 kB / 1.127 GB, free: 37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001022/1.395, allocations: 321.2 kB / 1.127 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.395, allocations: 4 kB / 1.127 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.395, allocations: 0 / 1.127 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/1.395, allocations: 7.953 kB / 1.127 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.396, allocations: 118.2 kB / 1.127 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.396, allocations: 0 / 1.127 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/1.397, allocations: 57.3 kB / 1.127 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/1.397, allocations: 29.39 kB / 1.127 GB, free: 36.71 MB / 0.7448 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 () * 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.0001867/1.397, allocations: 107.2 kB / 1.127 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.397, allocations: 12.03 kB / 1.127 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/1.397, allocations: 14.14 kB / 1.127 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/1.397, allocations: 7.953 kB / 1.127 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.397, allocations: 0.5625 kB / 1.127 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.398, allocations: 0.9375 kB / 1.127 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/1.399, allocations: 0.8905 MB / 1.128 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.399, allocations: 7.953 kB / 1.128 GB, free: 35.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.4, allocations: 124.1 kB / 1.128 GB, free: 35.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/1.401, allocations: 3.375 kB / 1.128 GB, free: 35.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/1.401, allocations: 21.16 kB / 1.128 GB, free: 35.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.401, allocations: 0 / 1.128 GB, free: 35.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.401, allocations: 0.5625 kB / 1.128 GB, free: 35.78 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/1.402, allocations: 0.56 MB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/1.402, allocations: 124.4 kB / 1.129 GB, free: 35.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/1.402, allocations: 8.156 kB / 1.129 GB, free: 35.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008823/1.403, allocations: 61.47 kB / 1.129 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.403, allocations: 28.73 kB / 1.129 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/1.404, allocations: 24.11 kB / 1.129 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.292e-05/1.404, allocations: 79.28 kB / 1.129 GB, free: 35.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.11e-07/1.404, allocations: 0 / 1.129 GB, free: 35.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005927/1.404, allocations: 59.69 kB / 1.129 GB, free: 35.13 MB / 0.7448 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 () * 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.0002886/1.405, allocations: 125.3 kB / 1.129 GB, free: 35.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008274/1.405, allocations: 270.3 kB / 1.13 GB, free: 34.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.405, allocations: 4 kB / 1.13 GB, free: 34.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004128/1.406, allocations: 149.6 kB / 1.13 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/1.406, allocations: 7.297 kB / 1.13 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/1.411, allocations: 0.689 MB / 1.13 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/1.411, allocations: 0.6949 MB / 1.131 GB, free: 33.65 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001036/1.412, allocations: 93.59 kB / 1.131 GB, free: 33.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/1.413, allocations: 57.8 kB / 1.131 GB, free: 33.55 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/1.413, allocations: 0 / 1.131 GB, free: 33.55 MB / 0.7448 GB Notification: Performance of Templates: time 0.007221/1.42, allocations: 3.231 MB / 1.134 GB, free: 31.86 MB / 0.7448 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)