Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001067/0.001067, allocations: 107.4 kB / 16.38 MB, free: 6.473 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.001194/0.001194, allocations: 190.2 kB / 17.32 MB, free: 5.785 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8423/0.8423, allocations: 143 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.22 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1545, allocations: 82.03 MB / 0.6763 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001583/0.1562, allocations: 0.6062 MB / 0.6769 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1579, allocations: 1.451 MB / 0.6783 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.158, allocations: 4 kB / 0.6783 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.158, allocations: 3.938 kB / 0.6783 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.955e-05/0.158, allocations: 0 / 0.6783 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.1585, allocations: 135.4 kB / 0.6784 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.381e-05/0.1586, allocations: 31.97 kB / 0.6785 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.1586, allocations: 4 kB / 0.6785 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.1587, allocations: 19.92 kB / 0.6785 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-05/0.1588, allocations: 23.95 kB / 0.6785 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1588, allocations: 4 kB / 0.6785 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.1592, allocations: 315.4 kB / 0.6788 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.1592, allocations: 7.984 kB / 0.6788 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.1593, allocations: 15.91 kB / 0.6788 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.1596, allocations: 187.6 kB / 0.679 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1596, allocations: 0 / 0.679 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1596, allocations: 0 / 0.679 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1596, allocations: 8 kB / 0.679 GB, free: 7.492 MB / 0.5137 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.0005374/0.1601, allocations: 359.5 kB / 0.6794 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1602, allocations: 8.031 kB / 0.6794 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004824/0.1607, allocations: 68.84 kB / 0.6795 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1608, allocations: 168.2 kB / 0.6796 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.1609, allocations: 4.359 kB / 0.6796 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1609, allocations: 4.375 kB / 0.6796 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.1611, allocations: 81.95 kB / 0.6797 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1612, allocations: 0 / 0.6797 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1612, allocations: 0 / 0.6797 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1612, allocations: 0 / 0.6797 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.1615, allocations: 67.92 kB / 0.6798 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.1617, allocations: 157.7 kB / 0.6799 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.1623, allocations: 130.4 kB / 0.68 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.1624, allocations: 48.91 kB / 0.6801 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004443/0.1629, allocations: 149 kB / 0.6802 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1629, allocations: 38.5 kB / 0.6803 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1629, allocations: 0 / 0.6803 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.001202/0.1641, allocations: 406.2 kB / 0.6807 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1642, allocations: 55.34 kB / 0.6807 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.688e-05/0.1643, allocations: 97.84 kB / 0.6808 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1643, allocations: 29.7 kB / 0.6808 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.1643, allocations: 80.14 kB / 0.6809 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1644, allocations: 15.88 kB / 0.6809 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.1644, allocations: 25.7 kB / 0.6809 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1645, allocations: 314.8 kB / 0.6812 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1647, allocations: 35.91 kB / 0.6813 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1649, allocations: 39.97 kB / 0.6813 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.1652, allocations: 76.98 kB / 0.6814 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1652, allocations: 0 / 0.6814 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003576/0.1656, allocations: 117.6 kB / 0.6815 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1656, allocations: 9.875 kB / 0.6815 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1656, allocations: 0 / 0.6815 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1656, allocations: 0 / 0.6815 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1658, allocations: 23.97 kB / 0.6815 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1658, allocations: 3.938 kB / 0.6815 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1659, allocations: 16.31 kB / 0.6816 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1659, allocations: 4 kB / 0.6816 GB, free: 4.625 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.885e-05/0.166, allocations: 110.5 kB / 0.6817 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.166, allocations: 7.844 kB / 0.6817 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.1665, allocations: 141.1 kB / 0.6818 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1665, allocations: 0 / 0.6818 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1665, allocations: 0 / 0.6818 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1665, allocations: 0 / 0.6818 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1666, allocations: 165.7 kB / 0.682 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1666, allocations: 4 kB / 0.682 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.1668, allocations: 31.84 kB / 0.682 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1668, allocations: 0 / 0.682 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1668, allocations: 0 / 0.682 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1668, allocations: 4 kB / 0.682 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1668, allocations: 3.938 kB / 0.682 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.1674, allocations: 181 kB / 0.6822 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.1675, allocations: 97.16 kB / 0.6823 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1675, allocations: 7.938 kB / 0.6823 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.1676, allocations: 16.05 kB / 0.6823 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.1677, allocations: 4 kB / 0.6823 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.1677, allocations: 0 / 0.6823 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.1677, allocations: 87.27 kB / 0.6824 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1677, allocations: 0 / 0.6824 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002269/0.1679, allocations: 24 kB / 0.6824 GB, free: 3.66 MB / 0.5137 GB 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.0002077/0.1682, allocations: 132.1 kB / 0.6825 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.1686, allocations: 88.02 kB / 0.6826 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1686, allocations: 0 / 0.6826 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1687, allocations: 47.91 kB / 0.6827 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.1689, allocations: 3.984 kB / 0.6827 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.1695, allocations: 215 kB / 0.6829 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.1698, allocations: 0.6807 MB / 0.6835 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1698, allocations: 15.42 kB / 0.6835 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.1698, allocations: 0 / 0.6835 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of Templates: time 0.002724/0.1725, allocations: 1.156 MB / 0.6847 GB, free: 1.262 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)