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.001077/0.001077, allocations: 108.4 kB / 15.99 MB, free: 6.348 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.001149/0.001149, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.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.9137/0.9137, allocations: 143.1 MB / 433.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.91 kB / 0.5143 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3095, allocations: 82.03 MB / 0.5944 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001907/0.3114, allocations: 0.8422 MB / 0.5953 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3128, allocations: 1.467 MB / 0.5967 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.3129, allocations: 0 / 0.5967 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.579e-05/0.3129, allocations: 5.438 kB / 0.5967 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.313, allocations: 3.938 kB / 0.5967 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.3135, allocations: 132.1 kB / 0.5968 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.3136, allocations: 53.06 kB / 0.5969 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.3136, allocations: 0 / 0.5969 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.878e-05/0.3137, allocations: 31.91 kB / 0.5969 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.3137, allocations: 28.78 kB / 0.5969 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3138, allocations: 7.938 kB / 0.597 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.3141, allocations: 324.7 kB / 0.5973 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.3142, allocations: 11.98 kB / 0.5973 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.3142, allocations: 27.84 kB / 0.5973 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3144, allocations: 143.8 kB / 0.5974 GB, free: 13.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3144, allocations: 1.438 kB / 0.5974 GB, free: 13.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3144, allocations: 0 / 0.5974 GB, free: 13.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3144, allocations: 0 / 0.5974 GB, free: 13.3 MB / 446.1 MB 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.0005265/0.315, allocations: 407.5 kB / 0.5978 GB, free: 12.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.315, allocations: 8.031 kB / 0.5978 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.3154, allocations: 68.33 kB / 0.5979 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.958e-05/0.3155, allocations: 177.7 kB / 0.5981 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.3156, allocations: 8.375 kB / 0.5981 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.3156, allocations: 8.312 kB / 0.5981 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.3159, allocations: 114.5 kB / 0.5982 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3159, allocations: 0 / 0.5982 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.316, allocations: 0 / 0.5982 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.316, allocations: 4 kB / 0.5982 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.3164, allocations: 98.48 kB / 0.5983 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.3169, allocations: 346.9 kB / 0.5986 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.3175, allocations: 148.6 kB / 0.5988 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.3177, allocations: 51.38 kB / 0.5988 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3177, allocations: 12.08 kB / 0.5988 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.3178, allocations: 40.03 kB / 0.5989 GB, free: 11.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.3178, allocations: 0 / 0.5989 GB, free: 11.71 MB / 446.1 MB 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.01855/0.3363, allocations: 2.832 MB / 0.6016 GB, free: 8.863 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.3364, allocations: 59.34 kB / 0.6017 GB, free: 8.793 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.3365, allocations: 97.86 kB / 0.6018 GB, free: 8.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.3365, allocations: 25.7 kB / 0.6018 GB, free: 8.656 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.3366, allocations: 100 kB / 0.6019 GB, free: 8.555 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.73e-05/0.3366, allocations: 39.39 kB / 0.6019 GB, free: 8.516 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.3368, allocations: 69.58 kB / 0.602 GB, free: 8.441 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.3368, allocations: 314.8 kB / 0.6023 GB, free: 8.125 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.3374, allocations: 191.8 kB / 0.6025 GB, free: 7.938 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.338, allocations: 195.8 kB / 0.6027 GB, free: 7.746 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3392, allocations: 388.5 kB / 0.603 GB, free: 7.363 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3392, allocations: 3.938 kB / 0.603 GB, free: 7.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001363/0.3406, allocations: 478.5 kB / 0.6035 GB, free: 6.887 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3406, allocations: 5.875 kB / 0.6035 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3406, allocations: 4 kB / 0.6035 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3406, allocations: 4 kB / 0.6035 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.3415, allocations: 103.8 kB / 0.6036 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3415, allocations: 8 kB / 0.6036 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.3421, allocations: 47.94 kB / 0.6037 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.3422, allocations: 19.94 kB / 0.6037 GB, free: 6.699 MB / 446.1 MB 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.0001426/0.3423, allocations: 125.8 kB / 0.6038 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.381e-05/0.3424, allocations: 7.906 kB / 0.6038 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.3425, allocations: 12.16 kB / 0.6038 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3425, allocations: 7.984 kB / 0.6038 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3425, allocations: 3.938 kB / 0.6038 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3425, allocations: 0 / 0.6038 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.3444, allocations: 1.047 MB / 0.6049 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3444, allocations: 0 / 0.6049 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/0.3453, allocations: 111.7 kB / 0.605 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3453, allocations: 3.938 kB / 0.605 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.056e-05/0.3453, allocations: 19.94 kB / 0.605 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3453, allocations: 0 / 0.605 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3453, allocations: 3.984 kB / 0.605 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.3474, allocations: 0.7926 MB / 0.6058 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3475, allocations: 121 kB / 0.6059 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.3476, allocations: 3.938 kB / 0.6059 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/0.3483, allocations: 55.98 kB / 0.6059 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.3484, allocations: 27.86 kB / 0.606 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.3485, allocations: 23.94 kB / 0.606 GB, free: 4.184 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.3485, allocations: 83.28 kB / 0.6061 GB, free: 4.102 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3485, allocations: 0 / 0.6061 GB, free: 4.102 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.3489, allocations: 48 kB / 0.6061 GB, free: 4.055 MB / 446.1 MB 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.0001927/0.3491, allocations: 119.2 kB / 0.6062 GB, free: 3.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.3504, allocations: 423.4 kB / 0.6066 GB, free: 3.516 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3504, allocations: 0 / 0.6066 GB, free: 3.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006404/0.3511, allocations: 232.6 kB / 0.6069 GB, free: 3.289 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3515, allocations: 12 kB / 0.6069 GB, free: 3.277 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.3556, allocations: 0.8006 MB / 0.6076 GB, free: 2.438 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3557, allocations: 0.6961 MB / 0.6083 GB, free: 1.715 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/0.3561, allocations: 83.23 kB / 0.6084 GB, free: 1.633 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3561, allocations: 0 / 0.6084 GB, free: 1.633 MB / 446.1 MB Notification: Performance of Templates: time 0.005529/0.3616, allocations: 3.784 MB / 0.6121 GB, free: 13.84 MB / 462.1 MB 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)