Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.877/4.877, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002504/0.002504, allocations: 361.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.585/4.585, allocations: 410.7 MB / 1.113 GB, free: 6 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001779/0.001779, allocations: 176.4 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004877, allocations: 16 kB / 1.349 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.727/0.7275, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.9455, allocations: 138.6 MB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/0.9459, allocations: 85.16 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0211/0.967, allocations: 4.08 MB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9671, allocations: 0.5 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.9671, allocations: 4.5 kB / 1.601 GB, free: 141.5 MB / 0.8542 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.0004968/0.9676, allocations: 368.9 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.9676, allocations: 11.62 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006563/0.9683, allocations: 66.14 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.638e-05/0.9684, allocations: 172.7 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.9685, allocations: 8 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.9685, allocations: 3.906 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.9689, allocations: 85.12 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.9689, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.969, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.969, allocations: 3.938 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.9695, allocations: 84.36 kB / 1.602 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.9697, allocations: 167 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009792/0.9707, allocations: 139 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.971, allocations: 51.83 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.9711, allocations: 9 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.9711, allocations: 30.56 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.324e-06/0.9711, allocations: 1.688 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.001796/0.9729, allocations: 434.5 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.973, allocations: 59.97 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.778e-05/0.9731, allocations: 94.89 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.9731, allocations: 25.7 kB / 1.603 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.979e-05/0.9731, allocations: 84.64 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.9732, allocations: 21.33 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.9732, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.9733, allocations: 314.8 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.9736, allocations: 42.72 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.9738, allocations: 47.42 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.9741, allocations: 37.98 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9741, allocations: 3.984 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00062/0.9748, allocations: 123.8 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.9748, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9748, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.9748, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.9751, allocations: 34.06 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.9751, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.9753, allocations: 17.83 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.9753, allocations: 4 kB / 1.603 GB, free: 138.8 MB / 0.8542 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.687e-05/0.9754, allocations: 117.9 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.9755, allocations: 5.875 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000762/0.9762, allocations: 149.4 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9763, allocations: 4 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9763, allocations: 1.094 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9763, allocations: 0 / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.9764, allocations: 173.5 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9765, allocations: 1.031 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.9767, allocations: 33.78 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.9768, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.9768, allocations: 4 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.9768, allocations: 2.062 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.9768, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/0.9778, allocations: 208.3 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.9779, allocations: 85.12 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.9779, allocations: 0 / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.9781, allocations: 17.73 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.9782, allocations: 1.438 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.9782, allocations: 11.98 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.733e-05/0.9782, allocations: 75.28 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.333e-06/0.9782, allocations: 0.5 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003256/0.9786, allocations: 44.38 kB / 1.604 GB, free: 137.8 MB / 0.8542 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.0002531/0.9788, allocations: 140.5 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000629/0.9795, allocations: 96.77 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.9795, allocations: 7.438 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.9798, allocations: 51.89 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.98, allocations: 4 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009045/0.981, allocations: 211.1 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.9811, allocations: 0.6877 MB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.9813, allocations: 20.08 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.9814, allocations: 14 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/0.9814, allocations: 0 / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.00432/0.9857, allocations: 1.089 MB / 1.606 GB, free: 135.6 MB / 0.8542 GB