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.00132/0.00132, allocations: 113 kB / 18.94 MB, free: 2.934 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.001503/0.001503, allocations: 210.8 kB / 22.25 MB, free: 5.086 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 8.016 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.002474/0.002474, allocations: 283.5 kB / 312.7 MB, free: 2.809 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.336/1.336, allocations: 180.6 MB / 0.5369 GB, free: 12.99 MB / 382.1 MB " [Timeout remaining time 178] 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.002863/0.002863, allocations: 105.2 kB / 0.7396 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1742, allocations: 95.37 MB / 0.8328 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001828/0.176, allocations: 0.6139 MB / 0.8334 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1781, allocations: 1.527 MB / 0.8349 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.1782, allocations: 0 / 0.8349 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.1782, allocations: 3.938 kB / 0.8349 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.153e-05/0.1782, allocations: 0 / 0.8349 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.1787, allocations: 144.7 kB / 0.835 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.1788, allocations: 31.91 kB / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.1788, allocations: 0 / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.1789, allocations: 19.98 kB / 0.8351 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.854e-05/0.179, allocations: 27.89 kB / 0.8351 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.179, allocations: 4 kB / 0.8351 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.1794, allocations: 319.4 kB / 0.8354 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.1794, allocations: 7.969 kB / 0.8354 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.1795, allocations: 11.94 kB / 0.8354 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.1798, allocations: 187.8 kB / 0.8356 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1798, allocations: 4 kB / 0.8356 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1798, allocations: 0 / 0.8356 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1798, allocations: 0 / 0.8356 GB, free: 5.691 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.00055/0.1803, allocations: 293.9 kB / 0.8359 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1804, allocations: 9.344 kB / 0.8359 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.1804, allocations: 30.75 kB / 0.8359 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004724/0.1809, allocations: 72.84 kB / 0.836 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.181, allocations: 102.5 kB / 0.8361 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.181, allocations: 4.375 kB / 0.8361 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1811, allocations: 8.328 kB / 0.8361 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.1813, allocations: 81.69 kB / 0.8362 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1813, allocations: 0 / 0.8362 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1813, allocations: 0 / 0.8362 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1813, allocations: 0 / 0.8362 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.1816, allocations: 63.94 kB / 0.8362 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.1818, allocations: 136.7 kB / 0.8364 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.1824, allocations: 126.5 kB / 0.8365 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1826, allocations: 40.92 kB / 0.8365 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004208/0.183, allocations: 87.83 kB / 0.8366 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.183, allocations: 42.48 kB / 0.8366 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.183, allocations: 0 / 0.8366 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001111/0.1841, allocations: 329 kB / 0.837 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1842, allocations: 51.41 kB / 0.837 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.1842, allocations: 93.86 kB / 0.8371 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1843, allocations: 29.7 kB / 0.8371 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.1843, allocations: 84.27 kB / 0.8372 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.1843, allocations: 15.89 kB / 0.8372 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.1844, allocations: 17.72 kB / 0.8372 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1845, allocations: 314.8 kB / 0.8375 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.1847, allocations: 40.02 kB / 0.8376 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1848, allocations: 35.97 kB / 0.8376 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.1851, allocations: 84.73 kB / 0.8377 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1851, allocations: 0 / 0.8377 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003572/0.1855, allocations: 121.5 kB / 0.8378 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1855, allocations: 4 kB / 0.8378 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1855, allocations: 0 / 0.8378 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1855, allocations: 3.938 kB / 0.8378 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1857, allocations: 19.98 kB / 0.8378 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1857, allocations: 4 kB / 0.8378 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.1858, allocations: 11.98 kB / 0.8378 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1858, allocations: 7.984 kB / 0.8379 GB, free: 3.152 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 9.216e-05/0.1859, allocations: 110.5 kB / 0.838 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.1859, allocations: 7.938 kB / 0.838 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.1864, allocations: 137.3 kB / 0.8381 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1864, allocations: 0 / 0.8381 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1864, allocations: 0 / 0.8381 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1864, allocations: 0 / 0.8381 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1865, allocations: 140.7 kB / 0.8382 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1865, allocations: 3.938 kB / 0.8382 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1867, allocations: 23.98 kB / 0.8383 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1867, allocations: 4 kB / 0.8383 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1867, allocations: 4.25 kB / 0.8383 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1867, allocations: 4 kB / 0.8383 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1867, allocations: 3.984 kB / 0.8383 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.1873, allocations: 188.9 kB / 0.8385 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.1873, allocations: 15.86 kB / 0.8385 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.1874, allocations: 4.031 kB / 0.8385 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1875, allocations: 16.05 kB / 0.8385 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.1875, allocations: 3.984 kB / 0.8385 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1875, allocations: 4 kB / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.1876, allocations: 75.28 kB / 0.8386 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1876, allocations: 0 / 0.8386 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002458/0.1878, allocations: 39.86 kB / 0.8386 GB, free: 2.301 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.001045/0.1889, allocations: 0.7373 MB / 0.8393 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.1892, allocations: 83.98 kB / 0.8394 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1892, allocations: 0 / 0.8394 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.1894, allocations: 47.91 kB / 0.8395 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.1896, allocations: 7.984 kB / 0.8395 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.1919, allocations: 1.356 MB / 0.8408 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.1922, allocations: 0.6845 MB / 0.8415 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.047e-05/0.1923, allocations: 16 kB / 0.8415 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.1924, allocations: 15.42 kB / 0.8415 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1924, allocations: 0 / 0.8415 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.2221, allocations: 2.211 MB / 0.8436 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.74, allocations: 4.062 kB / 0.8436 GB, free: 13.14 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: 15.171331284000189] Failed to read output from testmodel.py, exit status != 0: 10.838401876000717 10.854986755 10.6722179 Calling exit ...