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.0009463/0.0009462, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 174.5 kB / 16.92 MB, free: 6.652 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.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.9683/0.9683, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003009, allocations: 8 kB / 0.5171 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1716, allocations: 83.41 MB / 0.5985 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001084/0.1727, allocations: 0.4967 MB / 0.599 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1747, allocations: 1.482 MB / 0.6004 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.1747, allocations: 0 / 0.6004 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.1747, allocations: 7.922 kB / 0.6005 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.1748, allocations: 4 kB / 0.6005 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.1752, allocations: 107.7 kB / 0.6006 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.435e-05/0.1753, allocations: 47.95 kB / 0.6006 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.1754, allocations: 4 kB / 0.6006 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.332e-05/0.1754, allocations: 31.91 kB / 0.6006 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.1755, allocations: 31.84 kB / 0.6007 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1755, allocations: 7.984 kB / 0.6007 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.176, allocations: 315.3 kB / 0.601 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.176, allocations: 15.98 kB / 0.601 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.176, allocations: 45.56 kB / 0.601 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1763, allocations: 147.8 kB / 0.6012 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1763, allocations: 0 / 0.6012 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1763, allocations: 0 / 0.6012 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.1763, allocations: 4 kB / 0.6012 GB, free: 4.906 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.0006312/0.1769, allocations: 391.7 kB / 0.6016 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.177, allocations: 8.031 kB / 0.6016 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004653/0.1774, allocations: 92.69 kB / 0.6017 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1776, allocations: 164.3 kB / 0.6018 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.1776, allocations: 16.36 kB / 0.6018 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.1776, allocations: 4.375 kB / 0.6018 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.1781, allocations: 136.3 kB / 0.602 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1781, allocations: 4 kB / 0.602 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1781, allocations: 0 / 0.602 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1781, allocations: 0 / 0.602 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.1786, allocations: 123.9 kB / 0.6021 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.1793, allocations: 332.7 kB / 0.6024 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.18, allocations: 190.4 kB / 0.6026 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.1802, allocations: 68.75 kB / 0.6026 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1802, allocations: 0 / 0.6026 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1803, allocations: 42.56 kB / 0.6027 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1803, allocations: 0 / 0.6027 GB, free: 3.207 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.2974/0.4777, allocations: 3.171 MB / 0.6058 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.4778, allocations: 64.88 kB / 0.6058 GB, free: 41.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.4779, allocations: 98.78 kB / 0.6059 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/0.4779, allocations: 28.55 kB / 0.606 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.478, allocations: 90.45 kB / 0.6061 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.4781, allocations: 41.5 kB / 0.6061 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.4781, allocations: 18.58 kB / 0.6061 GB, free: 41.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.4782, allocations: 318.6 kB / 0.6064 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/0.4789, allocations: 217.7 kB / 0.6066 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.4795, allocations: 217.7 kB / 0.6068 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.4808, allocations: 442 kB / 0.6073 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4808, allocations: 0 / 0.6073 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001428/0.4823, allocations: 0.5176 MB / 0.6078 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4823, allocations: 9.875 kB / 0.6078 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4823, allocations: 0 / 0.6078 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.4823, allocations: 0 / 0.6078 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007929/0.4831, allocations: 123.7 kB / 0.6079 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.4831, allocations: 0 / 0.6079 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.4838, allocations: 61.95 kB / 0.6079 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.4838, allocations: 22.77 kB / 0.608 GB, free: 40.68 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.0001278/0.4839, allocations: 112.2 kB / 0.6081 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.484, allocations: 10.59 kB / 0.6081 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.4841, allocations: 20.22 kB / 0.6081 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4841, allocations: 3.844 kB / 0.6081 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4841, allocations: 0 / 0.6081 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4841, allocations: 2.844 kB / 0.6081 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.486, allocations: 1.095 MB / 0.6092 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4861, allocations: 2.781 kB / 0.6092 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/0.4868, allocations: 124.1 kB / 0.6093 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4869, allocations: 0 / 0.6093 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.4869, allocations: 24.14 kB / 0.6093 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4869, allocations: 0.875 kB / 0.6093 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4869, allocations: 4 kB / 0.6093 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.4891, allocations: 0.8691 MB / 0.6102 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.4892, allocations: 121.1 kB / 0.6103 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.4893, allocations: 0 / 0.6103 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006764/0.49, allocations: 61.27 kB / 0.6103 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.4901, allocations: 29.48 kB / 0.6104 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.4901, allocations: 22.5 kB / 0.6104 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.579e-05/0.4901, allocations: 86.02 kB / 0.6105 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.4901, allocations: 0 / 0.6105 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003492/0.4905, allocations: 51.53 kB / 0.6105 GB, free: 39.66 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.0001955/0.4907, allocations: 118.1 kB / 0.6106 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.4921, allocations: 472.5 kB / 0.6111 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4921, allocations: 4 kB / 0.6111 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.4928, allocations: 254.1 kB / 0.6113 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.4931, allocations: 17.8 kB / 0.6114 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.4974, allocations: 0.8891 MB / 0.6122 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.4975, allocations: 0.6954 MB / 0.6129 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.4978, allocations: 83.11 kB / 0.613 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.4979, allocations: 0.5625 kB / 0.613 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.004814/0.5027, allocations: 3.806 MB / 0.6167 GB, free: 38.44 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)