Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.00103, allocations: 177.9 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 93.95 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 13.47 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2783, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.000839/0.2792, allocations: 350.3 kB / 0.9018 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003979/0.2797, allocations: 69.12 kB / 0.9019 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.2797, allocations: 7.938 kB / 0.9019 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.2798, allocations: 7.938 kB / 0.9019 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.2798, allocations: 4 kB / 0.9019 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.2802, allocations: 35.95 kB / 0.9019 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.2802, allocations: 27.91 kB / 0.9019 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.268e-05/0.2803, allocations: 7.984 kB / 0.902 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.849e-05/0.2803, allocations: 8 kB / 0.902 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.2806, allocations: 67.86 kB / 0.902 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.2806, allocations: 4 kB / 0.902 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.2807, allocations: 43.95 kB / 0.9021 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.2808, allocations: 15.98 kB / 0.9021 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.2809, allocations: 49.5 kB / 0.9021 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.281, allocations: 39.94 kB / 0.9022 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.281, allocations: 0 / 0.9022 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.584e-06/0.281, allocations: 0 / 0.9022 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.281, allocations: 0 / 0.9022 GB, free: 62.75 MB / 0.6042 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.0003504/0.2814, allocations: 351.4 kB / 0.9025 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.2814, allocations: 8.031 kB / 0.9025 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.2815, allocations: 8.844 kB / 0.9025 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.548e-05/0.2816, allocations: 176.5 kB / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2816, allocations: 384 / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.2816, allocations: 384 / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.2819, allocations: 183.4 kB / 0.9029 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2819, allocations: 0 / 0.9029 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.2819, allocations: 4 kB / 0.9029 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/0.282, allocations: 23.98 kB / 0.9029 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/0.282, allocations: 35.91 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.2827, allocations: 0.9139 MB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.643e-05/0.2827, allocations: 169.1 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.2828, allocations: 80.14 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2828, allocations: 79.28 kB / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.2829, allocations: 113.8 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2829, allocations: 0 / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 0.0001017/0.283, allocations: 37.73 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.2831, allocations: 383.7 kB / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.2832, allocations: 168.8 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2833, allocations: 29.7 kB / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.2833, allocations: 158.9 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.2834, allocations: 4 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.2834, allocations: 8 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.2835, allocations: 318.8 kB / 0.9053 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.2835, allocations: 27.97 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.2836, allocations: 218.5 kB / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.2838, allocations: 197.8 kB / 0.9057 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2838, allocations: 0 / 0.9057 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002868/0.2841, allocations: 189.2 kB / 0.9059 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.2842, allocations: 8 kB / 0.9059 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2842, allocations: 4 kB / 0.9059 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2842, allocations: 4.656 kB / 0.9059 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2843, allocations: 47.86 kB / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.2843, allocations: 11.94 kB / 0.906 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.697e-05/0.2845, allocations: 31.73 kB / 0.906 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.2845, allocations: 12 kB / 0.906 GB, free: 58.32 MB / 0.6042 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.0001203/0.2846, allocations: 205 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.809e-05/0.2847, allocations: 120.9 kB / 0.9063 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.2847, allocations: 112.8 kB / 0.9064 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.789e-05/0.2848, allocations: 184.3 kB / 0.9066 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.964e-05/0.2848, allocations: 184.2 kB / 0.9068 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/0.2848, allocations: 188.2 kB / 0.907 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.285, allocations: 409.2 kB / 0.9074 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/0.2851, allocations: 112.9 kB / 0.9075 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.2851, allocations: 109 kB / 0.9076 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.084e-05/0.2851, allocations: 184.2 kB / 0.9077 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.311e-05/0.2852, allocations: 176.3 kB / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.713e-05/0.2853, allocations: 188.2 kB / 0.9081 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.594e-05/0.2853, allocations: 180.2 kB / 0.9083 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.2854, allocations: 319.7 kB / 0.9086 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.2855, allocations: 186 kB / 0.9087 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.2855, allocations: 180.2 kB / 0.9089 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.2856, allocations: 116.9 kB / 0.909 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.2857, allocations: 180.5 kB / 0.9092 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.2857, allocations: 104.9 kB / 0.9093 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.712e-05/0.2858, allocations: 122.6 kB / 0.9094 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2858, allocations: 3.938 kB / 0.9094 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003307/0.2861, allocations: 28 kB / 0.9094 GB, free: 54.58 MB / 0.6042 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.0001929/0.2863, allocations: 182.5 kB / 0.9096 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.2865, allocations: 80.64 kB / 0.9097 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2865, allocations: 4 kB / 0.9097 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.2865, allocations: 32 / 0.9097 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.2868, allocations: 0.5323 MB / 0.9102 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.2872, allocations: 280.9 kB / 0.9105 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.2873, allocations: 0.6893 MB / 0.9112 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.834e-05/0.2874, allocations: 15.44 kB / 0.9112 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2874, allocations: 0 / 0.9112 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of Templates: time 0.0035/0.2909, allocations: 1.687 MB / 0.9128 GB, free: 51.07 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)