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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001178/0.001178, allocations: 195 kB / 16.14 MB, free: 6.656 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.069/1.069, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 63.91 kB / 0.5135 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1901, allocations: 82.04 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002589/0.1927, allocations: 0.8348 MB / 0.5944 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002563/0.1953, allocations: 1.497 MB / 0.5959 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.1954, allocations: 0 / 0.5959 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.565e-05/0.1955, allocations: 0 / 0.5959 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.1956, allocations: 3.938 kB / 0.5959 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008219/0.1964, allocations: 117.4 kB / 0.596 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1965, allocations: 43.91 kB / 0.5961 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.064e-05/0.1966, allocations: 7.984 kB / 0.5961 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1967, allocations: 27.91 kB / 0.5961 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1969, allocations: 35.78 kB / 0.5961 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1969, allocations: 4 kB / 0.5961 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007368/0.1977, allocations: 323.3 kB / 0.5964 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.1977, allocations: 11.98 kB / 0.5964 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.1978, allocations: 27.84 kB / 0.5965 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.1984, allocations: 203.6 kB / 0.5967 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.1984, allocations: 0 / 0.5967 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.816e-06/0.1984, allocations: 0 / 0.5967 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.1984, allocations: 0 / 0.5967 GB, free: 6.938 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.001075/0.1995, allocations: 411.7 kB / 0.5971 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.049e-05/0.1996, allocations: 8.031 kB / 0.5971 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/0.2002, allocations: 68.77 kB / 0.5971 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.2005, allocations: 176.2 kB / 0.5973 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.2005, allocations: 8.375 kB / 0.5973 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.2006, allocations: 4.375 kB / 0.5973 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.201, allocations: 109.9 kB / 0.5974 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.2011, allocations: 4 kB / 0.5974 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.2011, allocations: 7.984 kB / 0.5974 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2011, allocations: 4 kB / 0.5974 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.2016, allocations: 99.89 kB / 0.5975 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.2023, allocations: 336.5 kB / 0.5979 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.203, allocations: 154.4 kB / 0.598 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.2032, allocations: 56.75 kB / 0.5981 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2032, allocations: 8 kB / 0.5981 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.2033, allocations: 42.48 kB / 0.5981 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.2033, allocations: 0 / 0.5981 GB, free: 5.309 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.01919/0.2225, allocations: 2.823 MB / 0.6009 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.2226, allocations: 59.34 kB / 0.6009 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2227, allocations: 97.86 kB / 0.601 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.2228, allocations: 29.7 kB / 0.601 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.2228, allocations: 99.97 kB / 0.6011 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/0.2229, allocations: 35.45 kB / 0.6012 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.2231, allocations: 69.58 kB / 0.6012 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2233, allocations: 314.8 kB / 0.6015 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.224, allocations: 187.8 kB / 0.6017 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/0.2246, allocations: 195.8 kB / 0.6019 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.2259, allocations: 398.7 kB / 0.6023 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2259, allocations: 96 / 0.6023 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001548/0.2275, allocations: 485.1 kB / 0.6027 GB, free: 416 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2275, allocations: 4 kB / 0.6027 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2275, allocations: 0 / 0.6027 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2276, allocations: 4 kB / 0.6027 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.2284, allocations: 107.7 kB / 0.6029 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.2285, allocations: 3.938 kB / 0.6029 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.2291, allocations: 47.94 kB / 0.6029 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.2292, allocations: 23.94 kB / 0.6029 GB, free: 224 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.0002134/0.2294, allocations: 117.8 kB / 0.603 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.2295, allocations: 7.906 kB / 0.603 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.2296, allocations: 11.97 kB / 0.6031 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.2296, allocations: 4 kB / 0.6031 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.2296, allocations: 3.938 kB / 0.6031 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2296, allocations: 0 / 0.6031 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3598/0.5895, allocations: 1.037 MB / 0.6041 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5895, allocations: 0 / 0.6041 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/0.5904, allocations: 106.8 kB / 0.6042 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.5904, allocations: 3.375 kB / 0.6042 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.969e-05/0.5905, allocations: 26.84 kB / 0.6042 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.5905, allocations: 4.031 kB / 0.6042 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5905, allocations: 0 / 0.6042 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.5927, allocations: 0.7904 MB / 0.605 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.5928, allocations: 124 kB / 0.6051 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.5929, allocations: 4 kB / 0.6051 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007185/0.5936, allocations: 48.89 kB / 0.6051 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/0.5937, allocations: 30.95 kB / 0.6052 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/0.5938, allocations: 23.06 kB / 0.6052 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.5938, allocations: 78.28 kB / 0.6053 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5938, allocations: 2.438 kB / 0.6053 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003941/0.5942, allocations: 51.56 kB / 0.6053 GB, free: 43.85 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.0002386/0.5945, allocations: 123.7 kB / 0.6054 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.5958, allocations: 419 kB / 0.6058 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5958, allocations: 0 / 0.6058 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006518/0.5965, allocations: 226.3 kB / 0.6061 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.5969, allocations: 12.47 kB / 0.6061 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.6011, allocations: 0.7799 MB / 0.6068 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.6012, allocations: 0.6994 MB / 0.6075 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006688/0.6019, allocations: 87.11 kB / 0.6076 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.6021, allocations: 57.48 kB / 0.6077 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of SimCode: time 9.11e-07/0.6022, allocations: 0 / 0.6077 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.005385/0.6075, allocations: 3.325 MB / 0.6109 GB, free: 42.68 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)