Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 194.9 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 290.2 kB / 290.2 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9514/0.9514, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 93.12 kB / 0.5945 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1525, allocations: 86.98 MB / 0.6794 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001809/0.1544, allocations: 0.6584 MB / 0.6801 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1561, allocations: 1.47 MB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.394e-05/0.1561, allocations: 0.7188 kB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.1561, allocations: 0 / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.659e-05/0.1562, allocations: 0.7188 kB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.1566, allocations: 117.7 kB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.014e-05/0.1566, allocations: 27.92 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.1567, allocations: 7.984 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.763e-05/0.1567, allocations: 23.97 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.1568, allocations: 23.91 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1568, allocations: 4 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.1572, allocations: 319.3 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.1573, allocations: 3.938 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.1573, allocations: 15.92 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1576, allocations: 183.7 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1576, allocations: 0 / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1576, allocations: 0 / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1576, allocations: 0 / 0.6822 GB, free: 14.31 MB / 494.1 MB 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.0005361/0.1582, allocations: 367.8 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1582, allocations: 12.03 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004701/0.1587, allocations: 64.84 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1588, allocations: 172.2 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.1588, allocations: 384 / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1589, allocations: 384 / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.1591, allocations: 85.94 kB / 0.6829 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1591, allocations: 0 / 0.6829 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1592, allocations: 0 / 0.6829 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1592, allocations: 4 kB / 0.6829 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.1595, allocations: 63.88 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.1596, allocations: 161.7 kB / 0.6831 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.1602, allocations: 118.5 kB / 0.6832 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.1604, allocations: 48.98 kB / 0.6833 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004551/0.1609, allocations: 157 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1609, allocations: 34.5 kB / 0.6835 GB, free: 12.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.1609, allocations: 0 / 0.6835 GB, free: 12.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001133/0.162, allocations: 414.1 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1621, allocations: 63.28 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.324e-05/0.1621, allocations: 97.86 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1622, allocations: 25.7 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.1622, allocations: 80.14 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1622, allocations: 23.73 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.1623, allocations: 13.72 kB / 0.6841 GB, free: 12.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.1624, allocations: 319 kB / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.1626, allocations: 39.95 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1627, allocations: 35.97 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.163, allocations: 72.8 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.163, allocations: 4 kB / 0.6846 GB, free: 11.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000349/0.1634, allocations: 113.6 kB / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1634, allocations: 8 kB / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1634, allocations: 3.938 kB / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1634, allocations: 0 / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1636, allocations: 19.98 kB / 0.6847 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1636, allocations: 4 kB / 0.6847 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.352e-05/0.1637, allocations: 7.984 kB / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1637, allocations: 7.984 kB / 0.6847 GB, free: 11.43 MB / 494.1 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 (6): * Single equations (assignments): 6 * 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.511e-05/0.1638, allocations: 119.1 kB / 0.6849 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.1638, allocations: 11.84 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.1643, allocations: 133.1 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1643, allocations: 0 / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1643, allocations: 4 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1643, allocations: 0 / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.1644, allocations: 173.6 kB / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1645, allocations: 0 / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1646, allocations: 24.23 kB / 0.6852 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1646, allocations: 0 / 0.6852 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1647, allocations: 4 kB / 0.6852 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1647, allocations: 7.984 kB / 0.6852 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1647, allocations: 0 / 0.6852 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.1652, allocations: 177 kB / 0.6854 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.1653, allocations: 96.97 kB / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1653, allocations: 0 / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1654, allocations: 11.98 kB / 0.6855 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.1655, allocations: 15.98 kB / 0.6855 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1655, allocations: 7.938 kB / 0.6855 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.053e-05/0.1655, allocations: 79.28 kB / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1655, allocations: 0 / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1657, allocations: 31.98 kB / 0.6856 GB, free: 10.45 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001968/0.166, allocations: 127.2 kB / 0.6857 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.1663, allocations: 80.03 kB / 0.6858 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1663, allocations: 0 / 0.6858 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.1665, allocations: 51.89 kB / 0.6859 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.1667, allocations: 8.875 kB / 0.6859 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.1673, allocations: 191.1 kB / 0.686 GB, free: 9.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1675, allocations: 0.6809 MB / 0.6867 GB, free: 9.262 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.1677, allocations: 16 kB / 0.6867 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.1677, allocations: 11.44 kB / 0.6867 GB, free: 9.234 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1677, allocations: 4 kB / 0.6867 GB, free: 9.23 MB / 494.1 MB Notification: Performance of Templates: time 0.00319/0.1709, allocations: 1.129 MB / 0.6878 GB, free: 8.113 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)