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.001565/0.001565, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001876/0.001876, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 0.965/0.965, allocations: 150 MB / 459.5 MB, free: 5.367 MB / 350.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.002062/0.002062, allocations: 65.75 kB / 0.6362 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1485, allocations: 89.14 MB / 0.7232 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00178/0.1503, allocations: 0.603 MB / 0.7238 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003092/0.1506, allocations: 67.84 kB / 0.7239 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.1506, allocations: 0 / 0.7239 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.1507, allocations: 0 / 0.7239 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.574e-05/0.1507, allocations: 7.938 kB / 0.7239 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.151, allocations: 43.94 kB / 0.7239 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.693e-05/0.1511, allocations: 23.92 kB / 0.7239 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.1511, allocations: 7.984 kB / 0.7239 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.335e-05/0.1511, allocations: 11.98 kB / 0.724 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.1513, allocations: 67.88 kB / 0.724 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1513, allocations: 0 / 0.724 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.1514, allocations: 39.95 kB / 0.7241 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/0.1514, allocations: 23.92 kB / 0.7241 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.1515, allocations: 19.86 kB / 0.7241 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1516, allocations: 68.02 kB / 0.7242 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1516, allocations: 0 / 0.7242 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1516, allocations: 0 / 0.7242 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1516, allocations: 0 / 0.7242 GB, free: 3.191 MB / 0.5294 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.0004164/0.152, allocations: 373 kB / 0.7245 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1521, allocations: 8.031 kB / 0.7245 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.1521, allocations: 42.73 kB / 0.7246 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.1522, allocations: 8.891 kB / 0.7246 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1523, allocations: 172.3 kB / 0.7247 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1523, allocations: 4.359 kB / 0.7247 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1523, allocations: 4.375 kB / 0.7248 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.1526, allocations: 183.2 kB / 0.7249 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1527, allocations: 4 kB / 0.7249 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1527, allocations: 0 / 0.7249 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/0.1527, allocations: 19.98 kB / 0.7249 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.151e-05/0.1528, allocations: 39.84 kB / 0.725 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.1538, allocations: 0.9063 MB / 0.7259 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1539, allocations: 177.5 kB / 0.726 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.154, allocations: 84.14 kB / 0.7261 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.154, allocations: 79.22 kB / 0.7262 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.1541, allocations: 109.8 kB / 0.7263 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1541, allocations: 0 / 0.7263 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 0.0001395/0.1542, allocations: 45.69 kB / 0.7263 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003186/0.1546, allocations: 395.6 kB / 0.7267 GB, free: 280 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1548, allocations: 164.5 kB / 0.7269 GB, free: 108 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.1548, allocations: 33.64 kB / 0.7269 GB, free: 68 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.155, allocations: 151.5 kB / 0.7271 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.155, allocations: 4 kB / 0.7271 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.1551, allocations: 49.7 kB / 0.7271 GB, free: 15.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1553, allocations: 326.8 kB / 0.7274 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.1553, allocations: 23.98 kB / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.1556, allocations: 218.5 kB / 0.7276 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.1559, allocations: 197.8 kB / 0.7278 GB, free: 14.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.1559, allocations: 4 kB / 0.7278 GB, free: 14.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004177/0.1563, allocations: 189.5 kB / 0.728 GB, free: 14.74 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1563, allocations: 8 kB / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.1563, allocations: 4 kB / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.1564, allocations: 11.94 kB / 0.728 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1565, allocations: 39.92 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.1565, allocations: 11.92 kB / 0.7281 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.1567, allocations: 27.84 kB / 0.7281 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.1567, allocations: 15.98 kB / 0.7281 GB, free: 14.62 MB / 0.545 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.0002305/0.1569, allocations: 217.2 kB / 0.7283 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/0.157, allocations: 112.9 kB / 0.7285 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.221e-05/0.1571, allocations: 120.8 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001146/0.1572, allocations: 182.1 kB / 0.7287 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001116/0.1573, allocations: 180.2 kB / 0.7289 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/0.1574, allocations: 180.3 kB / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.1578, allocations: 425.1 kB / 0.7295 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.558e-05/0.1578, allocations: 105 kB / 0.7296 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.1579, allocations: 101 kB / 0.7297 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.158, allocations: 184.2 kB / 0.7299 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.818e-05/0.1581, allocations: 184.2 kB / 0.73 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-05/0.1581, allocations: 184.2 kB / 0.7302 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-05/0.1582, allocations: 184.2 kB / 0.7304 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1584, allocations: 315.7 kB / 0.7307 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.239e-05/0.1585, allocations: 182 kB / 0.7309 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.1586, allocations: 196.1 kB / 0.7311 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1587, allocations: 105 kB / 0.7312 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.1588, allocations: 184.5 kB / 0.7313 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.1588, allocations: 101 kB / 0.7314 GB, free: 11.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.913e-05/0.1589, allocations: 118.4 kB / 0.7315 GB, free: 10.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1589, allocations: 0 / 0.7315 GB, free: 10.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003526/0.1593, allocations: 24 kB / 0.7316 GB, free: 10.9 MB / 0.545 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.0006757/0.16, allocations: 0.8399 MB / 0.7324 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.1601, allocations: 76.84 kB / 0.7325 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1601, allocations: 0 / 0.7325 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.1601, allocations: 0 / 0.7325 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.1606, allocations: 467.7 kB / 0.7329 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.1612, allocations: 278.3 kB / 0.7332 GB, free: 9.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1616, allocations: 0.6931 MB / 0.7338 GB, free: 8.465 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002341/0.1619, allocations: 56.59 kB / 0.7339 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.1619, allocations: 27.44 kB / 0.7339 GB, free: 8.379 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.1619, allocations: 0 / 0.7339 GB, free: 8.379 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.1879, allocations: 2.952 MB / 0.7368 GB, free: 5.547 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.405, allocations: 6.031 kB / 0.7368 GB, free: 5.543 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.465779097052291] Failed to read output from testmodel.py, exit status != 0: 8.472084189066663 8.48791082 8.33339848 Calling exit ...