Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002562/0.002562, allocations: 358 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.461/1.461, allocations: 165.8 MB / 183.1 MB, free: 5.414 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.651/3.651, allocations: 410.8 MB / 0.6001 GB, free: 15.22 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001889/0.001889, allocations: 187.7 kB / 0.6668 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.000456, allocations: 12 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4138, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.6023, allocations: 99.07 MB / 0.9055 GB, free: 9.582 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.6027, allocations: 83.95 kB / 0.9056 GB, free: 9.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0221/0.6248, allocations: 4.078 MB / 0.9096 GB, free: 5.418 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.6248, allocations: 0 / 0.9096 GB, free: 5.418 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.6249, allocations: 0 / 0.9096 GB, free: 5.418 MB / 458.7 MB 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.0006073/0.6255, allocations: 367.3 kB / 0.9099 GB, free: 5.012 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.6255, allocations: 12.03 kB / 0.9099 GB, free: 5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006572/0.6262, allocations: 67.83 kB / 0.91 GB, free: 4.934 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.6264, allocations: 167 kB / 0.9101 GB, free: 4.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.6264, allocations: 0 / 0.9101 GB, free: 4.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.6264, allocations: 4 kB / 0.9101 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.6269, allocations: 85.62 kB / 0.9102 GB, free: 4.637 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.6269, allocations: 0 / 0.9102 GB, free: 4.637 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.6269, allocations: 3.953 kB / 0.9102 GB, free: 4.633 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6269, allocations: 7.938 kB / 0.9102 GB, free: 4.625 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/0.6275, allocations: 71.94 kB / 0.9103 GB, free: 4.555 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.6278, allocations: 161.7 kB / 0.9105 GB, free: 4.348 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.6288, allocations: 146.6 kB / 0.9106 GB, free: 4.195 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.6292, allocations: 56.92 kB / 0.9107 GB, free: 4.137 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.6292, allocations: 4 kB / 0.9107 GB, free: 4.133 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.6293, allocations: 34.56 kB / 0.9107 GB, free: 4.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 2.474e-06/0.6293, allocations: 7.938 kB / 0.9107 GB, free: 4.082 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.001972/0.6313, allocations: 438.1 kB / 0.9111 GB, free: 3.602 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.6313, allocations: 55.39 kB / 0.9112 GB, free: 3.535 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.6314, allocations: 93.86 kB / 0.9113 GB, free: 3.434 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.6315, allocations: 29.7 kB / 0.9113 GB, free: 3.398 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.6315, allocations: 80.14 kB / 0.9114 GB, free: 3.316 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.6316, allocations: 15.75 kB / 0.9114 GB, free: 3.301 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.6316, allocations: 4 kB / 0.9114 GB, free: 3.297 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.6317, allocations: 319 kB / 0.9117 GB, free: 2.977 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.632, allocations: 39.97 kB / 0.9117 GB, free: 2.938 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.6323, allocations: 43.97 kB / 0.9118 GB, free: 2.895 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.6326, allocations: 47.91 kB / 0.9118 GB, free: 2.848 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6326, allocations: 0 / 0.9118 GB, free: 2.848 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006813/0.6333, allocations: 129.5 kB / 0.9119 GB, free: 2.715 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.6334, allocations: 6.656 kB / 0.9119 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6334, allocations: 3.938 kB / 0.9119 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.6334, allocations: 0 / 0.9119 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.6337, allocations: 35.92 kB / 0.912 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6337, allocations: 3.984 kB / 0.912 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.6339, allocations: 15.98 kB / 0.912 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.634, allocations: 0 / 0.912 GB, free: 2.652 MB / 458.7 MB 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 0.0001125/0.6341, allocations: 117.8 kB / 0.9121 GB, free: 2.527 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.6341, allocations: 0 / 0.9121 GB, free: 2.527 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/0.6349, allocations: 149.1 kB / 0.9123 GB, free: 2.379 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.635, allocations: 4 kB / 0.9123 GB, free: 2.375 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.635, allocations: 3.953 kB / 0.9123 GB, free: 2.371 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.635, allocations: 4 kB / 0.9123 GB, free: 2.367 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.6352, allocations: 169.6 kB / 0.9124 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6352, allocations: 0 / 0.9124 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.6355, allocations: 27.97 kB / 0.9125 GB, free: 2.125 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.6355, allocations: 320 / 0.9125 GB, free: 2.125 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.6356, allocations: 0 / 0.9125 GB, free: 2.125 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.6356, allocations: 12 kB / 0.9125 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6356, allocations: 0 / 0.9125 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.6366, allocations: 201 kB / 0.9127 GB, free: 1.898 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.6368, allocations: 89 kB / 0.9127 GB, free: 1.793 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.6368, allocations: 4.031 kB / 0.9127 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.637, allocations: 15.97 kB / 0.9128 GB, free: 1.773 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.6371, allocations: 7.938 kB / 0.9128 GB, free: 1.766 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.6371, allocations: 4 kB / 0.9128 GB, free: 1.762 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.6372, allocations: 87.3 kB / 0.9129 GB, free: 1.676 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6372, allocations: 0 / 0.9129 GB, free: 1.676 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.6375, allocations: 43.92 kB / 0.9129 GB, free: 1.633 MB / 458.7 MB 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.0002892/0.6378, allocations: 135.2 kB / 0.913 GB, free: 1.492 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006716/0.6385, allocations: 100 kB / 0.9131 GB, free: 1.395 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6385, allocations: 0 / 0.9131 GB, free: 1.395 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.6389, allocations: 51.91 kB / 0.9132 GB, free: 1.344 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.6391, allocations: 4 kB / 0.9132 GB, free: 1.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009807/0.6401, allocations: 204.5 kB / 0.9134 GB, free: 1.109 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.6404, allocations: 0.6809 MB / 0.914 GB, free: 412 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000186/0.6406, allocations: 20.23 kB / 0.9141 GB, free: 392 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.6407, allocations: 11.44 kB / 0.9141 GB, free: 380 kB / 458.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6407, allocations: 0 / 0.9141 GB, free: 380 kB / 458.7 MB Notification: Performance of Templates: time 0.004611/0.6453, allocations: 1.101 MB / 0.9151 GB, free: 15.27 MB / 474.7 MB