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.001042/0.001042, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.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.985/0.985, allocations: 143.2 MB / 435.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003773, allocations: 16 kB / 0.5171 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1612, allocations: 83.4 MB / 0.5985 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007387/0.162, allocations: 338.9 kB / 0.5988 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1639, allocations: 1.447 MB / 0.6002 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.164, allocations: 0 / 0.6002 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.164, allocations: 7.938 kB / 0.6003 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.164, allocations: 0 / 0.6003 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.1645, allocations: 117 kB / 0.6004 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.1646, allocations: 23.98 kB / 0.6004 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.1647, allocations: 7.984 kB / 0.6004 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.1647, allocations: 11.94 kB / 0.6004 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.539e-05/0.1648, allocations: 27.94 kB / 0.6004 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1648, allocations: 4 kB / 0.6004 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.1653, allocations: 311.4 kB / 0.6007 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.1653, allocations: 15.97 kB / 0.6008 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.1654, allocations: 37.62 kB / 0.6008 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1656, allocations: 127.9 kB / 0.6009 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1656, allocations: 0 / 0.6009 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1656, allocations: 0 / 0.6009 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1656, allocations: 0 / 0.6009 GB, free: 5.172 MB / 0.4981 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.0005424/0.1662, allocations: 363.8 kB / 0.6013 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1662, allocations: 8.031 kB / 0.6013 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004886/0.1667, allocations: 88.75 kB / 0.6013 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1668, allocations: 164.3 kB / 0.6015 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1669, allocations: 384 / 0.6015 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.1669, allocations: 12.36 kB / 0.6015 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.1672, allocations: 85.94 kB / 0.6016 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1672, allocations: 0 / 0.6016 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1672, allocations: 0 / 0.6016 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1672, allocations: 4 kB / 0.6016 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.1675, allocations: 75.92 kB / 0.6017 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.1677, allocations: 161.7 kB / 0.6018 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.1684, allocations: 150.5 kB / 0.602 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.1686, allocations: 56.84 kB / 0.602 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004731/0.169, allocations: 173 kB / 0.6022 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1691, allocations: 34.5 kB / 0.6022 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1691, allocations: 0 / 0.6022 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001217/0.1703, allocations: 438.2 kB / 0.6026 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.1704, allocations: 55.41 kB / 0.6027 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.1704, allocations: 101.8 kB / 0.6028 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1704, allocations: 25.7 kB / 0.6028 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.1705, allocations: 80.14 kB / 0.6029 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1705, allocations: 19.75 kB / 0.6029 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.1706, allocations: 9.719 kB / 0.6029 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1707, allocations: 318.8 kB / 0.6032 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.1708, allocations: 44.09 kB / 0.6033 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.171, allocations: 39.97 kB / 0.6033 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.1713, allocations: 96.73 kB / 0.6034 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1713, allocations: 0 / 0.6034 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003726/0.1717, allocations: 133.7 kB / 0.6035 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1717, allocations: 4 kB / 0.6035 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1717, allocations: 0 / 0.6035 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1718, allocations: 0 / 0.6035 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1719, allocations: 35.92 kB / 0.6036 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1719, allocations: 3.984 kB / 0.6036 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1721, allocations: 15.98 kB / 0.6036 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1721, allocations: 0 / 0.6036 GB, free: 2.145 MB / 0.4981 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 8.14e-05/0.1722, allocations: 125.8 kB / 0.6037 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.1722, allocations: 3.938 kB / 0.6037 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.1727, allocations: 145.2 kB / 0.6038 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1727, allocations: 4 kB / 0.6039 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1727, allocations: 0 / 0.6039 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1727, allocations: 0 / 0.6039 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1728, allocations: 161.7 kB / 0.604 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1728, allocations: 0 / 0.604 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.173, allocations: 35.92 kB / 0.604 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.173, allocations: 0 / 0.604 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.173, allocations: 11.92 kB / 0.6041 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.173, allocations: 0 / 0.6041 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.173, allocations: 0 / 0.6041 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.1736, allocations: 201 kB / 0.6042 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.1737, allocations: 96.97 kB / 0.6043 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1737, allocations: 0 / 0.6043 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.1738, allocations: 20.38 kB / 0.6044 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.1739, allocations: 3.984 kB / 0.6044 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.1739, allocations: 4 kB / 0.6044 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.019e-05/0.1739, allocations: 75.28 kB / 0.6044 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1739, allocations: 0 / 0.6044 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002347/0.1742, allocations: 35.98 kB / 0.6045 GB, free: 1.141 MB / 0.4981 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.0002261/0.1744, allocations: 131.2 kB / 0.6046 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003939/0.1748, allocations: 100.1 kB / 0.6047 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1748, allocations: 0 / 0.6047 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.175, allocations: 52.09 kB / 0.6047 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.1752, allocations: 21.41 kB / 0.6048 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.1758, allocations: 230.2 kB / 0.605 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2653/0.4411, allocations: 0.6762 MB / 0.6056 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.4412, allocations: 14.84 kB / 0.6057 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.4412, allocations: 0 / 0.6057 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.002353/0.4436, allocations: 1.131 MB / 0.6068 GB, free: 40.68 MB / 0.4981 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)