Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009813/0.009813, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.002224/0.002224, allocations: 193.6 kB / 16.68 MB, free: 5.969 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437.1 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.89 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7956, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002017/0.7977, allocations: 0.7783 MB / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.7998, allocations: 1.48 MB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.7999, allocations: 0 / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.7999, allocations: 3.938 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.027e-05/0.8, allocations: 3.938 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.8005, allocations: 143.5 kB / 1.169 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.576e-05/0.8006, allocations: 51.89 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.8006, allocations: 3.984 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.8007, allocations: 27.92 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.8008, allocations: 35.89 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.8008, allocations: 4 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.8013, allocations: 319.3 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.8014, allocations: 19.91 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.8014, allocations: 23.86 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.8018, allocations: 207.2 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8018, allocations: 4 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8018, allocations: 0 / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8018, allocations: 0 / 1.169 GB, free: 0.6992 MB / 0.8887 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.0007084/0.8025, allocations: 406.8 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.8026, allocations: 8.922 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.8026, allocations: 42.73 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004422/0.8031, allocations: 64.86 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.8032, allocations: 180.2 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.8033, allocations: 8.375 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.8033, allocations: 8.375 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.8037, allocations: 105.7 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.8037, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.8037, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.8037, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.8042, allocations: 99.89 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.8049, allocations: 336.7 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/0.8056, allocations: 154.4 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.8059, allocations: 56.81 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.8059, allocations: 0 / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.8059, allocations: 38.56 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.806, allocations: 0 / 1.171 GB, free: 15.04 MB / 0.9044 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.0184/0.8244, allocations: 2.865 MB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.8244, allocations: 55.34 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.8245, allocations: 97.86 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.8246, allocations: 29.7 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.8247, allocations: 96 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.8247, allocations: 35.7 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.8249, allocations: 73.56 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.8251, allocations: 318.8 kB / 1.174 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.8258, allocations: 195.9 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000711/0.8265, allocations: 191.8 kB / 1.175 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.828, allocations: 389.7 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.828, allocations: 0 / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001657/0.8296, allocations: 482.3 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.8297, allocations: 4 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.8297, allocations: 0 / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.8297, allocations: 4 kB / 1.175 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/0.8305, allocations: 111.7 kB / 1.175 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.8306, allocations: 0 / 1.175 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.8312, allocations: 43.94 kB / 1.176 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.8312, allocations: 27.88 kB / 1.176 GB, free: 9.922 MB / 0.9044 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.000157/0.8314, allocations: 117.8 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.8315, allocations: 11.94 kB / 1.176 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.8316, allocations: 15.97 kB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.8316, allocations: 3.938 kB / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8316, allocations: 0 / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.8316, allocations: 0 / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.834, allocations: 1.039 MB / 1.177 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.834, allocations: 4 kB / 1.177 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.8349, allocations: 107.7 kB / 1.177 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8349, allocations: 0 / 1.177 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.835, allocations: 27.94 kB / 1.177 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.835, allocations: 3.938 kB / 1.177 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.835, allocations: 4 kB / 1.177 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.8375, allocations: 0.784 MB / 1.178 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.8377, allocations: 121 kB / 1.178 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.8378, allocations: 4 kB / 1.178 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006812/0.8385, allocations: 43.94 kB / 1.178 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.8386, allocations: 27.92 kB / 1.178 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/0.8386, allocations: 31.92 kB / 1.178 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.65e-05/0.8387, allocations: 83.22 kB / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8387, allocations: 0 / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003797/0.8391, allocations: 52 kB / 1.178 GB, free: 7.293 MB / 0.9044 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.002925/0.842, allocations: 1.344 MB / 1.179 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.8436, allocations: 423.5 kB / 1.18 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.8436, allocations: 0 / 1.18 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007925/0.8444, allocations: 236 kB / 1.18 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.8448, allocations: 12 kB / 1.18 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009235/0.8541, allocations: 2.947 MB / 1.183 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.8544, allocations: 0.6963 MB / 1.183 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005438/0.855, allocations: 88.67 kB / 1.184 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.8553, allocations: 63.3 kB / 1.184 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of SimCode: time 8.92e-07/0.8553, allocations: 4 kB / 1.184 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.8819, allocations: 4.578 MB / 1.188 GB, free: 12.92 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/9.059, allocations: 13.58 kB / 1.188 GB, free: 12.91 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)