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.0007015/0.0007015, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0007484/0.0007484, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 223.3 MB / 240 MB, free: 5.336 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.8756/0.8756, allocations: 143.2 MB / 434.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 12 kB / 0.5158 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 83.41 MB / 0.5973 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006034/0.1309, allocations: 330.9 kB / 0.5976 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1325, allocations: 1.385 MB / 0.5989 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.97e-05/0.1325, allocations: 0 / 0.5989 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.04e-05/0.1325, allocations: 3.938 kB / 0.5989 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.525e-05/0.1325, allocations: 0 / 0.5989 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.1329, allocations: 103.7 kB / 0.599 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.808e-05/0.133, allocations: 31.89 kB / 0.5991 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.133, allocations: 0 / 0.5991 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.1331, allocations: 15.98 kB / 0.5991 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.1332, allocations: 27.91 kB / 0.5991 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1332, allocations: 0 / 0.5991 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.1336, allocations: 307.4 kB / 0.5994 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.1336, allocations: 3.984 kB / 0.5994 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.1336, allocations: 33.7 kB / 0.5994 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1338, allocations: 131.9 kB / 0.5996 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1338, allocations: 0 / 0.5996 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1338, allocations: 0 / 0.5996 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.1338, allocations: 0 / 0.5996 GB, free: 5.723 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.0003905/0.1342, allocations: 359.6 kB / 0.5999 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.1343, allocations: 8.031 kB / 0.5999 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.1347, allocations: 91.81 kB / 0.6 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1348, allocations: 167 kB / 0.6002 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1348, allocations: 0 / 0.6002 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1348, allocations: 4 kB / 0.6002 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.135, allocations: 81.62 kB / 0.6002 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1351, allocations: 7.922 kB / 0.6002 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1351, allocations: 0 / 0.6002 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1351, allocations: 4 kB / 0.6003 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.1354, allocations: 71.94 kB / 0.6003 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.1355, allocations: 173.5 kB / 0.6005 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.136, allocations: 146.5 kB / 0.6006 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.1362, allocations: 48.92 kB / 0.6007 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003801/0.1366, allocations: 173 kB / 0.6008 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1366, allocations: 38.55 kB / 0.6009 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1366, allocations: 0 / 0.6009 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0009618/0.1376, allocations: 442.2 kB / 0.6013 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1376, allocations: 51.41 kB / 0.6013 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.806e-05/0.1377, allocations: 93.86 kB / 0.6014 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1377, allocations: 29.7 kB / 0.6015 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.1377, allocations: 84.14 kB / 0.6015 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.1378, allocations: 15.73 kB / 0.6016 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.1378, allocations: 0 / 0.6016 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.1379, allocations: 322.8 kB / 0.6019 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.138, allocations: 40.09 kB / 0.6019 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1381, allocations: 39.97 kB / 0.6019 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.1383, allocations: 47.91 kB / 0.602 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1383, allocations: 0 / 0.602 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002977/0.1386, allocations: 125.5 kB / 0.6021 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1386, allocations: 8 kB / 0.6021 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1386, allocations: 0 / 0.6021 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1386, allocations: 4 kB / 0.6021 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1387, allocations: 27.97 kB / 0.6021 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1388, allocations: 4 kB / 0.6021 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.837e-05/0.1388, allocations: 15.98 kB / 0.6022 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1389, allocations: 4 kB / 0.6022 GB, free: 2.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.1389, allocations: 109.8 kB / 0.6023 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.1389, allocations: 7.938 kB / 0.6023 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.1393, allocations: 149.2 kB / 0.6024 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1394, allocations: 0 / 0.6024 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1394, allocations: 3.938 kB / 0.6024 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1394, allocations: 0 / 0.6024 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1395, allocations: 165.6 kB / 0.6026 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1395, allocations: 4 kB / 0.6026 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1396, allocations: 27.97 kB / 0.6026 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1396, allocations: 4 kB / 0.6026 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1397, allocations: 4 kB / 0.6026 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1397, allocations: 3.938 kB / 0.6026 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1397, allocations: 0 / 0.6026 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.1402, allocations: 213.2 kB / 0.6028 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.1402, allocations: 89.03 kB / 0.6029 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1402, allocations: 4 kB / 0.6029 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.1403, allocations: 20.05 kB / 0.6029 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.1404, allocations: 4.328 kB / 0.6029 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.1404, allocations: 0 / 0.6029 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.1404, allocations: 83.27 kB / 0.603 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1404, allocations: 0 / 0.603 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002036/0.1406, allocations: 32 kB / 0.6031 GB, free: 1.766 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.1408, allocations: 127.3 kB / 0.6032 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1411, allocations: 99.86 kB / 0.6033 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1411, allocations: 0 / 0.6033 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1413, allocations: 47.97 kB / 0.6033 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.1414, allocations: 18.75 kB / 0.6033 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.1419, allocations: 197.6 kB / 0.6035 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.1421, allocations: 0.6809 MB / 0.6042 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.1422, allocations: 19.98 kB / 0.6042 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.1423, allocations: 19.36 kB / 0.6042 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1423, allocations: 0 / 0.6042 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of Templates: time 0.2118/0.3541, allocations: 1.105 MB / 0.6053 GB, free: 40.69 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)