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.0008469/0.0008469, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.00805/0.00805, allocations: 173.2 kB / 16.26 MB, free: 6.613 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.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.088/1.088, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 12 kB / 0.5164 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1964, allocations: 83.41 MB / 0.5979 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007681/0.1972, allocations: 335 kB / 0.5982 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1991, allocations: 1.451 MB / 0.5996 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.1992, allocations: 0 / 0.5996 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.1992, allocations: 4 kB / 0.5996 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.1992, allocations: 7.938 kB / 0.5996 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.1996, allocations: 103.7 kB / 0.5997 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.851e-05/0.1997, allocations: 27.97 kB / 0.5997 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.1998, allocations: 4 kB / 0.5997 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.1998, allocations: 23.92 kB / 0.5998 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.1999, allocations: 19.97 kB / 0.5998 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1999, allocations: 4 kB / 0.5998 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.2004, allocations: 319.3 kB / 0.6001 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.2004, allocations: 3.984 kB / 0.6001 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.2004, allocations: 41.62 kB / 0.6001 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.2007, allocations: 187.6 kB / 0.6003 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2007, allocations: 0 / 0.6003 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2007, allocations: 0 / 0.6003 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.2007, allocations: 3.938 kB / 0.6003 GB, free: 5.227 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.0005019/0.2012, allocations: 359.8 kB / 0.6007 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2013, allocations: 12.03 kB / 0.6007 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004868/0.2018, allocations: 80.75 kB / 0.6007 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2019, allocations: 164.4 kB / 0.6009 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.202, allocations: 4.375 kB / 0.6009 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.202, allocations: 4.359 kB / 0.6009 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.2023, allocations: 85.94 kB / 0.601 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2023, allocations: 0 / 0.601 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.2023, allocations: 4 kB / 0.601 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2023, allocations: 0 / 0.601 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.2026, allocations: 79.92 kB / 0.6011 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.2028, allocations: 169.6 kB / 0.6012 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.2035, allocations: 142.6 kB / 0.6014 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.2036, allocations: 52.91 kB / 0.6014 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004878/0.2041, allocations: 177 kB / 0.6016 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2042, allocations: 34.5 kB / 0.6016 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2042, allocations: 3.938 kB / 0.6016 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.00122/0.2054, allocations: 438.2 kB / 0.602 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.2055, allocations: 51.41 kB / 0.6021 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.001e-05/0.2055, allocations: 93.84 kB / 0.6022 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2056, allocations: 33.7 kB / 0.6022 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.2056, allocations: 84.27 kB / 0.6023 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.2056, allocations: 15.69 kB / 0.6023 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.2057, allocations: 17.72 kB / 0.6023 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2058, allocations: 314.8 kB / 0.6026 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.206, allocations: 43.97 kB / 0.6027 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.2061, allocations: 39.97 kB / 0.6027 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.2064, allocations: 84.98 kB / 0.6028 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2065, allocations: 7.938 kB / 0.6028 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003666/0.2068, allocations: 137.5 kB / 0.6029 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2069, allocations: 8 kB / 0.6029 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2069, allocations: 0 / 0.6029 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2069, allocations: 0 / 0.6029 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.207, allocations: 27.92 kB / 0.603 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2071, allocations: 4 kB / 0.603 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2072, allocations: 15.97 kB / 0.603 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.2072, allocations: 4 kB / 0.603 GB, free: 2.203 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 7.648e-05/0.2073, allocations: 109.8 kB / 0.6031 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.2073, allocations: 7.938 kB / 0.6031 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/0.2078, allocations: 145.2 kB / 0.6032 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2078, allocations: 0 / 0.6032 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2078, allocations: 0 / 0.6032 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2078, allocations: 4 kB / 0.6032 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.2079, allocations: 169.7 kB / 0.6034 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2079, allocations: 3.938 kB / 0.6034 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.2081, allocations: 27.92 kB / 0.6034 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2081, allocations: 0 / 0.6034 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2081, allocations: 3.984 kB / 0.6034 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2081, allocations: 0 / 0.6034 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2081, allocations: 8 kB / 0.6034 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.2087, allocations: 205 kB / 0.6036 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.649e-05/0.2088, allocations: 88.94 kB / 0.6037 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.2088, allocations: 4.031 kB / 0.6037 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.209, allocations: 12.5 kB / 0.6037 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.209, allocations: 11.98 kB / 0.6037 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.209, allocations: 8 kB / 0.6038 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.807e-05/0.2091, allocations: 83.28 kB / 0.6038 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2091, allocations: 0 / 0.6038 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002331/0.2093, allocations: 27.98 kB / 0.6039 GB, free: 1.203 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.0002234/0.2095, allocations: 131.2 kB / 0.604 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.2099, allocations: 96.02 kB / 0.6041 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2099, allocations: 0 / 0.6041 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.2101, allocations: 55.91 kB / 0.6041 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.2103, allocations: 14.73 kB / 0.6041 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.2109, allocations: 212.6 kB / 0.6043 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3059/0.5168, allocations: 0.6767 MB / 0.605 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.517, allocations: 14.73 kB / 0.605 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.5171, allocations: 14.69 kB / 0.605 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.5171, allocations: 0 / 0.605 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.003268/0.5203, allocations: 1.132 MB / 0.6061 GB, free: 40.82 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)