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.001319/0.001319, allocations: 105 kB / 16.36 MB, free: 6.426 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.001355/0.001355, allocations: 195.5 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.801/1.801, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.00145/0.00145, allocations: 74.23 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2131, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001829/0.215, allocations: 0.5981 MB / 0.7854 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002999/0.2153, allocations: 71.84 kB / 0.7854 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.2153, allocations: 4 kB / 0.7854 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.2154, allocations: 3.938 kB / 0.7855 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.2154, allocations: 4 kB / 0.7855 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.2157, allocations: 43.88 kB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.484e-05/0.2158, allocations: 23.97 kB / 0.7855 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.2158, allocations: 7.984 kB / 0.7855 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.217e-05/0.2158, allocations: 11.94 kB / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.216, allocations: 71.94 kB / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.2161, allocations: 3.984 kB / 0.7856 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.2162, allocations: 35.97 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.2162, allocations: 23.86 kB / 0.7857 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.2162, allocations: 19.88 kB / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.2164, allocations: 63.8 kB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2164, allocations: 0 / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2164, allocations: 3.938 kB / 0.7858 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.2164, allocations: 0 / 0.7858 GB, free: 2.188 MB / 0.6544 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.0003455/0.2168, allocations: 367.4 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2168, allocations: 12.03 kB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.2168, allocations: 8.844 kB / 0.7861 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.2169, allocations: 168.3 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.217, allocations: 384 / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.217, allocations: 4.375 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.2172, allocations: 183.4 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2173, allocations: 0 / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2173, allocations: 0 / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.2173, allocations: 31.91 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.2174, allocations: 43.83 kB / 0.7865 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.2181, allocations: 0.8984 MB / 0.7874 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.703e-05/0.2182, allocations: 169.1 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.2182, allocations: 80.14 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3467/0.5649, allocations: 79.28 kB / 0.7877 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.565, allocations: 109 kB / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.064e-06/0.565, allocations: 0 / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001046/0.5651, allocations: 39.25 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.5652, allocations: 387.2 kB / 0.7882 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.5653, allocations: 171 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.5654, allocations: 25.7 kB / 0.7884 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.5654, allocations: 153 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.5654, allocations: 6 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.5655, allocations: 56.5 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.5655, allocations: 324.4 kB / 0.7889 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.672e-05/0.5656, allocations: 25.58 kB / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.892e-05/0.5657, allocations: 217.4 kB / 0.7892 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.5658, allocations: 203.2 kB / 0.7894 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5658, allocations: 3.125 kB / 0.7894 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002457/0.5661, allocations: 183.7 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5661, allocations: 8.125 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.5661, allocations: 8.469 kB / 0.7896 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5661, allocations: 6.562 kB / 0.7896 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.5663, allocations: 34.89 kB / 0.7896 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.5663, allocations: 14.09 kB / 0.7896 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.883e-05/0.5664, allocations: 30.25 kB / 0.7896 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.5664, allocations: 12.53 kB / 0.7897 GB, free: 47.21 MB / 0.6544 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 7.625e-05/0.5665, allocations: 218.2 kB / 0.7899 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.5665, allocations: 114.5 kB / 0.79 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.5666, allocations: 121.9 kB / 0.7901 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.5666, allocations: 186.1 kB / 0.7903 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/0.5666, allocations: 185.6 kB / 0.7904 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.5667, allocations: 176.9 kB / 0.7906 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.5668, allocations: 419.4 kB / 0.791 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.5668, allocations: 101.8 kB / 0.7911 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.5668, allocations: 108.4 kB / 0.7912 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-05/0.5669, allocations: 181.5 kB / 0.7914 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.5669, allocations: 185.5 kB / 0.7916 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-05/0.5669, allocations: 180.7 kB / 0.7917 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.223e-05/0.5669, allocations: 187.3 kB / 0.7919 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.735e-05/0.567, allocations: 310.7 kB / 0.7922 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.5671, allocations: 191.5 kB / 0.7924 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.5671, allocations: 184.3 kB / 0.7926 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.5672, allocations: 108.4 kB / 0.7927 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.5672, allocations: 185.5 kB / 0.7928 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.5672, allocations: 109.2 kB / 0.7929 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.5673, allocations: 115.5 kB / 0.7931 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5673, allocations: 0 / 0.7931 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003062/0.5676, allocations: 29.09 kB / 0.7931 GB, free: 43.71 MB / 0.6544 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.0001473/0.5677, allocations: 187.5 kB / 0.7933 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.5679, allocations: 82.27 kB / 0.7933 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5679, allocations: 0 / 0.7933 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.5679, allocations: 0 / 0.7933 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.5682, allocations: 466.8 kB / 0.7938 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002038/0.5684, allocations: 227 kB / 0.794 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.5685, allocations: 0.6942 MB / 0.7947 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.5687, allocations: 57.97 kB / 0.7947 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.5687, allocations: 13.25 kB / 0.7948 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.5687, allocations: 0.5312 kB / 0.7948 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.003529/0.5723, allocations: 1.658 MB / 0.7964 GB, free: 42.16 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)