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.001384/0.001384, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001665/0.001665, allocations: 195.4 kB / 16.25 MB, free: 6.621 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 283.1 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9615/0.9615, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 100.4 kB / 0.5947 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1516, allocations: 86.98 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001683/0.1534, allocations: 0.6619 MB / 0.6803 GB, free: 416 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1551, allocations: 1.447 MB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.1551, allocations: 0 / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.1552, allocations: 0 / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.815e-05/0.1552, allocations: 0 / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.1557, allocations: 126.2 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.897e-05/0.1557, allocations: 31.91 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.1558, allocations: 0 / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.1558, allocations: 15.98 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.1559, allocations: 27.89 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1559, allocations: 8 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.1564, allocations: 315.4 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.1564, allocations: 11.92 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.1564, allocations: 15.91 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1567, allocations: 179.7 kB / 0.6824 GB, free: 14.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1567, allocations: 0 / 0.6824 GB, free: 14.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1567, allocations: 3.984 kB / 0.6824 GB, free: 14.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1567, allocations: 0 / 0.6824 GB, free: 14.22 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.0005157/0.1572, allocations: 359.8 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1573, allocations: 16.03 kB / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/0.1578, allocations: 72.78 kB / 0.6828 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1579, allocations: 168.3 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1579, allocations: 384 / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.1579, allocations: 4.375 kB / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.1582, allocations: 73.94 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1582, allocations: 4 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1582, allocations: 4 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1582, allocations: 0 / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.1585, allocations: 67.86 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.1587, allocations: 161.7 kB / 0.6833 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.1593, allocations: 126.6 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1595, allocations: 40.92 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004362/0.1599, allocations: 157 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.1599, allocations: 38.5 kB / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1599, allocations: 0 / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001185/0.1611, allocations: 406.2 kB / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1612, allocations: 59.34 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.489e-05/0.1613, allocations: 93.86 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1613, allocations: 25.7 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.1613, allocations: 84.14 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.1614, allocations: 19.73 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.1614, allocations: 25.66 kB / 0.6843 GB, free: 11.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1616, allocations: 318.8 kB / 0.6846 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.1617, allocations: 36.09 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1619, allocations: 31.97 kB / 0.6847 GB, free: 11.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.1622, allocations: 80.8 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1622, allocations: 0 / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003398/0.1625, allocations: 113.6 kB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1625, allocations: 4 kB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1626, allocations: 3.938 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.1626, allocations: 4 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.1627, allocations: 27.97 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1628, allocations: 0 / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.1629, allocations: 15.98 kB / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.1629, allocations: 3.938 kB / 0.6849 GB, free: 11.34 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 0.0001035/0.163, allocations: 111.2 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.163, allocations: 11.84 kB / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.1635, allocations: 137.1 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1635, allocations: 0 / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1635, allocations: 4 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1635, allocations: 0 / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.1636, allocations: 162 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1637, allocations: 8 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1638, allocations: 27.91 kB / 0.6854 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1638, allocations: 0 / 0.6854 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1638, allocations: 8 kB / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1639, allocations: 0 / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1639, allocations: 0 / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.1644, allocations: 181 kB / 0.6856 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.1645, allocations: 88.94 kB / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.1645, allocations: 4.031 kB / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.1646, allocations: 19.97 kB / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.1647, allocations: 3.938 kB / 0.6857 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1647, allocations: 4 kB / 0.6857 GB, free: 10.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.968e-05/0.1647, allocations: 79.34 kB / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1647, allocations: 0 / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1649, allocations: 35.98 kB / 0.6858 GB, free: 10.38 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.0001844/0.1651, allocations: 127.2 kB / 0.6859 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.1655, allocations: 87.95 kB / 0.686 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1655, allocations: 0 / 0.686 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.1657, allocations: 47.91 kB / 0.686 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.1658, allocations: 4 kB / 0.686 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.1665, allocations: 197.4 kB / 0.6862 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1667, allocations: 0.6807 MB / 0.6869 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.1669, allocations: 12 kB / 0.6869 GB, free: 9.164 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.1669, allocations: 19.36 kB / 0.6869 GB, free: 9.145 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1669, allocations: 0 / 0.6869 GB, free: 9.145 MB / 494.1 MB Notification: Performance of Templates: time 0.003278/0.1702, allocations: 1.158 MB / 0.688 GB, free: 7.996 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)