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.00672/0.00672, allocations: 101 kB / 15.73 MB, free: 6.473 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.001161/0.001161, allocations: 194.1 kB / 16.67 MB, free: 6.379 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.974/0.974, allocations: 143 MB / 433.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.91 kB / 0.5956 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4387, allocations: 82.02 MB / 0.6757 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002136/0.4409, allocations: 0.7714 MB / 0.6764 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.4429, allocations: 1.482 MB / 0.6779 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.4429, allocations: 1.062 kB / 0.6779 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.443, allocations: 3.938 kB / 0.6779 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.443, allocations: 4.875 kB / 0.6779 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.4436, allocations: 145.4 kB / 0.678 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.4437, allocations: 46.83 kB / 0.6781 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.4438, allocations: 8.25 kB / 0.6781 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.374e-05/0.4439, allocations: 27.38 kB / 0.6781 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.444, allocations: 32.41 kB / 0.6781 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.444, allocations: 4.594 kB / 0.6781 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.4445, allocations: 326.4 kB / 0.6785 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.4445, allocations: 11.42 kB / 0.6785 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.4446, allocations: 26.11 kB / 0.6785 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.445, allocations: 211.5 kB / 0.6787 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.445, allocations: 0 / 0.6787 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/0.445, allocations: 1.312 kB / 0.6787 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.445, allocations: 0 / 0.6787 GB, free: 15.18 MB / 0.5137 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.000765/0.4458, allocations: 406.8 kB / 0.6791 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4459, allocations: 10.94 kB / 0.6791 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005248/0.4464, allocations: 72.59 kB / 0.6792 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.4466, allocations: 168.6 kB / 0.6793 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.4467, allocations: 7.625 kB / 0.6793 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.4467, allocations: 8.812 kB / 0.6793 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.4472, allocations: 110.7 kB / 0.6794 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.4472, allocations: 0 / 0.6794 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.4472, allocations: 5.125 kB / 0.6794 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4473, allocations: 1.062 kB / 0.6794 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.4478, allocations: 99.14 kB / 0.6795 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.4484, allocations: 341.3 kB / 0.6799 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.4491, allocations: 152.7 kB / 0.68 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.4493, allocations: 65.39 kB / 0.6801 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.4494, allocations: 5.297 kB / 0.6801 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.4494, allocations: 31.69 kB / 0.6801 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.4494, allocations: 1.219 kB / 0.6801 GB, free: 13.91 MB / 0.5137 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.01965/0.469, allocations: 2.839 MB / 0.6829 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.4691, allocations: 56.97 kB / 0.6829 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.4692, allocations: 103.8 kB / 0.683 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.4693, allocations: 25.7 kB / 0.6831 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.4694, allocations: 94.31 kB / 0.6832 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.4694, allocations: 39.36 kB / 0.6832 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.4696, allocations: 69.33 kB / 0.6833 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4698, allocations: 321.5 kB / 0.6836 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000681/0.4705, allocations: 192.7 kB / 0.6837 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006252/0.4711, allocations: 192.3 kB / 0.6839 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.4724, allocations: 397 kB / 0.6843 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4724, allocations: 0 / 0.6843 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001545/0.474, allocations: 476.9 kB / 0.6848 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.474, allocations: 7.781 kB / 0.6848 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.474, allocations: 0 / 0.6848 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.474, allocations: 5.188 kB / 0.6848 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008459/0.4749, allocations: 105.5 kB / 0.6849 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4749, allocations: 5.156 kB / 0.6849 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.4756, allocations: 45.62 kB / 0.6849 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.35e-05/0.4756, allocations: 30.7 kB / 0.685 GB, free: 10.77 MB / 0.5137 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.0001828/0.4758, allocations: 116.3 kB / 0.6851 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.4759, allocations: 11.38 kB / 0.6851 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.476, allocations: 9.125 kB / 0.6851 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.476, allocations: 1.312 kB / 0.6851 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.476, allocations: 3.938 kB / 0.6851 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.476, allocations: 1.406 kB / 0.6851 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.4783, allocations: 1.052 MB / 0.6861 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4783, allocations: 4 kB / 0.6861 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.4791, allocations: 109.2 kB / 0.6862 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-06/0.4791, allocations: 3.938 kB / 0.6862 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.4792, allocations: 20.88 kB / 0.6862 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4792, allocations: 8.859 kB / 0.6863 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4792, allocations: 1.469 kB / 0.6863 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.4816, allocations: 0.7899 MB / 0.687 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.4818, allocations: 119.2 kB / 0.6871 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.4818, allocations: 5.109 kB / 0.6871 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007019/0.4826, allocations: 42.59 kB / 0.6872 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4827, allocations: 34.83 kB / 0.6872 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.4827, allocations: 22.78 kB / 0.6872 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.4828, allocations: 77.94 kB / 0.6873 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4828, allocations: 0 / 0.6873 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004102/0.4832, allocations: 55.25 kB / 0.6874 GB, free: 8.879 MB / 0.5137 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.000246/0.4835, allocations: 120.3 kB / 0.6875 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.4849, allocations: 423.6 kB / 0.6879 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4849, allocations: 5.281 kB / 0.6879 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.4857, allocations: 220.4 kB / 0.6881 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.4861, allocations: 12.8 kB / 0.6881 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.4905, allocations: 0.7605 MB / 0.6889 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.4908, allocations: 0.6918 MB / 0.6895 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005/0.4913, allocations: 88.42 kB / 0.6896 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.4916, allocations: 55.23 kB / 0.6897 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.4916, allocations: 0 / 0.6897 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of Templates: time 0.007318/0.4989, allocations: 3.571 MB / 0.6932 GB, free: 4.051 MB / 0.5137 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)