Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7237/0.7237, allocations: 131 MB / 146.3 MB, free: 1.336 MB / 106.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.001019/0.001019, allocations: 187.8 kB / 176.4 MB, free: 4.895 MB / 138.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.378/1.378, allocations: 225.7 MB / 432 MB, free: 9.691 MB / 314.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.0009443/0.0009443, allocations: 98.34 kB / 0.5003 GB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004514, allocations: 12 kB / 0.5885 GB, free: 72.82 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1764, allocations: 79.6 MB / 0.6663 GB, free: 9.059 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001026/0.1775, allocations: 491.2 kB / 0.6667 GB, free: 8.578 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1797, allocations: 1.836 MB / 0.6685 GB, free: 6.633 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.1798, allocations: 0 / 0.6685 GB, free: 6.633 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.1798, allocations: 0 / 0.6685 GB, free: 6.633 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.757e-05/0.1799, allocations: 7.938 kB / 0.6685 GB, free: 6.625 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.1803, allocations: 107.7 kB / 0.6686 GB, free: 6.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.85e-05/0.1804, allocations: 51.83 kB / 0.6687 GB, free: 6.469 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.838e-05/0.1805, allocations: 8 kB / 0.6687 GB, free: 6.461 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.1806, allocations: 23.92 kB / 0.6687 GB, free: 6.438 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.1806, allocations: 31.89 kB / 0.6688 GB, free: 6.406 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1807, allocations: 4 kB / 0.6688 GB, free: 6.402 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.1811, allocations: 311.4 kB / 0.6691 GB, free: 6.098 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.1811, allocations: 15.86 kB / 0.6691 GB, free: 6.082 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.1812, allocations: 57.55 kB / 0.6691 GB, free: 6.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1815, allocations: 207.6 kB / 0.6693 GB, free: 5.816 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1816, allocations: 0 / 0.6693 GB, free: 5.816 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1816, allocations: 0 / 0.6693 GB, free: 5.816 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1816, allocations: 0 / 0.6693 GB, free: 5.816 MB / 442.7 MB 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.0006158/0.1822, allocations: 395.6 kB / 0.6697 GB, free: 5.383 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1822, allocations: 14 kB / 0.6697 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004465/0.1827, allocations: 92.67 kB / 0.6698 GB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1828, allocations: 168.3 kB / 0.67 GB, free: 5.078 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.1829, allocations: 8.375 kB / 0.67 GB, free: 5.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1829, allocations: 4.375 kB / 0.67 GB, free: 5.066 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.1832, allocations: 125.9 kB / 0.6701 GB, free: 4.938 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1833, allocations: 0 / 0.6701 GB, free: 4.938 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1833, allocations: 4 kB / 0.6701 GB, free: 4.934 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1833, allocations: 0 / 0.6701 GB, free: 4.934 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.1838, allocations: 131.8 kB / 0.6702 GB, free: 4.805 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.1843, allocations: 340.7 kB / 0.6706 GB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.185, allocations: 182.4 kB / 0.6707 GB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.1852, allocations: 64.8 kB / 0.6708 GB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.1852, allocations: 4 kB / 0.6708 GB, free: 4.164 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1853, allocations: 38.56 kB / 0.6708 GB, free: 4.117 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1853, allocations: 0 / 0.6708 GB, free: 4.117 MB / 442.7 MB 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.01679/0.2021, allocations: 3.173 MB / 0.6739 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.2021, allocations: 59.34 kB / 0.674 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.2022, allocations: 101.8 kB / 0.6741 GB, free: 0.668 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.2023, allocations: 29.7 kB / 0.6741 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.2023, allocations: 84.08 kB / 0.6742 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.2024, allocations: 43.44 kB / 0.6742 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.2024, allocations: 4 kB / 0.6742 GB, free: 0.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2025, allocations: 322.8 kB / 0.6745 GB, free: 180 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.2032, allocations: 215.9 kB / 0.6747 GB, free: 15.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.2038, allocations: 219.7 kB / 0.675 GB, free: 15.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.2051, allocations: 452.9 kB / 0.6754 GB, free: 15.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2051, allocations: 0 / 0.6754 GB, free: 15.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001455/0.2066, allocations: 0.5089 MB / 0.6759 GB, free: 14.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2066, allocations: 8 kB / 0.6759 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2066, allocations: 1.109 kB / 0.6759 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2067, allocations: 3.938 kB / 0.6759 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/0.2074, allocations: 123.7 kB / 0.676 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2075, allocations: 7.938 kB / 0.676 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.2081, allocations: 59.94 kB / 0.6761 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.2081, allocations: 23.92 kB / 0.6761 GB, free: 14.56 MB / 458.7 MB 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.0001411/0.2083, allocations: 117.8 kB / 0.6762 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.2083, allocations: 7.906 kB / 0.6762 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.2084, allocations: 11.97 kB / 0.6762 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2084, allocations: 8 kB / 0.6762 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2084, allocations: 4.125 kB / 0.6762 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2084, allocations: 0 / 0.6762 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.2106, allocations: 1.105 MB / 0.6773 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2106, allocations: 0 / 0.6773 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/0.2113, allocations: 115.8 kB / 0.6774 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2113, allocations: 7.938 kB / 0.6774 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.355e-05/0.2114, allocations: 23.92 kB / 0.6775 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2114, allocations: 3.938 kB / 0.6775 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2114, allocations: 0 / 0.6775 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.2136, allocations: 0.8659 MB / 0.6783 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.2138, allocations: 117 kB / 0.6784 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.2138, allocations: 3.984 kB / 0.6784 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.2145, allocations: 64 kB / 0.6785 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.2146, allocations: 27.92 kB / 0.6785 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.2146, allocations: 23.94 kB / 0.6785 GB, free: 11.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.2147, allocations: 87.27 kB / 0.6786 GB, free: 11.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2147, allocations: 0 / 0.6786 GB, free: 11.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003359/0.215, allocations: 48 kB / 0.6787 GB, free: 11.78 MB / 458.7 MB 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.0002023/0.2153, allocations: 127.1 kB / 0.6788 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.2166, allocations: 475.5 kB / 0.6792 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2167, allocations: 0 / 0.6792 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00069/0.2174, allocations: 251.7 kB / 0.6795 GB, free: 10.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.2177, allocations: 11.98 kB / 0.6795 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.2216, allocations: 0.8773 MB / 0.6804 GB, free: 10.01 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.2218, allocations: 0.6887 MB / 0.681 GB, free: 9.297 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006549/0.2225, allocations: 100.6 kB / 0.6811 GB, free: 9.199 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.2227, allocations: 55.3 kB / 0.6812 GB, free: 9.145 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2227, allocations: 0 / 0.6812 GB, free: 9.145 MB / 458.7 MB Notification: Performance of Templates: time 0.005852/0.2286, allocations: 3.327 MB / 0.6844 GB, free: 5.816 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)