Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.648/1.648, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009122/0.0009122, allocations: 179.2 kB / 393.1 MB, free: 4.055 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.7 MB / 0.6743 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007263/0.0007264, allocations: 90.59 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.0005438, allocations: 12 kB / 0.9224 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5536/0.5542, allocations: 121.3 MB / 1.041 GB, free: 58.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009514/0.5552, allocations: 0.4951 MB / 1.041 GB, free: 58.24 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.5568, allocations: 1.828 MB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.5569, allocations: 1.938 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.5569, allocations: 0 / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.557, allocations: 8.5 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.5574, allocations: 110.3 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.465e-05/0.5575, allocations: 48.28 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.5575, allocations: 5.375 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.715e-05/0.5576, allocations: 27.09 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.5577, allocations: 32.7 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.5577, allocations: 7.938 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004039/0.5581, allocations: 308.7 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.5581, allocations: 16.3 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.5582, allocations: 53.17 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.5585, allocations: 208.7 kB / 1.044 GB, free: 56.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5585, allocations: 0 / 1.044 GB, free: 56.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5585, allocations: 0 / 1.044 GB, free: 56.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.5586, allocations: 1.406 kB / 1.044 GB, free: 56.44 MB / 0.698 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.0005271/0.5591, allocations: 397.5 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.5591, allocations: 6.906 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004466/0.5596, allocations: 85.72 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.5597, allocations: 170 kB / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5597, allocations: 7.875 kB / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.5597, allocations: 17.78 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.5601, allocations: 126.7 kB / 1.045 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5601, allocations: 1.344 kB / 1.045 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.5601, allocations: 0 / 1.045 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.5601, allocations: 3.125 kB / 1.045 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.5606, allocations: 125.5 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.5611, allocations: 344.1 kB / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/0.5618, allocations: 184.5 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.562, allocations: 66.19 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.562, allocations: 6.25 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.562, allocations: 31.45 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.5621, allocations: 0.9688 kB / 1.045 GB, free: 55.36 MB / 0.698 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.01755/0.5796, allocations: 3.176 MB / 1.049 GB, free: 54.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.5797, allocations: 61.31 kB / 1.049 GB, free: 54.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/0.5797, allocations: 98.42 kB / 1.049 GB, free: 54.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.5798, allocations: 29.7 kB / 1.049 GB, free: 54.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.5798, allocations: 91.61 kB / 1.049 GB, free: 54.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.5799, allocations: 39.52 kB / 1.049 GB, free: 54.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.5799, allocations: 5.156 kB / 1.049 GB, free: 54.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.833e-05/0.58, allocations: 319.8 kB / 1.049 GB, free: 53.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006528/0.5807, allocations: 215.3 kB / 1.049 GB, free: 53.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.5813, allocations: 217.3 kB / 1.05 GB, free: 53.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.5826, allocations: 450.4 kB / 1.05 GB, free: 53.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5826, allocations: 0 / 1.05 GB, free: 53.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00148/0.5841, allocations: 0.515 MB / 1.051 GB, free: 53.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5842, allocations: 9.219 kB / 1.051 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5842, allocations: 3.938 kB / 1.051 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.5842, allocations: 1.125 kB / 1.051 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/0.585, allocations: 123.9 kB / 1.051 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.585, allocations: 3.938 kB / 1.051 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.5856, allocations: 60.89 kB / 1.051 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/0.5857, allocations: 25.61 kB / 1.051 GB, free: 53.48 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.5858, allocations: 112.9 kB / 1.051 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.5859, allocations: 6.844 kB / 1.051 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.5859, allocations: 14.06 kB / 1.051 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.586, allocations: 5.688 kB / 1.051 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.586, allocations: 3.938 kB / 1.051 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.586, allocations: 96 / 1.051 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.588, allocations: 1.104 MB / 1.052 GB, free: 52.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.588, allocations: 0 / 1.052 GB, free: 52.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007994/0.5889, allocations: 115.5 kB / 1.052 GB, free: 52.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5889, allocations: 6.016 kB / 1.052 GB, free: 52.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.5889, allocations: 23.47 kB / 1.052 GB, free: 52.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5889, allocations: 0.9375 kB / 1.052 GB, free: 52.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5889, allocations: 0.9375 kB / 1.052 GB, free: 52.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.5912, allocations: 0.8659 MB / 1.053 GB, free: 52.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.5913, allocations: 122 kB / 1.053 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.5914, allocations: 5.984 kB / 1.053 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/0.592, allocations: 61.45 kB / 1.053 GB, free: 52.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5922, allocations: 30.17 kB / 1.053 GB, free: 52.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.5922, allocations: 30.33 kB / 1.053 GB, free: 52.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.5923, allocations: 81.59 kB / 1.053 GB, free: 52.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5923, allocations: 0 / 1.053 GB, free: 52.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003713/0.5927, allocations: 53.36 kB / 1.053 GB, free: 52.12 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001983/0.5929, allocations: 116.8 kB / 1.053 GB, free: 52.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.5943, allocations: 475.2 kB / 1.054 GB, free: 51.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5943, allocations: 0 / 1.054 GB, free: 51.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007294/0.595, allocations: 256.3 kB / 1.054 GB, free: 51.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.5954, allocations: 12.98 kB / 1.054 GB, free: 51.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.5994, allocations: 0.8706 MB / 1.055 GB, free: 51.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.648e-05/0.5995, allocations: 0.6952 MB / 1.056 GB, free: 50.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006629/0.6002, allocations: 87.28 kB / 1.056 GB, free: 50.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.6005, allocations: 55.23 kB / 1.056 GB, free: 50.84 MB / 0.698 GB Notification: Performance of SimCode: time 4.1e-07/0.6005, allocations: 0 / 1.056 GB, free: 50.84 MB / 0.698 GB Notification: Performance of Templates: time 0.005136/0.6056, allocations: 3.333 MB / 1.059 GB, free: 50.64 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)