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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 293 MB / 309 MB, free: 4.844 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.001011/0.001011, allocations: 172.6 kB / 378.7 MB, free: 1.039 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.443/1.443, allocations: 205.4 MB / 0.6383 GB, free: 8.164 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.0007363/0.0007361, allocations: 93.8 kB / 0.7527 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004441, allocations: 23.98 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2446, allocations: 116.4 MB / 0.9905 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6156/0.8602, allocations: 139.8 MB / 1.127 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.8605, allocations: 74.36 kB / 1.127 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01072/0.8713, allocations: 4.109 MB / 1.131 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8713, allocations: 0 / 1.131 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.8713, allocations: 0 / 1.131 GB, free: 31.11 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.0003756/0.8717, allocations: 363.2 kB / 1.131 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8718, allocations: 12.03 kB / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.8721, allocations: 63.33 kB / 1.132 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.787e-05/0.8722, allocations: 176.2 kB / 1.132 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.8723, allocations: 1.719 kB / 1.132 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.8723, allocations: 4.375 kB / 1.132 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.8725, allocations: 84.38 kB / 1.132 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.8726, allocations: 4.188 kB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.8726, allocations: 3.938 kB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.8726, allocations: 4 kB / 1.132 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.8729, allocations: 73.02 kB / 1.132 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.8731, allocations: 165.3 kB / 1.132 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.8737, allocations: 142.2 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.8738, allocations: 51.36 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.8739, allocations: 4 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.8739, allocations: 42.5 kB / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.8739, allocations: 1.125 kB / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.001013/0.8749, allocations: 442.4 kB / 1.133 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.8749, allocations: 55.41 kB / 1.133 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.669e-05/0.875, allocations: 94.89 kB / 1.133 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.875, allocations: 25.7 kB / 1.133 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.685e-05/0.875, allocations: 84.14 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.8751, allocations: 19.17 kB / 1.133 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.8751, allocations: 0 / 1.133 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.8751, allocations: 314.8 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.8753, allocations: 45.97 kB / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.8754, allocations: 45.98 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.8757, allocations: 82.22 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.8757, allocations: 4 kB / 1.133 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003052/0.876, allocations: 126.4 kB / 1.134 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.876, allocations: 12.59 kB / 1.134 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.8761, allocations: 0 / 1.134 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.8761, allocations: 4 kB / 1.134 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.8762, allocations: 27.25 kB / 1.134 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.8762, allocations: 0 / 1.134 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.8763, allocations: 11.42 kB / 1.134 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.8763, allocations: 4 kB / 1.134 GB, free: 28.54 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.08e-05/0.8764, allocations: 121.7 kB / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.8764, allocations: 14.41 kB / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.8769, allocations: 149 kB / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8769, allocations: 0.5 kB / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8769, allocations: 0 / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8769, allocations: 0 / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.877, allocations: 168.4 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.8771, allocations: 1.688 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.8772, allocations: 31.03 kB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8772, allocations: 3.938 kB / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.8772, allocations: 0 / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.8772, allocations: 0.5 kB / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.8772, allocations: 0 / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.8777, allocations: 212.4 kB / 1.134 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.8778, allocations: 84.39 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.8778, allocations: 3.938 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.8779, allocations: 23.64 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.878, allocations: 5.031 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.878, allocations: 0 / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.124e-05/0.878, allocations: 86.61 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.878, allocations: 0 / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002577/0.8783, allocations: 39.94 kB / 1.134 GB, free: 27.61 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.0002181/0.8785, allocations: 133.8 kB / 1.135 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.8788, allocations: 105.1 kB / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8789, allocations: 0 / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.879, allocations: 50.77 kB / 1.135 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.8792, allocations: 6.109 kB / 1.135 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.8797, allocations: 209.9 kB / 1.135 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/0.8798, allocations: 0.6765 MB / 1.136 GB, free: 26.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.8799, allocations: 16.94 kB / 1.136 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.88, allocations: 19.44 kB / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.88, allocations: 0 / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.003142/0.8831, allocations: 1.095 MB / 1.137 GB, free: 25.81 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)