Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.605/1.605, allocations: 287.4 MB / 303.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008988/0.0008987, allocations: 184.5 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 0.6304 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000767/0.000767, allocations: 90.11 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 14.12 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1637, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0005534/0.1643, allocations: 335.5 kB / 0.9796 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1657, allocations: 1.421 MB / 0.981 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.1657, allocations: 0 / 0.981 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.1657, allocations: 4 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.487e-05/0.1658, allocations: 0 / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.1662, allocations: 115.6 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.1663, allocations: 19.97 kB / 0.9811 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.1663, allocations: 8 kB / 0.9811 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.1664, allocations: 23.91 kB / 0.9812 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.1664, allocations: 19.97 kB / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1665, allocations: 4 kB / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.1668, allocations: 307.4 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.1669, allocations: 7.922 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.1669, allocations: 25.7 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.1671, allocations: 131.9 kB / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1671, allocations: 4 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1671, allocations: 0 / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1671, allocations: 4 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003953/0.1675, allocations: 355.7 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1676, allocations: 8.031 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004045/0.168, allocations: 84.75 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.227e-05/0.168, allocations: 160.4 kB / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1681, allocations: 12.38 kB / 0.9822 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1681, allocations: 384 / 0.9822 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.1683, allocations: 85.94 kB / 0.9823 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1683, allocations: 0 / 0.9823 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1683, allocations: 4 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1684, allocations: 0 / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.1686, allocations: 83.86 kB / 0.9824 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.1688, allocations: 165.7 kB / 0.9826 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.1693, allocations: 138.6 kB / 0.9827 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.1694, allocations: 52.92 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003977/0.1698, allocations: 177 kB / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.1699, allocations: 38.5 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.1699, allocations: 0 / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0009645/0.1708, allocations: 438.1 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.262e-05/0.1709, allocations: 55.41 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.672e-05/0.1709, allocations: 93.86 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.1709, allocations: 25.7 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.059e-05/0.1709, allocations: 84.27 kB / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.171, allocations: 23.73 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.171, allocations: 0 / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.33e-05/0.171, allocations: 314.8 kB / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1712, allocations: 43.97 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1713, allocations: 43.95 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.1716, allocations: 88.8 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1716, allocations: 4 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003036/0.1719, allocations: 125.5 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1719, allocations: 11.94 kB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1719, allocations: 0 / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1719, allocations: 0 / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1721, allocations: 31.97 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1721, allocations: 7.938 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.1722, allocations: 11.98 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1722, allocations: 4 kB / 0.9843 GB, free: 22.75 MB / 0.6198 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.1722, allocations: 105.8 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.1722, allocations: 11.92 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.1726, allocations: 149.1 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1727, allocations: 336 / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1727, allocations: 3.984 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1727, allocations: 89.09 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1727, allocations: 0 / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1728, allocations: 16.3 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.1729, allocations: 7.984 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004164/0.1733, allocations: 228.9 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004944/0.1738, allocations: 358.5 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001417/0.1739, allocations: 48.06 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.255e-05/0.174, allocations: 79.28 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of Backend: time 2.81e-07/0.174, allocations: 0 / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005242/0.1745, allocations: 178.4 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0002646/0.1748, allocations: 0.5685 MB / 0.9861 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.00305/0.1778, allocations: 1.617 MB / 0.9876 GB, free: 19.21 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)