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.001684/0.001684, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.00215/0.00215, allocations: 225 kB / 23.01 MB, free: 5.043 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.681/1.681, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.015/1.015, allocations: 150 MB / 463.2 MB, free: 10.47 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.002166/0.002166, allocations: 70.08 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2088, allocations: 89.17 MB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001876/0.2107, allocations: 0.61 MB / 0.729 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004016/0.2111, allocations: 71.78 kB / 0.7291 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.2111, allocations: 0 / 0.7291 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/0.2112, allocations: 3.984 kB / 0.7291 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.2113, allocations: 7.938 kB / 0.7291 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.2116, allocations: 51.94 kB / 0.7291 GB, free: 492 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.2117, allocations: 23.92 kB / 0.7291 GB, free: 468 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.2118, allocations: 0 / 0.7291 GB, free: 468 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.2118, allocations: 15.97 kB / 0.7291 GB, free: 452 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.212, allocations: 71.88 kB / 0.7292 GB, free: 380 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.212, allocations: 3.938 kB / 0.7292 GB, free: 376 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.2122, allocations: 47.94 kB / 0.7293 GB, free: 328 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.2122, allocations: 19.92 kB / 0.7293 GB, free: 308 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.2123, allocations: 19.88 kB / 0.7293 GB, free: 288 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.2124, allocations: 72 kB / 0.7294 GB, free: 216 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2124, allocations: 0 / 0.7294 GB, free: 216 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2124, allocations: 4 kB / 0.7294 GB, free: 212 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2124, allocations: 0 / 0.7294 GB, free: 212 kB / 0.545 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.0004523/0.2129, allocations: 286.2 kB / 0.7297 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2129, allocations: 16.02 kB / 0.7297 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.213, allocations: 38.75 kB / 0.7297 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.213, allocations: 8.891 kB / 0.7297 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2131, allocations: 110.4 kB / 0.7298 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2131, allocations: 4.375 kB / 0.7298 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.2131, allocations: 384 / 0.7298 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.2134, allocations: 187.2 kB / 0.73 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2134, allocations: 0 / 0.73 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.2135, allocations: 4 kB / 0.73 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/0.2135, allocations: 15.98 kB / 0.73 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.775e-05/0.2136, allocations: 43.84 kB / 0.7301 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008383/0.2144, allocations: 0.8781 MB / 0.7309 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.2145, allocations: 173.1 kB / 0.7311 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.2146, allocations: 80.14 kB / 0.7312 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.2146, allocations: 79.27 kB / 0.7312 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.248e-05/0.2147, allocations: 113.8 kB / 0.7313 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2147, allocations: 0 / 0.7313 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.782e-05/0.2148, allocations: 41.59 kB / 0.7314 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002263/0.215, allocations: 387.7 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.2152, allocations: 165.5 kB / 0.7319 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.2152, allocations: 25.7 kB / 0.7319 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.2153, allocations: 155.5 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.713e-06/0.2153, allocations: 3.984 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.2154, allocations: 57.66 kB / 0.7321 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2155, allocations: 322.8 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.2156, allocations: 31.97 kB / 0.7325 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.2158, allocations: 214.5 kB / 0.7327 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.2161, allocations: 201.8 kB / 0.7329 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2161, allocations: 0 / 0.7329 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003266/0.2164, allocations: 193.3 kB / 0.7331 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.2164, allocations: 8 kB / 0.7331 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2164, allocations: 4.094 kB / 0.7331 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.2165, allocations: 23.8 kB / 0.7331 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.2166, allocations: 39.92 kB / 0.7331 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.2166, allocations: 8 kB / 0.7331 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.748e-05/0.2167, allocations: 28.28 kB / 0.7332 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.2167, allocations: 20 kB / 0.7332 GB, free: 11.85 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.0001711/0.2169, allocations: 213 kB / 0.7334 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.597e-05/0.217, allocations: 112.9 kB / 0.7335 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.633e-05/0.2171, allocations: 120.7 kB / 0.7336 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.196e-05/0.2172, allocations: 176.3 kB / 0.7338 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-05/0.2173, allocations: 188.2 kB / 0.734 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.922e-05/0.2173, allocations: 176.3 kB / 0.7341 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.2177, allocations: 396.2 kB / 0.7345 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.68e-05/0.2177, allocations: 101 kB / 0.7346 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.2178, allocations: 101 kB / 0.7347 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.732e-05/0.2179, allocations: 184.2 kB / 0.7349 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-05/0.218, allocations: 192.2 kB / 0.7351 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.312e-05/0.218, allocations: 180.2 kB / 0.7352 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-05/0.2181, allocations: 176.3 kB / 0.7354 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.2183, allocations: 319.9 kB / 0.7357 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.2183, allocations: 113 kB / 0.7358 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.2184, allocations: 192.2 kB / 0.736 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.2185, allocations: 105 kB / 0.7361 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.2187, allocations: 184.2 kB / 0.7363 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.2187, allocations: 105 kB / 0.7364 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.164e-05/0.2188, allocations: 112 kB / 0.7365 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2188, allocations: 7.938 kB / 0.7365 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003254/0.2191, allocations: 31.94 kB / 0.7365 GB, free: 8.234 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.0005681/0.2197, allocations: 0.8281 MB / 0.7373 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.2198, allocations: 72.09 kB / 0.7374 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2198, allocations: 0 / 0.7374 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.2198, allocations: 0 / 0.7374 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.2203, allocations: 470.6 kB / 0.7378 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.2209, allocations: 270.2 kB / 0.7381 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.2213, allocations: 0.693 MB / 0.7388 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002493/0.2215, allocations: 52.59 kB / 0.7388 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.2216, allocations: 31.41 kB / 0.7389 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2216, allocations: 3.938 kB / 0.7389 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.2535, allocations: 3.131 MB / 0.7419 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.37, allocations: 7.75 kB / 0.7419 GB, free: 2.777 MB / 0.5606 GB " [Timeout remaining time 649] (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.530577584999264] Failed to read output from testmodel.py, exit status != 0: 11.482548549000057 11.51242502 11.294398347 Calling exit ...