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.001475/0.001476, allocations: 117 kB / 16.37 MB, free: 6.012 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.001826/0.001827, allocations: 191.8 kB / 17.31 MB, free: 5.613 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.14 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.8576/0.8576, allocations: 143 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3583, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002005/0.3603, allocations: 0.7851 MB / 0.5965 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3617, allocations: 1.475 MB / 0.5979 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.3617, allocations: 0 / 0.5979 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.3618, allocations: 3.938 kB / 0.5979 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.421e-05/0.3618, allocations: 3.938 kB / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.3623, allocations: 142.8 kB / 0.5981 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.3624, allocations: 51.64 kB / 0.5981 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.3624, allocations: 5.156 kB / 0.5981 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.3625, allocations: 27.92 kB / 0.5981 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.3625, allocations: 43.81 kB / 0.5982 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.3626, allocations: 4.812 kB / 0.5982 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.3629, allocations: 307.4 kB / 0.5985 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.3629, allocations: 20.81 kB / 0.5985 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.363, allocations: 23.86 kB / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3632, allocations: 213 kB / 0.5987 GB, free: 13.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3633, allocations: 0 / 0.5987 GB, free: 13.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3633, allocations: 0 / 0.5987 GB, free: 13.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3633, allocations: 0 / 0.5987 GB, free: 13.05 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.0005527/0.3638, allocations: 401.2 kB / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3639, allocations: 8.031 kB / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.3643, allocations: 76.78 kB / 0.5992 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.116e-05/0.3644, allocations: 175.8 kB / 0.5994 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.3644, allocations: 8.312 kB / 0.5994 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.3645, allocations: 12.38 kB / 0.5994 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.3648, allocations: 112 kB / 0.5995 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3648, allocations: 0 / 0.5995 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3648, allocations: 5.5 kB / 0.5995 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3648, allocations: 4 kB / 0.5995 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.3652, allocations: 95.55 kB / 0.5996 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.3657, allocations: 341.5 kB / 0.5999 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.3662, allocations: 156.7 kB / 0.6001 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.3664, allocations: 57.41 kB / 0.6001 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.3665, allocations: 4 kB / 0.6001 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.3665, allocations: 34.5 kB / 0.6001 GB, free: 11.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.3665, allocations: 3.984 kB / 0.6001 GB, free: 11.45 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.01656/0.3831, allocations: 2.829 MB / 0.6029 GB, free: 8.605 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3831, allocations: 59.34 kB / 0.603 GB, free: 8.535 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.3832, allocations: 101.8 kB / 0.6031 GB, free: 8.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.009e-05/0.3832, allocations: 29.64 kB / 0.6031 GB, free: 8.391 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.3833, allocations: 88.05 kB / 0.6032 GB, free: 8.301 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.3833, allocations: 47.38 kB / 0.6032 GB, free: 8.254 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.3835, allocations: 69.58 kB / 0.6033 GB, free: 8.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.3835, allocations: 318.8 kB / 0.6036 GB, free: 7.859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/0.3841, allocations: 191.8 kB / 0.6038 GB, free: 7.672 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005845/0.3847, allocations: 191.8 kB / 0.604 GB, free: 7.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.3858, allocations: 393.6 kB / 0.6043 GB, free: 7.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3858, allocations: 0 / 0.6043 GB, free: 7.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001298/0.3871, allocations: 474.2 kB / 0.6048 GB, free: 6.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3872, allocations: 4 kB / 0.6048 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3872, allocations: 0 / 0.6048 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3872, allocations: 8 kB / 0.6048 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/0.388, allocations: 107.8 kB / 0.6049 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.388, allocations: 3.938 kB / 0.6049 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.3886, allocations: 47.94 kB / 0.6049 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.3887, allocations: 19.94 kB / 0.605 GB, free: 6.441 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.0001179/0.3888, allocations: 125.8 kB / 0.6051 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/0.3889, allocations: 7.906 kB / 0.6051 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.361e-05/0.3889, allocations: 15.95 kB / 0.6051 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3889, allocations: 0 / 0.6051 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3889, allocations: 8.031 kB / 0.6051 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.389, allocations: 3.938 kB / 0.6051 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.3908, allocations: 1.039 MB / 0.6061 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3908, allocations: 0 / 0.6061 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/0.3915, allocations: 111.8 kB / 0.6062 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3916, allocations: 3.938 kB / 0.6062 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.3916, allocations: 23.94 kB / 0.6063 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3916, allocations: 0 / 0.6063 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3916, allocations: 4 kB / 0.6063 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.3936, allocations: 0.7899 MB / 0.607 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.3937, allocations: 132.9 kB / 0.6072 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/0.3938, allocations: 4 kB / 0.6072 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006272/0.3944, allocations: 39.94 kB / 0.6072 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.3945, allocations: 27.92 kB / 0.6072 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/0.3946, allocations: 31.94 kB / 0.6073 GB, free: 3.926 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.222e-05/0.3946, allocations: 83.27 kB / 0.6074 GB, free: 3.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3946, allocations: 0 / 0.6074 GB, free: 3.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.395, allocations: 52 kB / 0.6074 GB, free: 3.793 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.0001708/0.3952, allocations: 111.2 kB / 0.6075 GB, free: 3.676 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3964, allocations: 435.5 kB / 0.6079 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3964, allocations: 0 / 0.6079 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006135/0.3971, allocations: 219.7 kB / 0.6081 GB, free: 3.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.3974, allocations: 8.312 kB / 0.6081 GB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.4012, allocations: 0.7598 MB / 0.6089 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.605e-05/0.4013, allocations: 0.6933 MB / 0.6096 GB, free: 1.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004717/0.4018, allocations: 96.64 kB / 0.6097 GB, free: 1.422 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.402, allocations: 51.31 kB / 0.6097 GB, free: 1.371 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.402, allocations: 0 / 0.6097 GB, free: 1.371 MB / 446.1 MB Notification: Performance of Templates: time 0.005518/0.4076, allocations: 3.483 MB / 0.6131 GB, free: 13.91 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)