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.001074/0.001074, allocations: 91.06 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.008128/0.008128, allocations: 170.8 kB / 16.26 MB, free: 6.676 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.128/1.128, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004253, allocations: 12 kB / 0.5164 GB, free: 11.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1981, allocations: 83.41 MB / 0.5979 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001052/0.1992, allocations: 499.9 kB / 0.5983 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.2011, allocations: 1.482 MB / 0.5998 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.2012, allocations: 0 / 0.5998 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.2012, allocations: 3.938 kB / 0.5998 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.681e-05/0.2013, allocations: 4 kB / 0.5998 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.2017, allocations: 121.6 kB / 0.5999 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.138e-05/0.2018, allocations: 43.97 kB / 0.5999 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.671e-05/0.2019, allocations: 4 kB / 0.6 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.223e-05/0.202, allocations: 31.91 kB / 0.6 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.979e-05/0.2021, allocations: 35.83 kB / 0.6 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2021, allocations: 4 kB / 0.6 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.2026, allocations: 319.3 kB / 0.6003 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.2026, allocations: 11.98 kB / 0.6003 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.2027, allocations: 45.56 kB / 0.6004 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.203, allocations: 211.5 kB / 0.6006 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.203, allocations: 0 / 0.6006 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.203, allocations: 0 / 0.6006 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.203, allocations: 0 / 0.6006 GB, free: 4.816 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.0006905/0.2037, allocations: 395.7 kB / 0.601 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2037, allocations: 8.031 kB / 0.601 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00047/0.2042, allocations: 88.75 kB / 0.6011 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2043, allocations: 172.3 kB / 0.6012 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.2044, allocations: 8.375 kB / 0.6012 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.2044, allocations: 8.375 kB / 0.6012 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.2048, allocations: 125.8 kB / 0.6014 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2048, allocations: 4 kB / 0.6014 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2048, allocations: 0 / 0.6014 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2049, allocations: 0 / 0.6014 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.2054, allocations: 127.8 kB / 0.6015 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00061/0.206, allocations: 336.7 kB / 0.6018 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.2067, allocations: 194.4 kB / 0.602 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.2069, allocations: 64.81 kB / 0.602 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.2069, allocations: 4 kB / 0.602 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.207, allocations: 34.56 kB / 0.6021 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.946e-06/0.207, allocations: 0 / 0.6021 GB, free: 3.117 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.3664/0.5734, allocations: 3.173 MB / 0.6052 GB, free: 41.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.5734, allocations: 61.11 kB / 0.6052 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.922e-05/0.5735, allocations: 102 kB / 0.6053 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/0.5736, allocations: 27.89 kB / 0.6054 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.5736, allocations: 88.98 kB / 0.6054 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.783e-05/0.5737, allocations: 42.31 kB / 0.6055 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.5738, allocations: 19.31 kB / 0.6055 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.5739, allocations: 317 kB / 0.6058 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.5746, allocations: 218 kB / 0.606 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.5752, allocations: 213.7 kB / 0.6062 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.5766, allocations: 452.8 kB / 0.6067 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5766, allocations: 2.844 kB / 0.6067 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001542/0.5781, allocations: 0.5163 MB / 0.6072 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.5782, allocations: 5.406 kB / 0.6072 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.5782, allocations: 3.75 kB / 0.6072 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.5782, allocations: 3.328 kB / 0.6072 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00082/0.579, allocations: 116.1 kB / 0.6073 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.579, allocations: 2.531 kB / 0.6073 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.5797, allocations: 58.98 kB / 0.6073 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.5797, allocations: 25.78 kB / 0.6074 GB, free: 40.79 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.0001361/0.5799, allocations: 115.8 kB / 0.6075 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.58, allocations: 10.66 kB / 0.6075 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.81e-05/0.58, allocations: 16.09 kB / 0.6075 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.58, allocations: 3.844 kB / 0.6075 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.58, allocations: 0 / 0.6075 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.58, allocations: 0 / 0.6075 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.5821, allocations: 1.1 MB / 0.6086 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5821, allocations: 0 / 0.6086 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/0.583, allocations: 122.8 kB / 0.6087 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.583, allocations: 0 / 0.6087 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.583, allocations: 29.38 kB / 0.6087 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.583, allocations: 4 kB / 0.6087 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.583, allocations: 0 / 0.6087 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.5853, allocations: 0.8667 MB / 0.6096 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.5854, allocations: 116.9 kB / 0.6097 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/0.5855, allocations: 2.531 kB / 0.6097 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.5862, allocations: 58.7 kB / 0.6097 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/0.5863, allocations: 28.95 kB / 0.6098 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.5864, allocations: 25.17 kB / 0.6098 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.5864, allocations: 86.03 kB / 0.6099 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5864, allocations: 3.828 kB / 0.6099 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003637/0.5868, allocations: 49.44 kB / 0.6099 GB, free: 39.77 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.0002004/0.587, allocations: 120.2 kB / 0.61 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.5884, allocations: 468.9 kB / 0.6105 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5884, allocations: 3.562 kB / 0.6105 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007025/0.5891, allocations: 254.8 kB / 0.6107 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.5895, allocations: 11 kB / 0.6107 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.5939, allocations: 0.8754 MB / 0.6116 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.594, allocations: 0.692 MB / 0.6123 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006367/0.5946, allocations: 91.97 kB / 0.6124 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.5949, allocations: 55.75 kB / 0.6124 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.5949, allocations: 0 / 0.6124 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.005358/0.6003, allocations: 3.336 MB / 0.6157 GB, free: 38.54 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)