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.001238/0.001238, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.003017/0.003017, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.002455/0.002455, allocations: 289.2 kB / 313.5 MB, free: 2.605 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.232/1.232, allocations: 180.6 MB / 0.5377 GB, free: 14.7 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="cs",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.002766/0.002766, allocations: 95.09 kB / 0.7403 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1781, allocations: 95.39 MB / 0.8334 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002035/0.1802, allocations: 0.6193 MB / 0.8341 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1821, allocations: 1.429 MB / 0.8354 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.1822, allocations: 4 kB / 0.8355 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.1822, allocations: 3.938 kB / 0.8355 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.079e-05/0.1822, allocations: 0 / 0.8355 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.1827, allocations: 139.4 kB / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.1828, allocations: 27.98 kB / 0.8356 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.1828, allocations: 4 kB / 0.8356 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.1828, allocations: 19.91 kB / 0.8356 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/0.1829, allocations: 27.95 kB / 0.8357 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1829, allocations: 0 / 0.8357 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.1833, allocations: 267.5 kB / 0.8359 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.1834, allocations: 0 / 0.8359 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.1834, allocations: 15.92 kB / 0.8359 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.1837, allocations: 179.8 kB / 0.8361 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1837, allocations: 0 / 0.8361 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1837, allocations: 3.938 kB / 0.8361 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1837, allocations: 4 kB / 0.8361 GB, free: 5.562 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.0005845/0.1843, allocations: 290 kB / 0.8364 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1843, allocations: 13.34 kB / 0.8364 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.745e-05/0.1843, allocations: 4.188 kB / 0.8364 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.1844, allocations: 30.75 kB / 0.8364 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00051/0.1849, allocations: 68.84 kB / 0.8365 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.185, allocations: 106.5 kB / 0.8366 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.185, allocations: 4.375 kB / 0.8366 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1851, allocations: 4.328 kB / 0.8366 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.1854, allocations: 107.3 kB / 0.8367 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1854, allocations: 0 / 0.8367 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1854, allocations: 0 / 0.8367 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1854, allocations: 4 kB / 0.8367 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.1857, allocations: 67.86 kB / 0.8368 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.1859, allocations: 128.8 kB / 0.8369 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/0.1865, allocations: 118.5 kB / 0.837 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.1867, allocations: 48.97 kB / 0.8371 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004338/0.1871, allocations: 79.84 kB / 0.8371 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.1872, allocations: 38.5 kB / 0.8372 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1872, allocations: 0 / 0.8372 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001155/0.1883, allocations: 329 kB / 0.8375 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.1884, allocations: 59.34 kB / 0.8375 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.1884, allocations: 93.86 kB / 0.8376 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1885, allocations: 33.7 kB / 0.8377 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.1885, allocations: 88.06 kB / 0.8378 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1885, allocations: 7.906 kB / 0.8378 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.1886, allocations: 21.72 kB / 0.8378 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1887, allocations: 318.8 kB / 0.8381 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.1889, allocations: 32.09 kB / 0.8381 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.189, allocations: 35.97 kB / 0.8382 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.1893, allocations: 80.8 kB / 0.8382 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1893, allocations: 0 / 0.8382 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003708/0.1897, allocations: 121.5 kB / 0.8383 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1897, allocations: 4 kB / 0.8383 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1897, allocations: 256 / 0.8383 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1897, allocations: 0 / 0.8383 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1899, allocations: 31.97 kB / 0.8384 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1899, allocations: 0 / 0.8384 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.686e-05/0.19, allocations: 15.98 kB / 0.8384 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.19, allocations: 4 kB / 0.8384 GB, free: 2.996 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.718e-05/0.1901, allocations: 106.5 kB / 0.8385 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.1901, allocations: 8.266 kB / 0.8385 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.1906, allocations: 141.3 kB / 0.8386 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1906, allocations: 0 / 0.8386 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1906, allocations: 3.984 kB / 0.8386 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1906, allocations: 0 / 0.8386 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1907, allocations: 140.7 kB / 0.8388 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1907, allocations: 0 / 0.8388 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.1909, allocations: 19.98 kB / 0.8388 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1909, allocations: 3.984 kB / 0.8388 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1909, allocations: 12 kB / 0.8388 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1909, allocations: 0 / 0.8388 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1909, allocations: 3.938 kB / 0.8388 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.1915, allocations: 181 kB / 0.839 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.1915, allocations: 11.97 kB / 0.839 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.1916, allocations: 7.938 kB / 0.839 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1917, allocations: 11.98 kB / 0.839 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.1917, allocations: 3.984 kB / 0.839 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1917, allocations: 8.062 kB / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.086e-05/0.1918, allocations: 75.28 kB / 0.8391 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1918, allocations: 4 kB / 0.8391 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002321/0.192, allocations: 39.8 kB / 0.8391 GB, free: 2.148 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.0009648/0.1929, allocations: 0.7374 MB / 0.8399 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.1933, allocations: 91.98 kB / 0.84 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1933, allocations: 0 / 0.84 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.1935, allocations: 47.95 kB / 0.84 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.1936, allocations: 0 / 0.84 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.1958, allocations: 1.364 MB / 0.8413 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.51e-05/0.1958, allocations: 59.98 kB / 0.8414 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.066e-05/0.1959, allocations: 15.98 kB / 0.8414 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.196, allocations: 15.44 kB / 0.8414 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of SimCode: time 4.5e-07/0.196, allocations: 0 / 0.8414 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.2194, allocations: 2.272 MB / 0.8436 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.41, allocations: 4.062 kB / 0.8436 GB, free: 13.57 MB / 0.5919 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 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.604263092041947] Failed to read output from testmodel.py, exit status != 0: 11.574334176955745 11.601718063 11.41289882 Calling exit ...