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.001443/0.001443, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001565/0.001565, allocations: 165 kB / 22.46 MB, free: 5.359 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.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.0036/0.0036, allocations: 226 kB / 259.4 MB, free: 496 kB / 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.091/1.091, allocations: 138.4 MB / 454.3 MB, free: 2.027 MB / 366.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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6469 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.422e-05, allocations: 2.281 kB / 0.6469 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001511/0.001535, allocations: 0.6109 MB / 0.6475 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003072/0.001843, allocations: 63.86 kB / 0.6475 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.001863, allocations: 4 kB / 0.6475 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.001894, allocations: 3.984 kB / 0.6475 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.001936, allocations: 7.938 kB / 0.6475 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.002238, allocations: 43.94 kB / 0.6476 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.776e-05/0.002316, allocations: 27.91 kB / 0.6476 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.002354, allocations: 4 kB / 0.6476 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.002395, allocations: 23.91 kB / 0.6476 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.002612, allocations: 75.86 kB / 0.6477 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.002627, allocations: 4 kB / 0.6477 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.002731, allocations: 39.94 kB / 0.6477 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.002771, allocations: 19.98 kB / 0.6478 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.002795, allocations: 7.938 kB / 0.6478 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.002949, allocations: 83.77 kB / 0.6478 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.002951, allocations: 0 / 0.6478 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002952, allocations: 0 / 0.6478 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.002955, allocations: 0 / 0.6478 GB, free: 3.965 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.0003439/0.003299, allocations: 282.2 kB / 0.6481 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.003334, allocations: 13.33 kB / 0.6481 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.003369, allocations: 4.938 kB / 0.6481 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.903e-05/0.003458, allocations: 113.7 kB / 0.6482 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.003473, allocations: 4.359 kB / 0.6482 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.003487, allocations: 4.375 kB / 0.6482 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.00388, allocations: 436.9 kB / 0.6487 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.003889, allocations: 192 / 0.6487 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.003906, allocations: 8.125 kB / 0.6487 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.003948, allocations: 23.98 kB / 0.6487 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.00402, allocations: 39.84 kB / 0.6487 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.00472, allocations: 0.8396 MB / 0.6496 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.004826, allocations: 173.1 kB / 0.6497 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.004864, allocations: 84.14 kB / 0.6498 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.004898, allocations: 75.28 kB / 0.6499 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.496e-05/0.004963, allocations: 121.8 kB / 0.65 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.004964, allocations: 0 / 0.65 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.452e-05/0.005048, allocations: 38.89 kB / 0.65 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/0.005256, allocations: 387.7 kB / 0.6504 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.005432, allocations: 184.5 kB / 0.6506 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.005452, allocations: 25.7 kB / 0.6506 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/0.005549, allocations: 151.5 kB / 0.6507 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.005554, allocations: 4 kB / 0.6507 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.005628, allocations: 57.59 kB / 0.6508 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.005767, allocations: 326.8 kB / 0.6511 GB, free: 300 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.00581, allocations: 27.92 kB / 0.6511 GB, free: 272 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.258/0.2638, allocations: 472.7 kB / 0.6516 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.264, allocations: 202 kB / 0.6518 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.264, allocations: 3.5 kB / 0.6518 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003318/0.2644, allocations: 190.1 kB / 0.652 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2644, allocations: 9.297 kB / 0.652 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2644, allocations: 3.406 kB / 0.652 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.2644, allocations: 8 kB / 0.652 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.2645, allocations: 40.08 kB / 0.652 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2646, allocations: 8.297 kB / 0.652 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.2647, allocations: 32.64 kB / 0.6521 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2647, allocations: 11.94 kB / 0.6521 GB, free: 56.08 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 9.544e-05/0.2648, allocations: 216.4 kB / 0.6523 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.2648, allocations: 118.5 kB / 0.6524 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.2649, allocations: 114.6 kB / 0.6525 GB, free: 55.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.32e-05/0.2649, allocations: 177.8 kB / 0.6527 GB, free: 55.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.022e-05/0.2649, allocations: 185.2 kB / 0.6528 GB, free: 55.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/0.2649, allocations: 177.8 kB / 0.653 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.2651, allocations: 374.6 kB / 0.6534 GB, free: 54.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.2651, allocations: 109.4 kB / 0.6535 GB, free: 54.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.271e-05/0.2651, allocations: 107.7 kB / 0.6536 GB, free: 54.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.473e-05/0.2651, allocations: 184.4 kB / 0.6538 GB, free: 54.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.2652, allocations: 184.3 kB / 0.6539 GB, free: 54.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.193e-05/0.2652, allocations: 183.5 kB / 0.6541 GB, free: 53.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.14e-05/0.2652, allocations: 180.6 kB / 0.6543 GB, free: 53.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.134e-05/0.2653, allocations: 317.8 kB / 0.6546 GB, free: 53.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.2653, allocations: 106.8 kB / 0.6547 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.2653, allocations: 184.9 kB / 0.6549 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.2654, allocations: 110.3 kB / 0.655 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.2654, allocations: 188.5 kB / 0.6551 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.2655, allocations: 102.2 kB / 0.6552 GB, free: 52.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.2655, allocations: 115.8 kB / 0.6554 GB, free: 52.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2655, allocations: 0.5312 kB / 0.6554 GB, free: 52.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003149/0.2658, allocations: 25.88 kB / 0.6554 GB, free: 52.73 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.0001674/0.266, allocations: 190.2 kB / 0.6556 GB, free: 52.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.2661, allocations: 71.38 kB / 0.6556 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.2661, allocations: 5.562 kB / 0.6556 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.2661, allocations: 5.188 kB / 0.6556 GB, free: 52.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.2664, allocations: 465.8 kB / 0.6561 GB, free: 52.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.2667, allocations: 235.1 kB / 0.6563 GB, free: 51.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.475e-05/0.2667, allocations: 78.33 kB / 0.6564 GB, free: 51.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001919/0.2669, allocations: 58.92 kB / 0.6564 GB, free: 51.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.2669, allocations: 15.62 kB / 0.6565 GB, free: 51.85 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2669, allocations: 3.906 kB / 0.6565 GB, free: 51.85 MB / 0.5606 GB Notification: Performance of Templates: time 0.004188/0.2711, allocations: 1.806 MB / 0.6582 GB, free: 51.7 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.810396194458008] Failed to read output from testmodel.py, exit status != 0: 0.27842120453715324 0.28805606999999994 0.28290102199999995 Calling exit ...