Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 255.9 MB / 271.2 MB, free: 8.844 MB / 218.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.0008798/0.0008798, allocations: 181.4 kB / 330.8 MB, free: 456 kB / 250.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.306/1.306, allocations: 225.7 MB / 0.6016 GB, free: 1.605 MB / 426.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.0007393/0.0007394, allocations: 106.7 kB / 0.709 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 109.2 MB / 0.9328 GB, free: 6.242 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0007202/0.1466, allocations: 499 kB / 0.9332 GB, free: 5.754 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1479, allocations: 1.828 MB / 0.935 GB, free: 3.816 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.1479, allocations: 0 / 0.935 GB, free: 3.816 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.148, allocations: 3.938 kB / 0.935 GB, free: 3.812 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.316e-05/0.148, allocations: 0 / 0.935 GB, free: 3.812 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.1483, allocations: 127.6 kB / 0.9351 GB, free: 3.688 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.1484, allocations: 47.84 kB / 0.9352 GB, free: 3.641 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.1485, allocations: 7.984 kB / 0.9352 GB, free: 3.633 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.449e-05/0.1485, allocations: 23.92 kB / 0.9352 GB, free: 3.609 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.1486, allocations: 31.89 kB / 0.9353 GB, free: 3.578 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1486, allocations: 7.938 kB / 0.9353 GB, free: 3.57 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.1489, allocations: 315.3 kB / 0.9356 GB, free: 3.262 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.1489, allocations: 11.92 kB / 0.9356 GB, free: 3.25 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.149, allocations: 53.56 kB / 0.9356 GB, free: 3.191 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1492, allocations: 207.6 kB / 0.9358 GB, free: 2.988 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1492, allocations: 0 / 0.9358 GB, free: 2.988 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1492, allocations: 0 / 0.9358 GB, free: 2.988 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.1493, allocations: 0 / 0.9358 GB, free: 2.988 MB / 0.573 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.0004382/0.1497, allocations: 395.6 kB / 0.9362 GB, free: 2.555 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1497, allocations: 17.11 kB / 0.9362 GB, free: 2.539 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.1501, allocations: 84.84 kB / 0.9363 GB, free: 2.457 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.818e-05/0.1502, allocations: 172.2 kB / 0.9365 GB, free: 2.25 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.1502, allocations: 8.375 kB / 0.9365 GB, free: 2.242 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1503, allocations: 8.359 kB / 0.9365 GB, free: 2.234 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.1506, allocations: 129.9 kB / 0.9366 GB, free: 2.102 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1506, allocations: 0 / 0.9366 GB, free: 2.102 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1506, allocations: 0 / 0.9366 GB, free: 2.102 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1506, allocations: 4 kB / 0.9366 GB, free: 2.098 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.151, allocations: 123.9 kB / 0.9367 GB, free: 1.977 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.1515, allocations: 344.6 kB / 0.937 GB, free: 1.59 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.152, allocations: 178.4 kB / 0.9372 GB, free: 1.406 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.1522, allocations: 64.81 kB / 0.9373 GB, free: 1.34 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1522, allocations: 4.141 kB / 0.9373 GB, free: 1.336 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.1522, allocations: 42.5 kB / 0.9373 GB, free: 1.285 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1523, allocations: 0 / 0.9373 GB, free: 1.285 MB / 0.573 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.01593/0.1682, allocations: 3.174 MB / 0.9404 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1683, allocations: 59.34 kB / 0.9405 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.1683, allocations: 97.86 kB / 0.9406 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.1684, allocations: 29.7 kB / 0.9406 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.1684, allocations: 99.97 kB / 0.9407 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.087e-05/0.1685, allocations: 35.45 kB / 0.9407 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.1685, allocations: 4 kB / 0.9407 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.1686, allocations: 310.8 kB / 0.941 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/0.1693, allocations: 219.8 kB / 0.9412 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.1699, allocations: 215.8 kB / 0.9414 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.1712, allocations: 444.5 kB / 0.9419 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1712, allocations: 3.938 kB / 0.9419 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001426/0.1726, allocations: 0.5208 MB / 0.9424 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1726, allocations: 11.84 kB / 0.9424 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1726, allocations: 0 / 0.9424 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1727, allocations: 0 / 0.9424 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.1734, allocations: 115.8 kB / 0.9425 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.1734, allocations: 7.938 kB / 0.9425 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.174, allocations: 55.94 kB / 0.9426 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.1741, allocations: 27.92 kB / 0.9426 GB, free: 11.74 MB / 0.5886 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.0001244/0.1742, allocations: 122.4 kB / 0.9427 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.1743, allocations: 7.906 kB / 0.9427 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.1743, allocations: 15.91 kB / 0.9427 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1743, allocations: 7.984 kB / 0.9427 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1744, allocations: 3.938 kB / 0.9427 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1744, allocations: 0 / 0.9427 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.1764, allocations: 1.105 MB / 0.9438 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1764, allocations: 0 / 0.9438 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/0.1771, allocations: 127.7 kB / 0.9439 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.1772, allocations: 3.938 kB / 0.9439 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.1772, allocations: 19.94 kB / 0.944 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.1772, allocations: 80 / 0.944 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1772, allocations: 7.984 kB / 0.944 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.1794, allocations: 0.8625 MB / 0.9448 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1795, allocations: 129 kB / 0.9449 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.1796, allocations: 0 / 0.9449 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.1802, allocations: 63.94 kB / 0.945 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1803, allocations: 27.86 kB / 0.945 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.1804, allocations: 27.92 kB / 0.9451 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.1804, allocations: 83.28 kB / 0.9451 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1804, allocations: 0 / 0.9451 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003178/0.1808, allocations: 52 kB / 0.9452 GB, free: 8.926 MB / 0.5886 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.0001742/0.1809, allocations: 115.2 kB / 0.9453 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.1823, allocations: 479.4 kB / 0.9458 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1823, allocations: 0 / 0.9458 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000667/0.183, allocations: 251.7 kB / 0.946 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.1833, allocations: 12 kB / 0.946 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.1871, allocations: 0.8719 MB / 0.9469 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1874, allocations: 0.697 MB / 0.9475 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006311/0.188, allocations: 92.55 kB / 0.9476 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.1883, allocations: 59.3 kB / 0.9477 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/0.1883, allocations: 0 / 0.9477 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of Templates: time 0.005604/0.1939, allocations: 3.329 MB / 0.9509 GB, free: 2.973 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)