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.001298/0.001298, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001689/0.001689, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002414/0.002414, allocations: 284.2 kB / 309.1 MB, free: 3.977 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.246/1.246, allocations: 180.9 MB / 0.5333 GB, free: 13.81 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002829/0.002829, allocations: 116.8 kB / 0.7343 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2252, allocations: 95.34 MB / 0.8274 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002265/0.2274, allocations: 0.6038 MB / 0.828 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004149/0.2279, allocations: 63.84 kB / 0.8281 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.2279, allocations: 7.938 kB / 0.8281 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/0.2279, allocations: 7.922 kB / 0.8281 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-05/0.228, allocations: 4 kB / 0.8281 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.2283, allocations: 51.81 kB / 0.8281 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.458e-05/0.2284, allocations: 23.97 kB / 0.8281 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.2285, allocations: 8 kB / 0.8282 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.2285, allocations: 11.98 kB / 0.8282 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.2287, allocations: 67.86 kB / 0.8282 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.2288, allocations: 4 kB / 0.8282 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.2289, allocations: 43.89 kB / 0.8283 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.229, allocations: 11.94 kB / 0.8283 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.229, allocations: 23.86 kB / 0.8283 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.2292, allocations: 64.02 kB / 0.8284 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2292, allocations: 0 / 0.8284 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2292, allocations: 0 / 0.8284 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2292, allocations: 4 kB / 0.8284 GB, free: 8.801 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.0005665/0.2297, allocations: 367.3 kB / 0.8287 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.2298, allocations: 12.03 kB / 0.8287 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.2298, allocations: 34.75 kB / 0.8288 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.2299, allocations: 12.88 kB / 0.8288 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.23, allocations: 164.3 kB / 0.8289 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.23, allocations: 12.36 kB / 0.829 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.2301, allocations: 384 / 0.829 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.2304, allocations: 175.3 kB / 0.8291 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.2304, allocations: 7.922 kB / 0.8291 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.2304, allocations: 7.984 kB / 0.8291 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.2305, allocations: 23.97 kB / 0.8292 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.602e-05/0.2306, allocations: 39.91 kB / 0.8292 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/0.2316, allocations: 0.9023 MB / 0.8301 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.2317, allocations: 177.5 kB / 0.8302 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.2318, allocations: 80.14 kB / 0.8303 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.56e-05/0.2318, allocations: 79.22 kB / 0.8304 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.545e-05/0.2319, allocations: 109.8 kB / 0.8305 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.2319, allocations: 0 / 0.8305 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001125/0.232, allocations: 37.69 kB / 0.8305 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003328/0.2323, allocations: 395.7 kB / 0.8309 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.2325, allocations: 167.9 kB / 0.8311 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.2326, allocations: 25.7 kB / 0.8311 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.2327, allocations: 155.5 kB / 0.8312 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.236e-06/0.2327, allocations: 3.984 kB / 0.8313 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.2329, allocations: 57.66 kB / 0.8313 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.233, allocations: 318.7 kB / 0.8316 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/0.2331, allocations: 31.91 kB / 0.8316 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.2334, allocations: 226.5 kB / 0.8319 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.2337, allocations: 201.7 kB / 0.832 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2337, allocations: 0 / 0.832 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004302/0.2341, allocations: 193.5 kB / 0.8322 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.2341, allocations: 8 kB / 0.8322 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2341, allocations: 4 kB / 0.8322 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.2342, allocations: 7.938 kB / 0.8323 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.2344, allocations: 39.92 kB / 0.8323 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.2344, allocations: 11.94 kB / 0.8323 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2345, allocations: 27.78 kB / 0.8323 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.2345, allocations: 12 kB / 0.8323 GB, free: 4.242 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.0001957/0.2347, allocations: 213.3 kB / 0.8325 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.2348, allocations: 116.9 kB / 0.8327 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.235, allocations: 124.5 kB / 0.8328 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001574/0.2351, allocations: 176.3 kB / 0.8329 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.429e-05/0.2352, allocations: 176.3 kB / 0.8331 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001027/0.2353, allocations: 193.9 kB / 0.8333 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.2358, allocations: 413.2 kB / 0.8337 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.374e-05/0.2358, allocations: 112.9 kB / 0.8338 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.2359, allocations: 101 kB / 0.8339 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001563/0.2361, allocations: 180.2 kB / 0.8341 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.616e-05/0.2361, allocations: 184.1 kB / 0.8342 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001003/0.2362, allocations: 188.3 kB / 0.8344 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.654e-05/0.2363, allocations: 184.2 kB / 0.8346 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.2366, allocations: 303.8 kB / 0.8349 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.2367, allocations: 194 kB / 0.8351 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.2368, allocations: 188.2 kB / 0.8352 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2369, allocations: 108.9 kB / 0.8354 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.2371, allocations: 180.5 kB / 0.8355 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/0.2371, allocations: 108.9 kB / 0.8356 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001224/0.2372, allocations: 113.9 kB / 0.8357 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2372, allocations: 0 / 0.8357 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004746/0.2377, allocations: 32 kB / 0.8358 GB, free: 0.5078 MB / 0.5762 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.0007705/0.2385, allocations: 0.8422 MB / 0.8366 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.2387, allocations: 72.91 kB / 0.8367 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.2387, allocations: 0 / 0.8367 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.036e-05/0.2388, allocations: 3.938 kB / 0.8367 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/0.2394, allocations: 463.7 kB / 0.8371 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007572/0.2402, allocations: 274.4 kB / 0.8374 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.2406, allocations: 0.6932 MB / 0.838 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000297/0.2409, allocations: 56.53 kB / 0.8381 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.2409, allocations: 31.42 kB / 0.8381 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.2409, allocations: 0 / 0.8381 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.2718, allocations: 2.963 MB / 0.841 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.264, allocations: 4.562 kB / 0.841 GB, free: 11.18 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.587728146929294] Failed to read output from testmodel.py, exit status != 0: 8.330250452272594 8.344995121 8.11279168 Calling exit ...