Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001771/0.001771, allocations: 114.3 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.002174/0.002174, allocations: 216.7 kB / 22.26 MB, free: 5.082 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 8.012 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.002414/0.002414, allocations: 276.4 kB / 312.7 MB, free: 2.824 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.248/1.248, allocations: 180.6 MB / 0.5369 GB, free: 13.07 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.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",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.002888/0.002888, allocations: 102.8 kB / 0.7396 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1878, allocations: 95.39 MB / 0.8328 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00183/0.1896, allocations: 0.6136 MB / 0.8334 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003577/0.19, allocations: 75.84 kB / 0.8334 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.19, allocations: 3.938 kB / 0.8334 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.19, allocations: 3.984 kB / 0.8335 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.652e-05/0.1901, allocations: 8 kB / 0.8335 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.1905, allocations: 47.81 kB / 0.8335 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.216e-05/0.1905, allocations: 19.98 kB / 0.8335 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.1906, allocations: 8.391 kB / 0.8335 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.12e-05/0.1906, allocations: 15.98 kB / 0.8335 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1908, allocations: 71.88 kB / 0.8336 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1908, allocations: 0 / 0.8336 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.191, allocations: 47.88 kB / 0.8337 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.191, allocations: 16 kB / 0.8337 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.191, allocations: 31.78 kB / 0.8337 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1912, allocations: 68.02 kB / 0.8338 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1912, allocations: 0 / 0.8338 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1912, allocations: 0 / 0.8338 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1912, allocations: 0 / 0.8338 GB, free: 7.59 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.00037/0.1916, allocations: 286.2 kB / 0.834 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1916, allocations: 9.344 kB / 0.8341 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.1917, allocations: 42.73 kB / 0.8341 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.1917, allocations: 8.891 kB / 0.8341 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/0.1918, allocations: 114.5 kB / 0.8342 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.1918, allocations: 4.375 kB / 0.8342 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.1918, allocations: 4.375 kB / 0.8342 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.1921, allocations: 175.3 kB / 0.8344 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1921, allocations: 7.875 kB / 0.8344 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1921, allocations: 0 / 0.8344 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.1921, allocations: 31.97 kB / 0.8344 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.1922, allocations: 35.91 kB / 0.8345 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.1929, allocations: 0.878 MB / 0.8353 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.535e-05/0.193, allocations: 169.1 kB / 0.8355 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.1931, allocations: 80.14 kB / 0.8356 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.1931, allocations: 83.22 kB / 0.8356 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.1932, allocations: 109.8 kB / 0.8357 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1932, allocations: 4 kB / 0.8357 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.542e-05/0.1932, allocations: 33.66 kB / 0.8358 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002054/0.1935, allocations: 387.7 kB / 0.8361 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1936, allocations: 169.7 kB / 0.8363 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1936, allocations: 25.7 kB / 0.8363 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.1937, allocations: 147.5 kB / 0.8365 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.1938, allocations: 7.984 kB / 0.8365 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.1938, allocations: 61.66 kB / 0.8365 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.194, allocations: 314.8 kB / 0.8368 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.194, allocations: 31.91 kB / 0.8369 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.1942, allocations: 224.8 kB / 0.8371 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.1944, allocations: 201.7 kB / 0.8373 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1944, allocations: 0 / 0.8373 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003142/0.1947, allocations: 193.1 kB / 0.8375 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1948, allocations: 8 kB / 0.8375 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1948, allocations: 4 kB / 0.8375 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.1948, allocations: 8.594 kB / 0.8375 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1949, allocations: 39.92 kB / 0.8375 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1949, allocations: 11.94 kB / 0.8375 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.962e-05/0.195, allocations: 31.78 kB / 0.8376 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.195, allocations: 15.98 kB / 0.8376 GB, free: 3.238 MB / 0.5762 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.0001363/0.1952, allocations: 205.7 kB / 0.8378 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.1953, allocations: 116.9 kB / 0.8379 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.056e-05/0.1953, allocations: 124.5 kB / 0.838 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-05/0.1954, allocations: 184.3 kB / 0.8382 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.608e-05/0.1955, allocations: 180.3 kB / 0.8383 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.273e-05/0.1956, allocations: 189.9 kB / 0.8385 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.1958, allocations: 384.3 kB / 0.8389 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.278e-05/0.1959, allocations: 108.9 kB / 0.839 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.1959, allocations: 101 kB / 0.8391 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.409e-05/0.196, allocations: 184.2 kB / 0.8393 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/0.1961, allocations: 184.1 kB / 0.8394 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.299e-05/0.1962, allocations: 180.4 kB / 0.8396 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.922e-05/0.1962, allocations: 188.1 kB / 0.8398 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.1964, allocations: 307.8 kB / 0.8401 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.1965, allocations: 116.9 kB / 0.8402 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-05/0.1966, allocations: 180.2 kB / 0.8404 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/0.1966, allocations: 108.9 kB / 0.8405 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.986e-05/0.1967, allocations: 188.5 kB / 0.8407 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/0.1968, allocations: 112.9 kB / 0.8408 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.233e-05/0.1969, allocations: 114.1 kB / 0.8409 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1969, allocations: 0 / 0.8409 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003124/0.1972, allocations: 35.94 kB / 0.8409 GB, free: 15.62 MB / 0.5919 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.0005248/0.1977, allocations: 0.8282 MB / 0.8417 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.1979, allocations: 67.78 kB / 0.8418 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1979, allocations: 3.938 kB / 0.8418 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.1979, allocations: 5.25 kB / 0.8418 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.1983, allocations: 467.7 kB / 0.8422 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.1988, allocations: 270.3 kB / 0.8425 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1991, allocations: 0.6969 MB / 0.8432 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.1993, allocations: 48.59 kB / 0.8432 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.1994, allocations: 27.42 kB / 0.8432 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1994, allocations: 0 / 0.8432 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.2292, allocations: 3.158 MB / 0.8463 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.64, allocations: 10.98 kB / 0.8463 GB, free: 10.13 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.196617863999563] Failed to read output from testmodel.py, exit status != 0: 10.73834760400132 10.753811077 10.559535804 Calling exit ...