Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 212.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002472/0.002472, allocations: 294.4 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.169/1.169, allocations: 180.6 MB / 0.5369 GB, free: 14.45 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 99.72 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1797, allocations: 95.38 MB / 0.8327 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001755/0.1814, allocations: 0.6116 MB / 0.8333 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1836, allocations: 1.429 MB / 0.8347 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.1836, allocations: 0 / 0.8347 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.1836, allocations: 4 kB / 0.8347 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.668e-05/0.1837, allocations: 3.938 kB / 0.8347 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.1842, allocations: 147.4 kB / 0.8348 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.1843, allocations: 27.97 kB / 0.8349 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.1843, allocations: 7.984 kB / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.1844, allocations: 19.92 kB / 0.8349 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.1844, allocations: 19.97 kB / 0.8349 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1845, allocations: 4 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.1849, allocations: 247.5 kB / 0.8351 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.1849, allocations: 7.984 kB / 0.8351 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.1849, allocations: 11.92 kB / 0.8352 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.1852, allocations: 179.8 kB / 0.8353 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1852, allocations: 0 / 0.8353 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1852, allocations: 0 / 0.8353 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1852, allocations: 0 / 0.8353 GB, free: 5.547 MB / 0.5762 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.000522/0.1857, allocations: 298 kB / 0.8356 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1858, allocations: 13.88 kB / 0.8356 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1858, allocations: 34.75 kB / 0.8357 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.1863, allocations: 68.84 kB / 0.8357 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1864, allocations: 106.5 kB / 0.8358 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.1864, allocations: 4.375 kB / 0.8358 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1864, allocations: 4.328 kB / 0.8358 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.1867, allocations: 107.5 kB / 0.8359 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1867, allocations: 0 / 0.8359 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1867, allocations: 4 kB / 0.8359 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1867, allocations: 0 / 0.8359 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.187, allocations: 63.94 kB / 0.836 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.1872, allocations: 128.8 kB / 0.8361 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.1878, allocations: 122.5 kB / 0.8362 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1879, allocations: 48.92 kB / 0.8363 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004022/0.1883, allocations: 75.91 kB / 0.8364 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1884, allocations: 34.5 kB / 0.8364 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1884, allocations: 0 / 0.8364 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001115/0.1895, allocations: 333 kB / 0.8367 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1895, allocations: 55.41 kB / 0.8368 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.875e-05/0.1896, allocations: 93.86 kB / 0.8369 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1896, allocations: 25.7 kB / 0.8369 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.1897, allocations: 92.2 kB / 0.837 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1897, allocations: 15.89 kB / 0.837 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.1897, allocations: 21.7 kB / 0.837 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1899, allocations: 314.8 kB / 0.8373 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.19, allocations: 35.91 kB / 0.8373 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.1902, allocations: 43.95 kB / 0.8374 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.1905, allocations: 76.8 kB / 0.8375 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1905, allocations: 0 / 0.8375 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003522/0.1908, allocations: 113.8 kB / 0.8376 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1908, allocations: 8 kB / 0.8376 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1908, allocations: 4 kB / 0.8376 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1909, allocations: 3.984 kB / 0.8376 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.191, allocations: 19.98 kB / 0.8376 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.191, allocations: 3.938 kB / 0.8376 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.883e-05/0.1911, allocations: 15.98 kB / 0.8376 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1911, allocations: 4 kB / 0.8376 GB, free: 2.977 MB / 0.5762 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.474e-05/0.1912, allocations: 114.5 kB / 0.8377 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.1912, allocations: 7.938 kB / 0.8377 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.1916, allocations: 129.6 kB / 0.8379 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1916, allocations: 0 / 0.8379 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1917, allocations: 7.984 kB / 0.8379 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1917, allocations: 3.984 kB / 0.8379 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.1918, allocations: 132.8 kB / 0.838 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1918, allocations: 3.938 kB / 0.838 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.1919, allocations: 27.91 kB / 0.838 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1919, allocations: 0 / 0.838 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.192, allocations: 0 / 0.838 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.192, allocations: 4 kB / 0.838 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.192, allocations: 0 / 0.838 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.1925, allocations: 185 kB / 0.8382 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.1925, allocations: 15.88 kB / 0.8382 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1926, allocations: 4.031 kB / 0.8382 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1927, allocations: 11.98 kB / 0.8382 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.1927, allocations: 3.984 kB / 0.8382 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1927, allocations: 7.938 kB / 0.8382 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.1927, allocations: 83.34 kB / 0.8383 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1927, allocations: 0 / 0.8383 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000214/0.193, allocations: 31.88 kB / 0.8384 GB, free: 2.137 MB / 0.5762 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.0009394/0.1939, allocations: 0.751 MB / 0.8391 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.1942, allocations: 87.92 kB / 0.8392 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1943, allocations: 0 / 0.8392 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1944, allocations: 35.97 kB / 0.8392 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.1946, allocations: 13.88 kB / 0.8392 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1966, allocations: 1.348 MB / 0.8405 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.168e-05/0.1966, allocations: 71.34 kB / 0.8406 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.654e-05/0.1967, allocations: 19.94 kB / 0.8406 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.1968, allocations: 19.42 kB / 0.8406 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.1968, allocations: 0 / 0.8406 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.2277, allocations: 2.627 MB / 0.8432 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.86, allocations: 7.5 kB / 0.8432 GB, free: 13.18 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.895584080833942] Failed to read output from testmodel.py, exit status != 0: 10.97016557585448 10.986527927 10.798360428 Calling exit ...