Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001033, allocations: 100.3 kB / 16.35 MB, free: 5.828 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.001026/0.001026, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 4.184 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 1.028/1.028, allocations: 143 MB / 434.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.5156 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1592, allocations: 82.03 MB / 0.5957 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001964/0.1612, allocations: 0.7806 MB / 0.5965 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1629, allocations: 1.474 MB / 0.5979 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.1629, allocations: 8 kB / 0.5979 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.1629, allocations: 7.922 kB / 0.5979 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.03e-05/0.163, allocations: 3.938 kB / 0.5979 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.1635, allocations: 139.5 kB / 0.5981 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.007e-05/0.1636, allocations: 47.95 kB / 0.5981 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.1636, allocations: 4 kB / 0.5981 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.1637, allocations: 31.91 kB / 0.5981 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.1637, allocations: 31.83 kB / 0.5982 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1638, allocations: 7.938 kB / 0.5982 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.1642, allocations: 319.4 kB / 0.5985 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.1642, allocations: 15.98 kB / 0.5985 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.1642, allocations: 19.86 kB / 0.5985 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.1645, allocations: 219.5 kB / 0.5987 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1646, allocations: 8 kB / 0.5987 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1646, allocations: 0 / 0.5987 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.1646, allocations: 0 / 0.5987 GB, free: 5.758 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000556/0.1651, allocations: 391.4 kB / 0.5991 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1652, allocations: 12.62 kB / 0.5991 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.1656, allocations: 76.73 kB / 0.5992 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.1657, allocations: 168.3 kB / 0.5993 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.1658, allocations: 4.375 kB / 0.5994 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1658, allocations: 8.375 kB / 0.5994 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.1661, allocations: 113.9 kB / 0.5995 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1661, allocations: 4 kB / 0.5995 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1662, allocations: 0 / 0.5995 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1662, allocations: 3.938 kB / 0.5995 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.1666, allocations: 103.3 kB / 0.5996 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.1671, allocations: 344.5 kB / 0.5999 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.1678, allocations: 158.4 kB / 0.6001 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.168, allocations: 56.81 kB / 0.6001 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.168, allocations: 4.141 kB / 0.6001 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.168, allocations: 34.56 kB / 0.6001 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.168, allocations: 0 / 0.6001 GB, free: 4.148 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.0176/0.1856, allocations: 2.833 MB / 0.6029 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1857, allocations: 55.34 kB / 0.603 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/0.1858, allocations: 101.8 kB / 0.6031 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.1858, allocations: 29.7 kB / 0.6031 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.1859, allocations: 91.92 kB / 0.6032 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.186, allocations: 39.45 kB / 0.6032 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.1861, allocations: 69.58 kB / 0.6033 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.1862, allocations: 314.8 kB / 0.6036 GB, free: 500 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/0.1868, allocations: 199.7 kB / 0.6038 GB, free: 300 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.1875, allocations: 187.8 kB / 0.604 GB, free: 112 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.255/0.4425, allocations: 390.4 kB / 0.6043 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4425, allocations: 1.344 kB / 0.6043 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001385/0.4439, allocations: 471.9 kB / 0.6048 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.444, allocations: 7.438 kB / 0.6048 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.444, allocations: 2.594 kB / 0.6048 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.444, allocations: 0 / 0.6048 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008134/0.4448, allocations: 115.2 kB / 0.6049 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4448, allocations: 6.375 kB / 0.6049 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.4454, allocations: 40.08 kB / 0.6049 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.4455, allocations: 28.89 kB / 0.605 GB, free: 44.23 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 (13): * Single equations (assignments): 13 * 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.0001337/0.4456, allocations: 119.6 kB / 0.6051 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/0.4457, allocations: 6.125 kB / 0.6051 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.4458, allocations: 10.44 kB / 0.6051 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4458, allocations: 5.219 kB / 0.6051 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4458, allocations: 0 / 0.6051 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4458, allocations: 3.188 kB / 0.6051 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.4477, allocations: 1.044 MB / 0.6061 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4477, allocations: 0.5 kB / 0.6061 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/0.4484, allocations: 103.6 kB / 0.6062 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4485, allocations: 2.875 kB / 0.6062 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.4485, allocations: 25.55 kB / 0.6062 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4485, allocations: 4.969 kB / 0.6063 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4485, allocations: 2.875 kB / 0.6063 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.4505, allocations: 0.7948 MB / 0.607 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.4507, allocations: 123.2 kB / 0.6072 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.4507, allocations: 4.438 kB / 0.6072 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006544/0.4514, allocations: 48.69 kB / 0.6072 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.4515, allocations: 26.55 kB / 0.6072 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/0.4516, allocations: 29.11 kB / 0.6073 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.4516, allocations: 78.88 kB / 0.6073 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4516, allocations: 0 / 0.6073 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003772/0.452, allocations: 53.97 kB / 0.6074 GB, free: 43.29 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001871/0.4522, allocations: 113 kB / 0.6075 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.4535, allocations: 425.3 kB / 0.6079 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4535, allocations: 3.125 kB / 0.6079 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006338/0.4542, allocations: 223.8 kB / 0.6081 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.4545, allocations: 10.3 kB / 0.6081 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.4585, allocations: 0.765 MB / 0.6089 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.4586, allocations: 0.6928 MB / 0.6095 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004529/0.4591, allocations: 91.8 kB / 0.6096 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.4593, allocations: 55.11 kB / 0.6097 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.4593, allocations: 0 / 0.6097 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.006082/0.4654, allocations: 3.471 MB / 0.6131 GB, free: 42.12 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)