Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.007029/0.007029, allocations: 100.9 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.002036/0.002036, allocations: 194.2 kB / 16.67 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.705/2.705, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.91 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6373/0.6393, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001684/0.641, allocations: 0.603 MB / 1.221 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.643, allocations: 1.452 MB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.643, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.6431, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.946e-05/0.6431, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.6436, allocations: 143.4 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.549e-05/0.6437, allocations: 31.91 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.6437, allocations: 0 / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.6437, allocations: 11.98 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.6438, allocations: 39.83 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.6439, allocations: 0 / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.6444, allocations: 319.4 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.6444, allocations: 7.984 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.6444, allocations: 11.92 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.6447, allocations: 183.3 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6448, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6448, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6448, allocations: 0 / 1.223 GB, free: 15.21 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005608/0.6453, allocations: 375 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.6454, allocations: 12.03 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.6454, allocations: 38.69 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004764/0.6459, allocations: 68.84 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.646, allocations: 160.4 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.6461, allocations: 384 / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.6461, allocations: 12.27 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.6464, allocations: 85.69 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6464, allocations: 4 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.6464, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.6464, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.6467, allocations: 63.94 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.6469, allocations: 161.7 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/0.6475, allocations: 122.6 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.6477, allocations: 44.92 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.6482, allocations: 153 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.6483, allocations: 42.42 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.6483, allocations: 0 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.001203/0.6495, allocations: 410.2 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.6495, allocations: 51.41 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.972e-05/0.6496, allocations: 97.86 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.6496, allocations: 25.7 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.6497, allocations: 80.14 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.6497, allocations: 23.81 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.6498, allocations: 17.72 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6499, allocations: 323 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.6501, allocations: 35.95 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.6502, allocations: 35.97 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.6506, allocations: 72.8 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.6506, allocations: 4 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003927/0.651, allocations: 121.5 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.651, allocations: 4 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.651, allocations: 4 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.651, allocations: 4 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.6512, allocations: 19.98 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.6512, allocations: 0 / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.6513, allocations: 15.92 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.6513, allocations: 3.984 kB / 1.225 GB, free: 12.28 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 (6): * Single equations (assignments): 6 * 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 8.694e-05/0.6514, allocations: 117.8 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.6514, allocations: 3.938 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.6519, allocations: 133.1 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6519, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.6519, allocations: 8 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.652, allocations: 0 / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.6521, allocations: 169.6 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.6521, allocations: 3.938 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.6523, allocations: 20.3 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.6523, allocations: 0 / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.6523, allocations: 8 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6523, allocations: 3.984 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6523, allocations: 0 / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.6529, allocations: 185 kB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.653, allocations: 92.98 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.6531, allocations: 4.031 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.6532, allocations: 11.98 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.6532, allocations: 8.047 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.6532, allocations: 4 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.6533, allocations: 75.28 kB / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6533, allocations: 0 / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000234/0.6535, allocations: 39.86 kB / 1.226 GB, free: 11.31 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0009779/0.6545, allocations: 0.7495 MB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.6549, allocations: 79.98 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.6549, allocations: 4 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.6551, allocations: 43.91 kB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.6553, allocations: 7.984 kB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.6574, allocations: 1.352 MB / 1.229 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.6577, allocations: 0.6845 MB / 1.229 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.146e-05/0.6578, allocations: 16 kB / 1.229 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.6578, allocations: 19.42 kB / 1.229 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.6579, allocations: 4 kB / 1.229 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.6807, allocations: 2.08 MB / 1.231 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/8.196, allocations: 10.03 kB / 1.231 GB, free: 6.266 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)