Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_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.001318/0.001319, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001275/0.001275, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.087/3.087, allocations: 205.4 MB / 222.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.295/3.295, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009022/0.0009028, allocations: 14.91 kB / 0.6737 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5138/0.5148, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001407/0.5163, allocations: 337.8 kB / 0.7876 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003183/0.5195, allocations: 1.42 MB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.5196, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.5196, allocations: 3.938 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.835e-05/0.5197, allocations: 4 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008116/0.5205, allocations: 107.7 kB / 0.7891 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.5207, allocations: 23.95 kB / 0.7891 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.5208, allocations: 4 kB / 0.7891 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.5209, allocations: 19.97 kB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.5211, allocations: 23.91 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.5211, allocations: 8 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008504/0.522, allocations: 307.5 kB / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.522, allocations: 7.984 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.5221, allocations: 29.64 kB / 0.7895 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.5226, allocations: 139.8 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5226, allocations: 3.938 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.118e-06/0.5226, allocations: 0 / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.5226, allocations: 0 / 0.7896 GB, free: 9.434 MB / 0.6075 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.001068/0.5237, allocations: 363.6 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.576e-05/0.5238, allocations: 11.97 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/0.5239, allocations: 30.56 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007422/0.5246, allocations: 83.81 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.5249, allocations: 167 kB / 0.7902 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.5249, allocations: 0 / 0.7902 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.525, allocations: 4 kB / 0.7902 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.5254, allocations: 81.62 kB / 0.7903 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5255, allocations: 4 kB / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.5255, allocations: 0 / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5255, allocations: 4 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.526, allocations: 83.86 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.5264, allocations: 165.6 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009345/0.5273, allocations: 142.6 kB / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007423/0.5281, allocations: 173.1 kB / 0.7909 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.5281, allocations: 34.55 kB / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.5281, allocations: 0 / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.00204/0.5302, allocations: 434.2 kB / 0.7913 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.5303, allocations: 59.34 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5304, allocations: 93.86 kB / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.5305, allocations: 25.83 kB / 0.7915 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.5305, allocations: 88.14 kB / 0.7916 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.5306, allocations: 19.73 kB / 0.7916 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.5306, allocations: 0 / 0.7916 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.5309, allocations: 314.8 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.5311, allocations: 43.97 kB / 0.7919 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.5314, allocations: 39.97 kB / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.5316, allocations: 43.97 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5316, allocations: 0 / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006434/0.5323, allocations: 129.5 kB / 0.7921 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.5323, allocations: 4 kB / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5324, allocations: 0 / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.5324, allocations: 4.328 kB / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.5327, allocations: 31.91 kB / 0.7922 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.5327, allocations: 0 / 0.7922 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.5329, allocations: 19.92 kB / 0.7922 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.5329, allocations: 8 kB / 0.7922 GB, free: 6.496 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.5331, allocations: 113.8 kB / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.5331, allocations: 0 / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008127/0.5339, allocations: 153.1 kB / 0.7924 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.534, allocations: 4 kB / 0.7924 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.534, allocations: 0 / 0.7924 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.534, allocations: 0 / 0.7924 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.5343, allocations: 169.6 kB / 0.7926 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5344, allocations: 320 / 0.7926 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.5348, allocations: 39.91 kB / 0.7926 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.5348, allocations: 0 / 0.7926 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.5349, allocations: 4 kB / 0.7926 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5349, allocations: 0 / 0.7926 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5349, allocations: 0 / 0.7926 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.5364, allocations: 209 kB / 0.7928 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.5367, allocations: 89.03 kB / 0.7929 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.5367, allocations: 0 / 0.7929 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.5369, allocations: 20.05 kB / 0.793 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.5369, allocations: 4 kB / 0.793 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.537, allocations: 4 kB / 0.793 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.097e-05/0.5371, allocations: 79.27 kB / 0.793 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.737e-06/0.5371, allocations: 0 / 0.793 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004948/0.5376, allocations: 31.94 kB / 0.7931 GB, free: 5.488 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/0.5397, allocations: 0.7648 MB / 0.7938 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005982/0.5403, allocations: 103.9 kB / 0.7939 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5403, allocations: 0 / 0.7939 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.5406, allocations: 47.95 kB / 0.794 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.5408, allocations: 7.938 kB / 0.794 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.5429, allocations: 0.565 MB / 0.7945 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.5434, allocations: 0.6848 MB / 0.7952 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.5437, allocations: 16.06 kB / 0.7952 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.805e-05/0.5438, allocations: 23.42 kB / 0.7952 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of SimCode: time 1.062e-06/0.5438, allocations: 3.938 kB / 0.7952 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.5661, allocations: 1.786 MB / 0.797 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/0.5666, allocations: 209.6 kB / 0.7972 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/3.708, allocations: 4.062 kB / 0.7972 GB, free: 1.309 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: