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.001048/0.001048, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001177/0.001177, allocations: 172.7 kB / 15.95 MB, free: 208 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.664/1.664, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.9/1.9, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005379/0.000538, allocations: 20.31 kB / 0.6737 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2777, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008292/0.2786, allocations: 343.5 kB / 0.7876 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000304/0.2789, allocations: 75.81 kB / 0.7877 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.279, allocations: 0 / 0.7877 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.279, allocations: 3.938 kB / 0.7877 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.602e-05/0.279, allocations: 4 kB / 0.7877 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.2793, allocations: 31.95 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.029e-05/0.2794, allocations: 31.91 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.2795, allocations: 0 / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.911e-05/0.2795, allocations: 23.97 kB / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.2797, allocations: 71.88 kB / 0.7878 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.2798, allocations: 4 kB / 0.7878 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.433e-05/0.2799, allocations: 31.97 kB / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.2799, allocations: 23.91 kB / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.2799, allocations: 29.7 kB / 0.7879 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.214e-05/0.28, allocations: 35.95 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.28, allocations: 0 / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2801, allocations: 7.938 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2801, allocations: 4 kB / 0.788 GB, free: 11.23 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.0003371/0.2804, allocations: 347.5 kB / 0.7883 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2805, allocations: 8.031 kB / 0.7883 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.2805, allocations: 7.906 kB / 0.7883 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2806, allocations: 174.9 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.2806, allocations: 0 / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2807, allocations: 4 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.2809, allocations: 181.7 kB / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.281, allocations: 4 kB / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.281, allocations: 0 / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/0.281, allocations: 23.98 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.2811, allocations: 39.84 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/0.2819, allocations: 0.8985 MB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.2821, allocations: 173.1 kB / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.2821, allocations: 88.17 kB / 0.7899 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.2821, allocations: 75.28 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.2822, allocations: 109.8 kB / 0.79 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2822, allocations: 0 / 0.79 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.882e-05/0.2823, allocations: 33.61 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.2825, allocations: 403.6 kB / 0.7904 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.2826, allocations: 165.6 kB / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2826, allocations: 25.7 kB / 0.7906 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.2827, allocations: 151.3 kB / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-06/0.2828, allocations: 0 / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.2828, allocations: 4 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2829, allocations: 326.8 kB / 0.7911 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.079e-05/0.2829, allocations: 24.36 kB / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.2831, allocations: 223.2 kB / 0.7913 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.183e-05/0.2832, allocations: 59.91 kB / 0.7914 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2833, allocations: 4 kB / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003745/0.2836, allocations: 189.4 kB / 0.7916 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2837, allocations: 8 kB / 0.7916 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.2837, allocations: 4 kB / 0.7916 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2837, allocations: 8 kB / 0.7916 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.2838, allocations: 39.86 kB / 0.7916 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.2838, allocations: 11.94 kB / 0.7916 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.765e-05/0.2839, allocations: 31.69 kB / 0.7917 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.284, allocations: 12.38 kB / 0.7917 GB, free: 7.02 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.0001833/0.2841, allocations: 221.6 kB / 0.7919 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.518e-05/0.2842, allocations: 113.9 kB / 0.792 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.2843, allocations: 116.8 kB / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001258/0.2844, allocations: 180.3 kB / 0.7923 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001446/0.2846, allocations: 180.2 kB / 0.7925 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001413/0.2847, allocations: 184.2 kB / 0.7926 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.285, allocations: 421.2 kB / 0.793 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.851e-05/0.2851, allocations: 104.9 kB / 0.7931 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.2851, allocations: 105 kB / 0.7932 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-05/0.2852, allocations: 192.2 kB / 0.7934 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.2853, allocations: 188.4 kB / 0.7936 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.844e-05/0.2853, allocations: 180.3 kB / 0.7938 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.591e-05/0.2854, allocations: 180.2 kB / 0.7939 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.2856, allocations: 311.8 kB / 0.7942 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.61e-05/0.2857, allocations: 190 kB / 0.7944 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.87e-05/0.2857, allocations: 184.3 kB / 0.7946 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.2858, allocations: 108.9 kB / 0.7947 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.2859, allocations: 184.2 kB / 0.7949 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.286, allocations: 104.9 kB / 0.795 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.866e-05/0.2861, allocations: 111.8 kB / 0.7951 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2861, allocations: 0 / 0.7951 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000367/0.2865, allocations: 32 kB / 0.7951 GB, free: 3.277 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.0002177/0.2867, allocations: 186.5 kB / 0.7953 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.2868, allocations: 68.97 kB / 0.7954 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2868, allocations: 4 kB / 0.7954 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.2869, allocations: 0 / 0.7954 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.2873, allocations: 0.542 MB / 0.7959 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.2877, allocations: 242.4 kB / 0.7961 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.2881, allocations: 0.701 MB / 0.7968 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002104/0.2883, allocations: 52.47 kB / 0.7969 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.2883, allocations: 19.38 kB / 0.7969 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2883, allocations: 0 / 0.7969 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of Templates: time 0.004261/0.2926, allocations: 1.694 MB / 0.7985 GB, free: 15.74 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: