Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.27/2.271, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001614, allocations: 183.6 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.614/2.614, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 98.88 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.0006699, allocations: 16.3 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2532, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007404/0.254, allocations: 337.1 kB / 0.8992 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.2561, allocations: 1.428 MB / 0.9006 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.2561, allocations: 4 kB / 0.9006 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.2561, allocations: 3.938 kB / 0.9006 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.2562, allocations: 0 / 0.9006 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.2567, allocations: 107.7 kB / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.604e-05/0.2568, allocations: 23.95 kB / 0.9007 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.2569, allocations: 3.984 kB / 0.9008 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.2569, allocations: 16 kB / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.257, allocations: 27.89 kB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.2571, allocations: 0 / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005755/0.2576, allocations: 311.5 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.2577, allocations: 11.92 kB / 0.9011 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.2577, allocations: 29.7 kB / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.258, allocations: 135.9 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.258, allocations: 0 / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2581, allocations: 0 / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.2581, allocations: 0 / 0.9013 GB, free: 63.02 MB / 0.6042 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.0005943/0.2587, allocations: 359.3 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2587, allocations: 8.031 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000753/0.2595, allocations: 87.86 kB / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.2596, allocations: 159.4 kB / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.2596, allocations: 8 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.2597, allocations: 0 / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.2601, allocations: 89.56 kB / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2601, allocations: 7.922 kB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.2601, allocations: 0 / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2601, allocations: 0 / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.2607, allocations: 75.94 kB / 0.902 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.2609, allocations: 169.5 kB / 0.9022 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009666/0.2619, allocations: 142.6 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007547/0.2627, allocations: 173.1 kB / 0.9025 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2627, allocations: 38.5 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 3.146e-06/0.2627, allocations: 4 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.001734/0.2645, allocations: 442.1 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.2645, allocations: 51.41 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.2646, allocations: 101.8 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2646, allocations: 25.7 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.2647, allocations: 80.14 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.2648, allocations: 15.72 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.2648, allocations: 4 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.2649, allocations: 318.9 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.2652, allocations: 43.95 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.2655, allocations: 39.97 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.2657, allocations: 43.97 kB / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2658, allocations: 0 / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006164/0.2664, allocations: 125.6 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2664, allocations: 7.938 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2664, allocations: 4 kB / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2665, allocations: 0 / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.2667, allocations: 23.98 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2668, allocations: 4 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.2669, allocations: 11.98 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.267, allocations: 7.984 kB / 0.9038 GB, free: 60.12 MB / 0.6042 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.617e-05/0.2671, allocations: 113.8 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.2671, allocations: 8 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/0.2678, allocations: 145.1 kB / 0.9041 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2678, allocations: 4 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2679, allocations: 0 / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2679, allocations: 0 / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.268, allocations: 177.6 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.268, allocations: 0 / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.2683, allocations: 19.98 kB / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2683, allocations: 7.938 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.2684, allocations: 320 / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2684, allocations: 7.984 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2684, allocations: 4 kB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.2694, allocations: 208.9 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.2694, allocations: 93 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.2695, allocations: 0 / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.2697, allocations: 19.92 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.2697, allocations: 7.984 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2698, allocations: 4 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.2698, allocations: 83.34 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2698, allocations: 0 / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003212/0.2701, allocations: 31.98 kB / 0.9047 GB, free: 59.11 MB / 0.6042 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.0002311/0.2704, allocations: 131.2 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006119/0.271, allocations: 92.03 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.271, allocations: 0 / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.2713, allocations: 55.89 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.2715, allocations: 3.953 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/0.2724, allocations: 200.6 kB / 0.9052 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.2725, allocations: 0.6809 MB / 0.9058 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.2727, allocations: 16.33 kB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.228e-05/0.2728, allocations: 11.44 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of SimCode: time 6.52e-07/0.2728, allocations: 0 / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.004307/0.2771, allocations: 1.095 MB / 0.9069 GB, free: 56.77 MB / 0.6042 GB