Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000568/0.000568, allocations: 16.88 kB / 0.6736 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008221/0.2747, allocations: 341.8 kB / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000303/0.2751, allocations: 65.55 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.2751, allocations: 0 / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.2751, allocations: 3.938 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.2752, allocations: 7.984 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.2755, allocations: 31.95 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.2756, allocations: 19.97 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.919e-05/0.2757, allocations: 4 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.2757, allocations: 15.98 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.2759, allocations: 79.84 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.276, allocations: 4 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.2761, allocations: 31.91 kB / 0.7877 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.2761, allocations: 23.92 kB / 0.7877 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.2761, allocations: 29.7 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.2763, allocations: 39.94 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2763, allocations: 0 / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2763, allocations: 0 / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2763, allocations: 3.938 kB / 0.7878 GB, free: 11.25 MB / 0.6075 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.0003534/0.2766, allocations: 355.5 kB / 0.7881 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2767, allocations: 8.031 kB / 0.7881 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.2767, allocations: 7.906 kB / 0.7882 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2769, allocations: 174.9 kB / 0.7883 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2769, allocations: 0 / 0.7883 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.2769, allocations: 3.984 kB / 0.7883 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.2772, allocations: 183.3 kB / 0.7885 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2772, allocations: 0 / 0.7885 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.2772, allocations: 7.984 kB / 0.7885 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/0.2773, allocations: 19.98 kB / 0.7885 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.2774, allocations: 39.84 kB / 0.7886 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007495/0.2781, allocations: 0.8985 MB / 0.7894 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.062e-05/0.2782, allocations: 169.1 kB / 0.7896 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.2783, allocations: 75.28 kB / 0.7897 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.2783, allocations: 113.8 kB / 0.7898 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.2783, allocations: 0 / 0.7898 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.065e-05/0.2784, allocations: 37.61 kB / 0.7898 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.2786, allocations: 387.7 kB / 0.7902 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2788, allocations: 173.3 kB / 0.7904 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2788, allocations: 25.7 kB / 0.7904 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.2789, allocations: 147.3 kB / 0.7905 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.2789, allocations: 11.98 kB / 0.7905 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.2789, allocations: 4 kB / 0.7905 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.279, allocations: 318.8 kB / 0.7908 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.2791, allocations: 24.34 kB / 0.7909 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.2793, allocations: 223.3 kB / 0.7911 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.2794, allocations: 63.86 kB / 0.7911 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.2794, allocations: 0 / 0.7911 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003099/0.2797, allocations: 189.1 kB / 0.7913 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2798, allocations: 8.641 kB / 0.7913 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.2798, allocations: 8 kB / 0.7913 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.2798, allocations: 8 kB / 0.7913 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.28, allocations: 43.92 kB / 0.7914 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.28, allocations: 8.031 kB / 0.7914 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.803e-05/0.2801, allocations: 39.56 kB / 0.7914 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.2801, allocations: 12 kB / 0.7914 GB, free: 7.109 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.2802, allocations: 212.9 kB / 0.7916 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.2803, allocations: 114.2 kB / 0.7917 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.2804, allocations: 120.8 kB / 0.7919 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.69e-05/0.2805, allocations: 176.3 kB / 0.792 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.139e-05/0.2805, allocations: 180.2 kB / 0.7922 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.345e-05/0.2806, allocations: 184.3 kB / 0.7924 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.2809, allocations: 413.2 kB / 0.7928 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.707e-05/0.2809, allocations: 112.9 kB / 0.7929 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.281, allocations: 113 kB / 0.793 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.855e-05/0.281, allocations: 180.2 kB / 0.7932 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/0.2811, allocations: 176.4 kB / 0.7933 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.646e-05/0.2812, allocations: 180.2 kB / 0.7935 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.158e-05/0.2812, allocations: 192.2 kB / 0.7937 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.2814, allocations: 315.7 kB / 0.794 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.2815, allocations: 189.9 kB / 0.7942 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/0.2816, allocations: 180.3 kB / 0.7943 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2817, allocations: 112.9 kB / 0.7944 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.2818, allocations: 180.3 kB / 0.7946 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.2818, allocations: 104.9 kB / 0.7947 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.2819, allocations: 119.8 kB / 0.7948 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2819, allocations: 0 / 0.7948 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003134/0.2822, allocations: 24 kB / 0.7949 GB, free: 3.379 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002121/0.2824, allocations: 186.5 kB / 0.795 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.2826, allocations: 79.97 kB / 0.7951 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2826, allocations: 0 / 0.7951 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/0.2826, allocations: 0 / 0.7951 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.283, allocations: 0.5235 MB / 0.7956 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.2833, allocations: 250.4 kB / 0.7959 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.2836, allocations: 0.6971 MB / 0.7965 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002039/0.2838, allocations: 56.36 kB / 0.7966 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.2838, allocations: 15.44 kB / 0.7966 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2838, allocations: 0 / 0.7966 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of Templates: time 0.004481/0.2883, allocations: 1.689 MB / 0.7983 GB, free: 15.85 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) Environment - environmentSimulation: