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.002403/0.002402, allocations: 353.7 kB / 15.94 MB, free: 6.207 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.601/1.601, allocations: 165.8 MB / 182.5 MB, free: 5.395 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.717/3.717, allocations: 410.7 MB / 0.5995 GB, free: 15.08 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.001762/0.001761, allocations: 194.7 kB / 0.6662 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004582, allocations: 15.98 kB / 0.7423 GB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3273, allocations: 67.43 MB / 0.8082 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0005805/0.3279, allocations: 320.3 kB / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.3296, allocations: 1.417 MB / 0.8099 GB, free: 27.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.641e-05/0.3296, allocations: 4 kB / 0.8099 GB, free: 27.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.201e-06/0.3296, allocations: 0 / 0.8099 GB, free: 27.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.389e-05/0.3297, allocations: 0 / 0.8099 GB, free: 27.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.3301, allocations: 107.7 kB / 0.81 GB, free: 26.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.702e-05/0.3302, allocations: 19.97 kB / 0.81 GB, free: 26.9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.3302, allocations: 7.938 kB / 0.81 GB, free: 26.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.428e-05/0.3303, allocations: 15.92 kB / 0.81 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.3303, allocations: 31.95 kB / 0.81 GB, free: 26.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.3304, allocations: 3.938 kB / 0.81 GB, free: 26.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.3308, allocations: 303.4 kB / 0.8103 GB, free: 26.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.3309, allocations: 7.938 kB / 0.8103 GB, free: 26.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.3309, allocations: 29.7 kB / 0.8104 GB, free: 26.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.3311, allocations: 131.8 kB / 0.8105 GB, free: 26.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.55e-06/0.3311, allocations: 3.938 kB / 0.8105 GB, free: 26.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.001e-06/0.3311, allocations: 0 / 0.8105 GB, free: 26.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3312, allocations: 0 / 0.8105 GB, free: 26.37 MB / 378.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.0004063/0.3316, allocations: 365.5 kB / 0.8108 GB, free: 25.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3316, allocations: 8.031 kB / 0.8108 GB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004827/0.3321, allocations: 79.83 kB / 0.8109 GB, free: 25.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.509e-05/0.3322, allocations: 163.1 kB / 0.8111 GB, free: 25.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.3322, allocations: 3.984 kB / 0.8111 GB, free: 25.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.3323, allocations: 8 kB / 0.8111 GB, free: 25.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3325, allocations: 81.59 kB / 0.8112 GB, free: 25.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.958e-06/0.3326, allocations: 3.938 kB / 0.8112 GB, free: 25.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3326, allocations: 0 / 0.8112 GB, free: 25.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-06/0.3326, allocations: 0 / 0.8112 GB, free: 25.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.3329, allocations: 83.92 kB / 0.8113 GB, free: 25.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.3331, allocations: 165.6 kB / 0.8114 GB, free: 25.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.3338, allocations: 142.5 kB / 0.8115 GB, free: 25.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.334, allocations: 48.91 kB / 0.8116 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/0.3345, allocations: 173 kB / 0.8118 GB, free: 24.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.3345, allocations: 34.5 kB / 0.8118 GB, free: 24.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.101e-06/0.3345, allocations: 4 kB / 0.8118 GB, free: 24.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001294/0.3358, allocations: 438.1 kB / 0.8122 GB, free: 24.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.3359, allocations: 55.41 kB / 0.8123 GB, free: 24.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.336, allocations: 97.84 kB / 0.8124 GB, free: 24.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.3361, allocations: 29.7 kB / 0.8124 GB, free: 24.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.3361, allocations: 80.14 kB / 0.8125 GB, free: 24.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.3362, allocations: 11.81 kB / 0.8125 GB, free: 24.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-06/0.3362, allocations: 0 / 0.8125 GB, free: 24.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3363, allocations: 323 kB / 0.8128 GB, free: 23.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.3366, allocations: 35.97 kB / 0.8128 GB, free: 23.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3367, allocations: 47.91 kB / 0.8129 GB, free: 23.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.3369, allocations: 43.97 kB / 0.8129 GB, free: 23.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-06/0.337, allocations: 0 / 0.8129 GB, free: 23.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004382/0.3374, allocations: 133.5 kB / 0.813 GB, free: 23.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3374, allocations: 6.656 kB / 0.813 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.972e-06/0.3374, allocations: 3.953 kB / 0.813 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3375, allocations: 0 / 0.813 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.3377, allocations: 27.98 kB / 0.8131 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3377, allocations: 7.922 kB / 0.8131 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3378, allocations: 15.98 kB / 0.8131 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3378, allocations: 4 kB / 0.8131 GB, free: 23.42 MB / 378.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 6.215e-05/0.3379, allocations: 109.8 kB / 0.8132 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.3379, allocations: 4 kB / 0.8132 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.3385, allocations: 149.3 kB / 0.8133 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.787e-06/0.3385, allocations: 8.016 kB / 0.8134 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.032e-06/0.3385, allocations: 4 kB / 0.8134 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-06/0.3385, allocations: 0 / 0.8134 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.3387, allocations: 169.6 kB / 0.8135 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-06/0.3387, allocations: 0 / 0.8135 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.3389, allocations: 23.98 kB / 0.8135 GB, free: 22.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3389, allocations: 336 / 0.8135 GB, free: 22.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.3389, allocations: 7.984 kB / 0.8135 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.082e-06/0.339, allocations: 7.953 kB / 0.8136 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.259e-06/0.339, allocations: 0 / 0.8136 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.3397, allocations: 201 kB / 0.8137 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.3398, allocations: 96.95 kB / 0.8138 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.3398, allocations: 0 / 0.8138 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.34, allocations: 15.98 kB / 0.8139 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.34, allocations: 7.938 kB / 0.8139 GB, free: 22.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3401, allocations: 8 kB / 0.8139 GB, free: 22.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.288e-05/0.3401, allocations: 79.34 kB / 0.8139 GB, free: 22.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.79e-07/0.3401, allocations: 0 / 0.8139 GB, free: 22.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003051/0.3404, allocations: 35.98 kB / 0.814 GB, free: 22.41 MB / 378.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.0001877/0.3406, allocations: 131.2 kB / 0.8141 GB, free: 22.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.3411, allocations: 92.02 kB / 0.8142 GB, free: 22.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.2e-06/0.3411, allocations: 0 / 0.8142 GB, free: 22.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.3413, allocations: 55.91 kB / 0.8142 GB, free: 22.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.3415, allocations: 1.891 kB / 0.8142 GB, free: 22.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.3421, allocations: 209.4 kB / 0.8144 GB, free: 21.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.3423, allocations: 0.6809 MB / 0.8151 GB, free: 21.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.3424, allocations: 16.19 kB / 0.8151 GB, free: 21.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.3425, allocations: 19.42 kB / 0.8151 GB, free: 21.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.415e-06/0.3425, allocations: 0 / 0.8151 GB, free: 21.16 MB / 378.7 MB Notification: Performance of Templates: time 0.003692/0.3462, allocations: 1.098 MB / 0.8162 GB, free: 20.06 MB / 378.7 MB