Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006983/0.006984, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001445/0.001445, allocations: 193 kB / 16.67 MB, free: 5.93 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.43/1.43, 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 11.1.0-maint.11.x/package.mo): time 2.907/2.907, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 59.91 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7831/0.7851, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002085/0.7872, allocations: 0.7816 MB / 1.221 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.7893, allocations: 1.474 MB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.7893, allocations: 0 / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.7894, allocations: 3.938 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.7895, allocations: 3.938 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.79, allocations: 143.4 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.756e-05/0.7901, allocations: 51.89 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.7902, allocations: 7.938 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.7903, allocations: 27.97 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.7903, allocations: 31.84 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.7904, allocations: 4 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.7909, allocations: 323.3 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.7909, allocations: 11.98 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.791, allocations: 31.86 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.7913, allocations: 215 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7913, allocations: 0 / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7913, allocations: 0 / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.7913, allocations: 0 / 1.223 GB, free: 14.91 MB / 0.9512 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.0007225/0.7921, allocations: 406.9 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7921, allocations: 8.031 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.7922, allocations: 34.73 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004849/0.7927, allocations: 76.84 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.7928, allocations: 180.2 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.7928, allocations: 4.375 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.7929, allocations: 8.375 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.7933, allocations: 105.7 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7933, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.7933, allocations: 8 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.7934, allocations: 4 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.7939, allocations: 103.9 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00063/0.7945, allocations: 336.6 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.7953, allocations: 146.5 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.7955, allocations: 64.95 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.7956, allocations: 7.922 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.7956, allocations: 30.56 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.7956, allocations: 0 / 1.225 GB, free: 13.25 MB / 0.9512 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.01956/0.8152, allocations: 2.846 MB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.8153, allocations: 55.34 kB / 1.228 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.71e-05/0.8154, allocations: 97.86 kB / 1.228 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.8154, allocations: 29.7 kB / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.8155, allocations: 92.02 kB / 1.228 GB, free: 10 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/0.8156, allocations: 39.69 kB / 1.228 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.8158, allocations: 73.58 kB / 1.228 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.8159, allocations: 314.8 kB / 1.228 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.8167, allocations: 191.8 kB / 1.228 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007091/0.8174, allocations: 187.8 kB / 1.228 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.8188, allocations: 397.8 kB / 1.229 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8189, allocations: 4 kB / 1.229 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001709/0.8206, allocations: 474.5 kB / 1.229 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.8206, allocations: 12 kB / 1.229 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.8206, allocations: 96 / 1.229 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.8206, allocations: 3.938 kB / 1.229 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.8215, allocations: 107.7 kB / 1.229 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.8216, allocations: 7.938 kB / 1.229 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006393/0.8222, allocations: 43.94 kB / 1.229 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.8223, allocations: 27.92 kB / 1.23 GB, free: 8.137 MB / 0.9512 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.000163/0.8225, allocations: 122.4 kB / 1.23 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/0.8225, allocations: 3.953 kB / 1.23 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.8226, allocations: 15.97 kB / 1.23 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.8226, allocations: 3.938 kB / 1.23 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8226, allocations: 0 / 1.23 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8226, allocations: 0 / 1.23 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.8251, allocations: 1.055 MB / 1.231 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8251, allocations: 0 / 1.231 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008806/0.826, allocations: 103.7 kB / 1.231 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.826, allocations: 0 / 1.231 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.8261, allocations: 27.94 kB / 1.231 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.8261, allocations: 7.984 kB / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8261, allocations: 0 / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.8286, allocations: 0.7878 MB / 1.232 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.8288, allocations: 124.9 kB / 1.232 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.8289, allocations: 3.984 kB / 1.232 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/0.8296, allocations: 44 kB / 1.232 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.8297, allocations: 31.92 kB / 1.232 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.8298, allocations: 23.94 kB / 1.232 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.8298, allocations: 83.45 kB / 1.232 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.8298, allocations: 0 / 1.232 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003845/0.8302, allocations: 52 kB / 1.232 GB, free: 5.496 MB / 0.9512 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.002908/0.8331, allocations: 1.341 MB / 1.233 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.8347, allocations: 427.6 kB / 1.234 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8347, allocations: 0 / 1.234 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007733/0.8355, allocations: 223.7 kB / 1.234 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.8358, allocations: 9.016 kB / 1.234 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009257/0.8451, allocations: 2.95 MB / 1.237 GB, free: 472 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.8455, allocations: 0.6924 MB / 1.237 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005488/0.846, allocations: 88.67 kB / 1.238 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.8463, allocations: 71.23 kB / 1.238 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.8463, allocations: 0 / 1.238 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.874, allocations: 4.591 MB / 1.242 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/9.256, allocations: 7.125 kB / 1.242 GB, free: 11.13 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)