Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.798/2.798, allocations: 287.9 MB / 302.9 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 177 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 91.86 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004717, allocations: 17.75 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1646, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008472/0.1655, allocations: 0.5047 MB / 0.9793 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1672, allocations: 1.445 MB / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.1672, allocations: 0 / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.1673, allocations: 3.938 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.1673, allocations: 3.984 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.1678, allocations: 109.9 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.398e-05/0.1679, allocations: 27.97 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.1679, allocations: 7.984 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.168, allocations: 27.92 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.168, allocations: 27.89 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1681, allocations: 4 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.1685, allocations: 319.4 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.885e-05/0.1686, allocations: 15.97 kB / 0.9812 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.1686, allocations: 37.64 kB / 0.9812 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.1689, allocations: 148 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.596e-06/0.1689, allocations: 0 / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.13e-06/0.1689, allocations: 0 / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.1689, allocations: 0 / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005423/0.1695, allocations: 400.2 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1695, allocations: 8.031 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004893/0.17, allocations: 83.81 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.007e-05/0.1701, allocations: 167 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.1701, allocations: 4 kB / 0.982 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1702, allocations: 8 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.1706, allocations: 129.5 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1706, allocations: 0 / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.1707, allocations: 4 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.1707, allocations: 8 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.1713, allocations: 115.9 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.1719, allocations: 352.5 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/0.1726, allocations: 182.4 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1727, allocations: 0 / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1727, allocations: 42.52 kB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.552e-06/0.1727, allocations: 0 / 0.9828 GB, free: 23.86 MB / 0.6198 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.02133/0.194, allocations: 3.179 MB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.1941, allocations: 55.41 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.1942, allocations: 101.8 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.1943, allocations: 25.7 kB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.1943, allocations: 92.08 kB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.1944, allocations: 35.45 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.1944, allocations: 7.938 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.1945, allocations: 322.8 kB / 0.9865 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007981/0.1953, allocations: 215.8 kB / 0.9867 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007851/0.1961, allocations: 215.8 kB / 0.9869 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008207/0.197, allocations: 218.1 kB / 0.9871 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-06/0.197, allocations: 4 kB / 0.9871 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001889/0.1989, allocations: 0.5207 MB / 0.9877 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1989, allocations: 9.094 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.1989, allocations: 0 / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.199, allocations: 7.938 kB / 0.9877 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/0.1999, allocations: 115.8 kB / 0.9878 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.33e-06/0.2, allocations: 3.984 kB / 0.9878 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006903/0.2007, allocations: 63.94 kB / 0.9878 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/0.2008, allocations: 19.94 kB / 0.9879 GB, free: 18.54 MB / 0.6198 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 (13): * Single equations (assignments): 13 * 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.0001679/0.2009, allocations: 113.8 kB / 0.988 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.201, allocations: 11.86 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.2011, allocations: 15.95 kB / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.836e-06/0.2011, allocations: 0 / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.2011, allocations: 4 kB / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.964e-06/0.2012, allocations: 4 kB / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.2038, allocations: 1.094 MB / 0.9891 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2038, allocations: 4 kB / 0.9891 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009647/0.2048, allocations: 119.8 kB / 0.9892 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.592e-06/0.2048, allocations: 4 kB / 0.9892 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/0.2049, allocations: 23.94 kB / 0.9892 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.2049, allocations: 0 / 0.9892 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.004e-06/0.2049, allocations: 4.031 kB / 0.9892 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/0.2077, allocations: 0.8736 MB / 0.9901 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.2079, allocations: 117.2 kB / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.337e-05/0.208, allocations: 0 / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007829/0.2088, allocations: 60 kB / 0.9902 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2089, allocations: 31.91 kB / 0.9903 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/0.209, allocations: 27.92 kB / 0.9903 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.2091, allocations: 83.28 kB / 0.9904 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.86e-07/0.2091, allocations: 0 / 0.9904 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005083/0.2096, allocations: 48 kB / 0.9904 GB, free: 15.76 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002002/0.2098, allocations: 119.2 kB / 0.9905 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.2116, allocations: 467.5 kB / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.899e-06/0.2116, allocations: 0 / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008737/0.2125, allocations: 255.7 kB / 0.9912 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.2128, allocations: 8.5 kB / 0.9912 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.2176, allocations: 0.8694 MB / 0.9921 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.2178, allocations: 0.6926 MB / 0.9928 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000918/0.2187, allocations: 92.66 kB / 0.9929 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.2191, allocations: 63.3 kB / 0.9929 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of SimCode: time 1.493e-06/0.2191, allocations: 0 / 0.9929 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.006724/0.2258, allocations: 3.236 MB / 0.9961 GB, free: 9.91 MB / 0.6198 GB