Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.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.001692/0.001692, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001618/0.001618, allocations: 209 kB / 22.99 MB, free: 4.977 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.59/1.59, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.036/1.036, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002616/0.002616, allocations: 75.36 kB / 0.6411 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1815, allocations: 89.17 MB / 0.7282 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001803/0.1834, allocations: 0.6032 MB / 0.7288 GB, free: 352 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003381/0.1837, allocations: 67.86 kB / 0.7288 GB, free: 284 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.1837, allocations: 0 / 0.7288 GB, free: 284 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.1837, allocations: 7.922 kB / 0.7289 GB, free: 276 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.976e-05/0.1838, allocations: 4 kB / 0.7289 GB, free: 272 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.1841, allocations: 43.88 kB / 0.7289 GB, free: 228 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.088e-05/0.1842, allocations: 23.97 kB / 0.7289 GB, free: 204 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.1842, allocations: 11.98 kB / 0.7289 GB, free: 192 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.1842, allocations: 15.88 kB / 0.7289 GB, free: 176 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1844, allocations: 75.92 kB / 0.729 GB, free: 100 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1844, allocations: 0 / 0.729 GB, free: 100 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1846, allocations: 39.94 kB / 0.7291 GB, free: 60 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.1846, allocations: 19.94 kB / 0.7291 GB, free: 40 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.1846, allocations: 19.81 kB / 0.7291 GB, free: 20 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1848, allocations: 72.09 kB / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1848, allocations: 4 kB / 0.7292 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1848, allocations: 0 / 0.7292 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1848, allocations: 0 / 0.7292 GB, free: 15.94 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003594/0.1852, allocations: 286.2 kB / 0.7294 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1852, allocations: 8.031 kB / 0.7294 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.1852, allocations: 46.75 kB / 0.7295 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1853, allocations: 8.891 kB / 0.7295 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1854, allocations: 106.5 kB / 0.7296 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1854, allocations: 8.203 kB / 0.7296 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.1854, allocations: 4.375 kB / 0.7296 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.1859, allocations: 433.4 kB / 0.73 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1859, allocations: 3.938 kB / 0.73 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1859, allocations: 7.984 kB / 0.73 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.1859, allocations: 27.97 kB / 0.7301 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.182e-05/0.186, allocations: 35.91 kB / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008163/0.1868, allocations: 0.8741 MB / 0.731 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.187, allocations: 169.1 kB / 0.7311 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.187, allocations: 80.14 kB / 0.7312 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.187, allocations: 75.28 kB / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.1872, allocations: 117.8 kB / 0.7314 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1872, allocations: 0 / 0.7314 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.302e-05/0.1873, allocations: 37.66 kB / 0.7314 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002661/0.1875, allocations: 387.7 kB / 0.7318 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1877, allocations: 171.3 kB / 0.7319 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1878, allocations: 29.7 kB / 0.732 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.1879, allocations: 155.5 kB / 0.7321 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-06/0.1879, allocations: 8 kB / 0.7321 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.188, allocations: 53.66 kB / 0.7322 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1881, allocations: 322.8 kB / 0.7325 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.1882, allocations: 27.98 kB / 0.7325 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.1885, allocations: 485.8 kB / 0.733 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.1888, allocations: 209.7 kB / 0.7332 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.1888, allocations: 4 kB / 0.7332 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003198/0.1891, allocations: 189.6 kB / 0.7334 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1891, allocations: 11.94 kB / 0.7334 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.1891, allocations: 4 kB / 0.7334 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.1891, allocations: 11.94 kB / 0.7334 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1893, allocations: 39.92 kB / 0.7334 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1893, allocations: 7.938 kB / 0.7334 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1894, allocations: 27.84 kB / 0.7335 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1894, allocations: 8 kB / 0.7335 GB, free: 10.96 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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 0.0001669/0.1896, allocations: 221.3 kB / 0.7337 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.1896, allocations: 112.9 kB / 0.7338 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.382e-05/0.1897, allocations: 116.7 kB / 0.7339 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.43e-05/0.1898, allocations: 184.2 kB / 0.7341 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.992e-05/0.1899, allocations: 180.3 kB / 0.7342 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.03e-05/0.19, allocations: 180.2 kB / 0.7344 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.1903, allocations: 392.3 kB / 0.7348 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-05/0.1903, allocations: 101 kB / 0.7349 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-05/0.1904, allocations: 104.9 kB / 0.735 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.338e-05/0.1905, allocations: 180.3 kB / 0.7352 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.165e-05/0.1906, allocations: 188.1 kB / 0.7353 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.979e-05/0.1907, allocations: 180.2 kB / 0.7355 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-05/0.1908, allocations: 188.2 kB / 0.7357 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.1909, allocations: 308 kB / 0.736 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.191, allocations: 120.9 kB / 0.7361 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.1911, allocations: 188.2 kB / 0.7363 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1913, allocations: 108.9 kB / 0.7364 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.1914, allocations: 176.3 kB / 0.7366 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.1914, allocations: 101 kB / 0.7367 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.923e-05/0.1915, allocations: 119.2 kB / 0.7368 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1915, allocations: 0 / 0.7368 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003222/0.1918, allocations: 31.94 kB / 0.7368 GB, free: 7.352 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0005472/0.1924, allocations: 0.8242 MB / 0.7376 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1925, allocations: 77.02 kB / 0.7377 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1925, allocations: 3.938 kB / 0.7377 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.397e-06/0.1925, allocations: 3.938 kB / 0.7377 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.193, allocations: 469.9 kB / 0.7381 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.1936, allocations: 270.2 kB / 0.7384 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.532e-05/0.1937, allocations: 75.98 kB / 0.7385 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000214/0.1939, allocations: 60.58 kB / 0.7385 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.1939, allocations: 23.44 kB / 0.7385 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.1939, allocations: 0 / 0.7385 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.2269, allocations: 3.591 MB / 0.742 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.59, allocations: 0 / 0.742 GB, free: 2.094 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.69903802499175] Failed to read output from testmodel.py, exit status != 0: 11.704095536842942 11.726836693 11.537170232 Calling exit ...