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.007136/0.007136, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.00168/0.00168, allocations: 190.5 kB / 16.79 MB, free: 6.254 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.5 MB, free: 4.43 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.9655/0.9655, allocations: 143 MB / 433.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.5142 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1504, allocations: 82.04 MB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00212/0.1526, allocations: 0.8444 MB / 0.5951 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1545, allocations: 1.493 MB / 0.5966 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.1545, allocations: 0 / 0.5966 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.1546, allocations: 4 kB / 0.5966 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.1547, allocations: 3.938 kB / 0.5966 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.1551, allocations: 107.7 kB / 0.5967 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.126e-05/0.1552, allocations: 55.89 kB / 0.5967 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.1552, allocations: 0 / 0.5967 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.1553, allocations: 23.92 kB / 0.5967 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.1554, allocations: 43.81 kB / 0.5968 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1554, allocations: 4 kB / 0.5968 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.1558, allocations: 311.4 kB / 0.5971 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.1558, allocations: 15.97 kB / 0.5971 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.1558, allocations: 19.86 kB / 0.5971 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.1561, allocations: 143.8 kB / 0.5973 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1561, allocations: 4 kB / 0.5973 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1561, allocations: 7.938 kB / 0.5973 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1561, allocations: 0 / 0.5973 GB, free: 6.969 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.0006031/0.1567, allocations: 399.7 kB / 0.5976 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1567, allocations: 8.031 kB / 0.5977 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.1572, allocations: 76.75 kB / 0.5977 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1573, allocations: 172.2 kB / 0.5979 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.1574, allocations: 8.375 kB / 0.5979 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1574, allocations: 4.375 kB / 0.5979 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.1578, allocations: 117.9 kB / 0.598 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1578, allocations: 0 / 0.598 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1578, allocations: 0 / 0.598 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1578, allocations: 4 kB / 0.598 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.1583, allocations: 103.9 kB / 0.5981 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.1589, allocations: 340.5 kB / 0.5984 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.1595, allocations: 154.4 kB / 0.5986 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.1597, allocations: 64.73 kB / 0.5987 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.1598, allocations: 4 kB / 0.5987 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1598, allocations: 30.56 kB / 0.5987 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1598, allocations: 0 / 0.5987 GB, free: 5.352 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.01932/0.1791, allocations: 2.834 MB / 0.6015 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.1792, allocations: 55.34 kB / 0.6015 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1793, allocations: 97.86 kB / 0.6016 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.1794, allocations: 33.7 kB / 0.6016 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.1794, allocations: 91.97 kB / 0.6017 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.1795, allocations: 35.45 kB / 0.6018 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.1797, allocations: 69.58 kB / 0.6018 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1798, allocations: 318.8 kB / 0.6021 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.1805, allocations: 191.8 kB / 0.6023 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/0.1811, allocations: 194.7 kB / 0.6025 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.1825, allocations: 396.5 kB / 0.6029 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1825, allocations: 0 / 0.6029 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001528/0.184, allocations: 473.3 kB / 0.6033 GB, free: 464 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.184, allocations: 8 kB / 0.6033 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.184, allocations: 0 / 0.6033 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1841, allocations: 0 / 0.6033 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/0.1849, allocations: 107.7 kB / 0.6034 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.1849, allocations: 11.88 kB / 0.6034 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/0.1856, allocations: 47.94 kB / 0.6035 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.1857, allocations: 27.92 kB / 0.6035 GB, free: 260 kB / 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.0001633/0.1858, allocations: 109.8 kB / 0.6036 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.1859, allocations: 7.906 kB / 0.6036 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.186, allocations: 15.97 kB / 0.6036 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.186, allocations: 4.094 kB / 0.6036 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.186, allocations: 7.875 kB / 0.6037 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.186, allocations: 4 kB / 0.6037 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2573/0.4433, allocations: 1.032 MB / 0.6047 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4433, allocations: 4.062 kB / 0.6047 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/0.4442, allocations: 108 kB / 0.6048 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.4442, allocations: 3.875 kB / 0.6048 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.4443, allocations: 23.59 kB / 0.6048 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4443, allocations: 0.75 kB / 0.6048 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4443, allocations: 5.984 kB / 0.6048 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.4465, allocations: 0.7858 MB / 0.6056 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.4466, allocations: 122.1 kB / 0.6057 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.4467, allocations: 3.438 kB / 0.6057 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/0.4474, allocations: 47.59 kB / 0.6057 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4475, allocations: 29.12 kB / 0.6058 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.827e-05/0.4476, allocations: 27.03 kB / 0.6058 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.4476, allocations: 84.22 kB / 0.6059 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4476, allocations: 0 / 0.6059 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003946/0.448, allocations: 55.78 kB / 0.6059 GB, free: 43.74 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.0002074/0.4483, allocations: 117.4 kB / 0.606 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.4496, allocations: 416.8 kB / 0.6064 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4496, allocations: 3.312 kB / 0.6064 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006654/0.4503, allocations: 227.3 kB / 0.6067 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.4507, allocations: 10.53 kB / 0.6067 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.455, allocations: 0.8105 MB / 0.6075 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.4551, allocations: 0.6939 MB / 0.6081 GB, free: 42.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.4555, allocations: 75.83 kB / 0.6082 GB, free: 42.73 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.4555, allocations: 0 / 0.6082 GB, free: 42.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.0058/0.4613, allocations: 3.781 MB / 0.6119 GB, free: 42.57 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)