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 5.314/5.314, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 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.00238/0.002379, allocations: 357.8 kB / 0.644 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.088/4.088, allocations: 410.7 MB / 1.112 GB, free: 6.023 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.00274/0.002741, allocations: 183.3 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.0005111, allocations: 16 kB / 1.348 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6054/0.6059, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008445/0.6068, allocations: 0.5055 MB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.6085, allocations: 1.443 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.6086, allocations: 2.75 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.6086, allocations: 3.938 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.054e-05/0.6086, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.6091, allocations: 108.8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.6092, allocations: 44.78 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.6093, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.487e-05/0.6093, allocations: 28.81 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.6094, allocations: 31.91 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.6094, allocations: 4.688 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.6099, allocations: 311.3 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.6099, allocations: 4.875 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.61, allocations: 41.62 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.6102, allocations: 143.9 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.838e-06/0.6102, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.825e-06/0.6102, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.155e-06/0.6103, allocations: 4 kB / 1.463 GB, free: 281.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005353/0.6108, allocations: 393.4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.6108, allocations: 11.62 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.6113, allocations: 89.06 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.233e-05/0.6114, allocations: 169.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.6115, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.6115, allocations: 11.94 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.6119, allocations: 116.5 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.612, allocations: 4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.612, allocations: 4.984 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-06/0.612, allocations: 1.781 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005665/0.6126, allocations: 130.7 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.6132, allocations: 343 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007312/0.6139, allocations: 178.2 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.6142, allocations: 73.05 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.6143, allocations: 3.938 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.6143, allocations: 36.88 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.745e-06/0.6143, allocations: 0.5312 kB / 1.465 GB, free: 280 MB / 0.8542 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.02128/0.6356, allocations: 3.182 MB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.6357, allocations: 51.41 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.738e-05/0.6358, allocations: 102.7 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.6358, allocations: 33.64 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.6359, allocations: 89.08 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.6359, allocations: 39.39 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.636, allocations: 5.25 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.6361, allocations: 318.8 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.6369, allocations: 219.8 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007949/0.6377, allocations: 212.1 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000833/0.6386, allocations: 220.2 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.531e-06/0.6386, allocations: 0 / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001893/0.6405, allocations: 0.5271 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.6405, allocations: 4.625 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.116e-06/0.6405, allocations: 0.7812 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6406, allocations: 0 / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000994/0.6416, allocations: 116.5 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.528e-06/0.6416, allocations: 4 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006645/0.6423, allocations: 59.77 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/0.6424, allocations: 29.53 kB / 1.47 GB, free: 274.9 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 (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.0001632/0.6426, allocations: 113.3 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.361e-05/0.6427, allocations: 11.86 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.741e-05/0.6427, allocations: 13.44 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.756e-06/0.6427, allocations: 4 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.135e-06/0.6428, allocations: 5.031 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.246e-06/0.6428, allocations: 0 / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/0.6453, allocations: 1.096 MB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.6454, allocations: 0 / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000975/0.6464, allocations: 127.4 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.6464, allocations: 1 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-05/0.6465, allocations: 29.42 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.343e-06/0.6465, allocations: 2.219 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.166e-06/0.6465, allocations: 0 / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.6494, allocations: 0.8717 MB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.6496, allocations: 119 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/0.6497, allocations: 3.938 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007975/0.6505, allocations: 62.16 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6506, allocations: 27.92 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.626e-05/0.6507, allocations: 27.92 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.6508, allocations: 79.28 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.64e-07/0.6508, allocations: 0 / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004986/0.6513, allocations: 52 kB / 1.472 GB, free: 272.1 MB / 0.8542 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.0002013/0.6515, allocations: 121.3 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001772/0.6533, allocations: 467.3 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.161e-06/0.6533, allocations: 0 / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008754/0.6542, allocations: 251.7 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.6547, allocations: 19.06 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.6594, allocations: 0.8618 MB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.6596, allocations: 0.6935 MB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0009534/0.6606, allocations: 93.67 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/0.661, allocations: 63.3 kB / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.816e-06/0.661, allocations: 0 / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.007718/0.6687, allocations: 3.239 MB / 1.478 GB, free: 266.3 MB / 0.8542 GB