Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.838/1.838, allocations: 297.4 MB / 312.6 MB, free: 2.895 MB / 234.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.000951/0.000951, allocations: 177.5 kB / 382.3 MB, free: 14.82 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.343/1.343, allocations: 225.7 MB / 0.6617 GB, free: 7.211 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008001/0.0008001, allocations: 92.5 kB / 0.7789 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003168, allocations: 8 kB / 0.9058 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.5461, allocations: 119.2 MB / 1.022 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001388/0.5476, allocations: 0.494 MB / 1.023 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00255/0.5501, allocations: 1.835 MB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.5502, allocations: 1.906 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.5502, allocations: 0 / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.5503, allocations: 4.688 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.5508, allocations: 119.5 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.551, allocations: 45.12 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.849e-05/0.5511, allocations: 6.531 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.5512, allocations: 24.3 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.5513, allocations: 31.02 kB / 1.025 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.5513, allocations: 1.188 kB / 1.025 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/0.552, allocations: 314.3 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.552, allocations: 16.27 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.15e-05/0.5521, allocations: 52.41 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005183/0.5526, allocations: 199.4 kB / 1.025 GB, free: 56.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.5527, allocations: 1.375 kB / 1.025 GB, free: 56.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.749e-06/0.5527, allocations: 5.125 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.5527, allocations: 0 / 1.025 GB, free: 56.36 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.0007924/0.5535, allocations: 396.6 kB / 1.026 GB, free: 55.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.5536, allocations: 14.36 kB / 1.026 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005379/0.5541, allocations: 84.86 kB / 1.026 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.5543, allocations: 171.6 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.5543, allocations: 5.875 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.5544, allocations: 9.828 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.5548, allocations: 123.6 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.5549, allocations: 2.031 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.5549, allocations: 4.656 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.5549, allocations: 1.469 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005084/0.5554, allocations: 129.2 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.5561, allocations: 335.5 kB / 1.027 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.5567, allocations: 185.9 kB / 1.027 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.557, allocations: 68.77 kB / 1.027 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.557, allocations: 2.391 kB / 1.027 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.5571, allocations: 31.72 kB / 1.027 GB, free: 55.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.5571, allocations: 0 / 1.027 GB, free: 55.29 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.01695/0.574, allocations: 3.191 MB / 1.03 GB, free: 54.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.5741, allocations: 56.75 kB / 1.03 GB, free: 54.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.5742, allocations: 99.23 kB / 1.03 GB, free: 54.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.5742, allocations: 27.3 kB / 1.03 GB, free: 54.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.5743, allocations: 100.1 kB / 1.03 GB, free: 54.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.5743, allocations: 40.33 kB / 1.03 GB, free: 54.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.5744, allocations: 0 / 1.03 GB, free: 54.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.5744, allocations: 316.4 kB / 1.031 GB, free: 53.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.5751, allocations: 222.8 kB / 1.031 GB, free: 53.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.5757, allocations: 215.9 kB / 1.031 GB, free: 53.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.5768, allocations: 444 kB / 1.031 GB, free: 53.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5769, allocations: 0 / 1.031 GB, free: 53.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0014/0.5783, allocations: 0.5123 MB / 1.032 GB, free: 53.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5783, allocations: 6.406 kB / 1.032 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5783, allocations: 0 / 1.032 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.5783, allocations: 0 / 1.032 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/0.5791, allocations: 128.2 kB / 1.032 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5791, allocations: 10.44 kB / 1.032 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.5797, allocations: 55.42 kB / 1.032 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.5798, allocations: 29.59 kB / 1.032 GB, free: 53.41 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.0001275/0.5799, allocations: 120.1 kB / 1.032 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.58, allocations: 7.125 kB / 1.032 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.58, allocations: 8.75 kB / 1.032 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.58, allocations: 4.781 kB / 1.032 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.58, allocations: 3.938 kB / 1.032 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.58, allocations: 0 / 1.032 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.582, allocations: 1.095 MB / 1.033 GB, free: 52.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.582, allocations: 0 / 1.033 GB, free: 52.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/0.5828, allocations: 124.1 kB / 1.033 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5828, allocations: 3.938 kB / 1.033 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.5829, allocations: 28.83 kB / 1.033 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5829, allocations: 0 / 1.033 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5829, allocations: 0 / 1.033 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.585, allocations: 0.8681 MB / 1.034 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.5852, allocations: 128.3 kB / 1.034 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.5853, allocations: 0 / 1.034 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.5859, allocations: 62.31 kB / 1.035 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.586, allocations: 28.06 kB / 1.035 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.5861, allocations: 24.75 kB / 1.035 GB, free: 52.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.988e-05/0.5861, allocations: 83.45 kB / 1.035 GB, free: 52.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5862, allocations: 3.938 kB / 1.035 GB, free: 52.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003884/0.5866, allocations: 52.69 kB / 1.035 GB, free: 52.05 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.0002538/0.5868, allocations: 118.8 kB / 1.035 GB, free: 51.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.5883, allocations: 476 kB / 1.035 GB, free: 51.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5883, allocations: 0 / 1.035 GB, free: 51.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000697/0.589, allocations: 249.5 kB / 1.036 GB, free: 51.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.5894, allocations: 12.88 kB / 1.036 GB, free: 51.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.5936, allocations: 0.8695 MB / 1.036 GB, free: 51.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.5937, allocations: 0.6974 MB / 1.037 GB, free: 50.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006672/0.5944, allocations: 89.11 kB / 1.037 GB, free: 50.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.5947, allocations: 57.42 kB / 1.037 GB, free: 50.78 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.5947, allocations: 1.219 kB / 1.037 GB, free: 50.78 MB / 0.698 GB Notification: Performance of Templates: time 0.005998/0.6007, allocations: 3.322 MB / 1.04 GB, free: 50.59 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)