Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8083/0.8083, allocations: 143.8 MB / 159.1 MB, free: 6.492 MB / 122.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.0009189/0.0009191, allocations: 182.3 kB / 192 MB, free: 6.715 MB / 154.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.413/1.413, allocations: 225.7 MB / 450.4 MB, free: 4.945 MB / 330.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.0008962/0.000896, allocations: 99.53 kB / 0.5211 GB, free: 1.605 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001605/0.001605, allocations: 275.9 kB / 0.6025 GB, free: 49.27 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004293, allocations: 16.28 kB / 0.6948 GB, free: 59.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1505, allocations: 82.46 MB / 0.7753 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.000831/0.1514, allocations: 360.9 kB / 0.7757 GB, free: 13.96 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1534, allocations: 1.808 MB / 0.7774 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.1535, allocations: 0 / 0.7774 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.1535, allocations: 0 / 0.7774 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.138e-05/0.1536, allocations: 3.938 kB / 0.7774 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.1539, allocations: 91.7 kB / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.701e-05/0.1539, allocations: 19.98 kB / 0.7775 GB, free: 11.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.154, allocations: 11.97 kB / 0.7776 GB, free: 11.92 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.154, allocations: 11.94 kB / 0.7776 GB, free: 11.91 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/0.1541, allocations: 23.84 kB / 0.7776 GB, free: 11.88 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1541, allocations: 7.938 kB / 0.7776 GB, free: 11.88 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.1545, allocations: 307.4 kB / 0.7779 GB, free: 11.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1546, allocations: 8 kB / 0.7779 GB, free: 11.57 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.1546, allocations: 41.62 kB / 0.7779 GB, free: 11.52 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.1549, allocations: 191.8 kB / 0.7781 GB, free: 11.33 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1549, allocations: 0 / 0.7781 GB, free: 11.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1549, allocations: 0 / 0.7781 GB, free: 11.33 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1549, allocations: 0 / 0.7781 GB, free: 11.33 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004594/0.1554, allocations: 365.8 kB / 0.7785 GB, free: 10.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1554, allocations: 8.031 kB / 0.7785 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.1558, allocations: 80.77 kB / 0.7786 GB, free: 10.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1559, allocations: 176.3 kB / 0.7787 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.156, allocations: 384 / 0.7787 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.156, allocations: 4.375 kB / 0.7787 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1562, allocations: 81.95 kB / 0.7788 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1563, allocations: 3.906 kB / 0.7788 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1563, allocations: 4 kB / 0.7788 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1563, allocations: 4 kB / 0.7788 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.1566, allocations: 87.84 kB / 0.7789 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1568, allocations: 165.7 kB / 0.7791 GB, free: 10.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.1573, allocations: 154.4 kB / 0.7792 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.1575, allocations: 48.95 kB / 0.7792 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1575, allocations: 3.984 kB / 0.7793 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1575, allocations: 38.5 kB / 0.7793 GB, free: 9.973 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1575, allocations: 0 / 0.7793 GB, free: 9.973 MB / 458.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=9): time 0.003842/0.1614, allocations: 0.9577 MB / 0.7802 GB, free: 9.008 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1614, allocations: 51.41 kB / 0.7803 GB, free: 8.945 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.1615, allocations: 109.8 kB / 0.7804 GB, free: 8.828 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1615, allocations: 25.7 kB / 0.7804 GB, free: 8.797 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.1616, allocations: 92.08 kB / 0.7805 GB, free: 8.703 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.1616, allocations: 31.55 kB / 0.7805 GB, free: 8.672 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.1616, allocations: 0 / 0.7805 GB, free: 8.672 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1618, allocations: 314.8 kB / 0.7808 GB, free: 8.355 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.1622, allocations: 119.9 kB / 0.7809 GB, free: 8.238 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.1626, allocations: 119.9 kB / 0.781 GB, free: 8.121 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007607/0.1633, allocations: 236.6 kB / 0.7813 GB, free: 7.887 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1633, allocations: 0 / 0.7813 GB, free: 7.887 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008428/0.1642, allocations: 293.5 kB / 0.7816 GB, free: 7.594 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1642, allocations: 4 kB / 0.7816 GB, free: 7.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1642, allocations: 0 / 0.7816 GB, free: 7.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1642, allocations: 4 kB / 0.7816 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.1645, allocations: 59.94 kB / 0.7816 GB, free: 7.527 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1646, allocations: 4 kB / 0.7816 GB, free: 7.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.1648, allocations: 51.95 kB / 0.7817 GB, free: 7.473 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1648, allocations: 7.984 kB / 0.7817 GB, free: 7.465 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 (9): * Single equations (assignments): 9 * 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 7.624e-05/0.1649, allocations: 113.8 kB / 0.7818 GB, free: 7.344 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.1649, allocations: 4 kB / 0.7818 GB, free: 7.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.165, allocations: 8.375 kB / 0.7818 GB, free: 7.332 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.165, allocations: 4 kB / 0.7818 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.165, allocations: 0 / 0.7818 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.165, allocations: 3.984 kB / 0.7818 GB, free: 7.324 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.1666, allocations: 0.6598 MB / 0.7825 GB, free: 6.602 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1666, allocations: 0 / 0.7825 GB, free: 6.602 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.1668, allocations: 64 kB / 0.7825 GB, free: 6.539 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1668, allocations: 3.984 kB / 0.7825 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1669, allocations: 11.98 kB / 0.7825 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1669, allocations: 0 / 0.7825 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1669, allocations: 4 kB / 0.7825 GB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008849/0.1678, allocations: 384.8 kB / 0.7829 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1678, allocations: 81.11 kB / 0.783 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1679, allocations: 7.984 kB / 0.783 GB, free: 6.016 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.1681, allocations: 39.97 kB / 0.783 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.1682, allocations: 23.8 kB / 0.783 GB, free: 5.953 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1682, allocations: 12.55 kB / 0.7831 GB, free: 5.941 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.614e-05/0.1682, allocations: 91.66 kB / 0.7831 GB, free: 5.852 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1682, allocations: 0 / 0.7831 GB, free: 5.852 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.1685, allocations: 36 kB / 0.7832 GB, free: 5.816 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0002002/0.1687, allocations: 135.8 kB / 0.7833 GB, free: 5.676 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008711/0.1696, allocations: 251.8 kB / 0.7835 GB, free: 5.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1696, allocations: 4 kB / 0.7836 GB, free: 5.426 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.17, allocations: 128.2 kB / 0.7837 GB, free: 5.301 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.1703, allocations: 11.98 kB / 0.7837 GB, free: 5.289 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.1717, allocations: 480.1 kB / 0.7841 GB, free: 4.785 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.172, allocations: 0.6888 MB / 0.7848 GB, free: 4.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.1721, allocations: 20.66 kB / 0.7848 GB, free: 4.047 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.1721, allocations: 19.42 kB / 0.7849 GB, free: 4.027 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1722, allocations: 0 / 0.7849 GB, free: 4.027 MB / 458.7 MB Notification: Performance of Templates: time 0.003839/0.176, allocations: 1.601 MB / 0.7864 GB, free: 2.434 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)