Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.744/1.744, allocations: 287.5 MB / 302.6 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 185.1 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 0.6298 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000766/0.0007661, allocations: 96.27 kB / 0.7432 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004138, allocations: 17.06 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2065, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007505/0.2073, allocations: 335.5 kB / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002784/0.2076, allocations: 67.86 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.2076, allocations: 4 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.2077, allocations: 3.938 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.2077, allocations: 4 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.2079, allocations: 31.95 kB / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.208, allocations: 31.91 kB / 0.9791 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.2081, allocations: 0 / 0.9791 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.391e-05/0.2081, allocations: 23.97 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.2083, allocations: 71.88 kB / 0.9792 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2083, allocations: 0 / 0.9792 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.2084, allocations: 35.97 kB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.2084, allocations: 15.98 kB / 0.9793 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.2085, allocations: 37.58 kB / 0.9793 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.986e-05/0.2085, allocations: 39.94 kB / 0.9794 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2086, allocations: 0 / 0.9794 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2086, allocations: 0 / 0.9794 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2086, allocations: 4 kB / 0.9794 GB, free: 27.47 MB / 0.6198 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.0002654/0.2088, allocations: 347.7 kB / 0.9797 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2089, allocations: 8.031 kB / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.2089, allocations: 8.844 kB / 0.9797 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.431e-05/0.209, allocations: 172.3 kB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.209, allocations: 4.359 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.209, allocations: 4.312 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.2092, allocations: 187.4 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2093, allocations: 0 / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2093, allocations: 4 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.2093, allocations: 27.97 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.2094, allocations: 35.91 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.2099, allocations: 0.8984 MB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.908e-05/0.2099, allocations: 169.1 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.21, allocations: 92.08 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.21, allocations: 75.28 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.21, allocations: 109.8 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.21, allocations: 0 / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.911e-05/0.2101, allocations: 33.61 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.2102, allocations: 395.7 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2103, allocations: 167.3 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.2103, allocations: 25.7 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.2104, allocations: 155.1 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.2104, allocations: 3.938 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.2104, allocations: 4 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.2104, allocations: 326.8 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.141e-05/0.2105, allocations: 23.98 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.2106, allocations: 218.6 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.2107, allocations: 201.7 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2107, allocations: 0 / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002323/0.211, allocations: 193.6 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.211, allocations: 4 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.211, allocations: 4 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.211, allocations: 11.98 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2111, allocations: 43.86 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2111, allocations: 7.938 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.2112, allocations: 31.78 kB / 0.9832 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2112, allocations: 11.94 kB / 0.9832 GB, free: 23.05 MB / 0.6198 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 7.63e-05/0.2113, allocations: 221.1 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.2114, allocations: 109 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.2114, allocations: 120.8 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.2114, allocations: 180.2 kB / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/0.2115, allocations: 180.2 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/0.2115, allocations: 184.2 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.2116, allocations: 425.2 kB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.2117, allocations: 104.9 kB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.2117, allocations: 109 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.19e-05/0.2117, allocations: 176.3 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.2117, allocations: 180.2 kB / 0.9851 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.342e-05/0.2118, allocations: 188.2 kB / 0.9853 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.437e-05/0.2118, allocations: 189.1 kB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.168e-05/0.2119, allocations: 307.7 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.2119, allocations: 186 kB / 0.9859 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.212, allocations: 184.2 kB / 0.9861 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.729e-05/0.212, allocations: 116.9 kB / 0.9862 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.2121, allocations: 176.6 kB / 0.9864 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2121, allocations: 104.9 kB / 0.9865 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.2121, allocations: 113.3 kB / 0.9866 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2121, allocations: 4 kB / 0.9866 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000254/0.2124, allocations: 28 kB / 0.9866 GB, free: 19.32 MB / 0.6198 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.0001618/0.2126, allocations: 190.5 kB / 0.9868 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.2127, allocations: 71.78 kB / 0.9869 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2127, allocations: 1.312 kB / 0.9869 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.2127, allocations: 32 / 0.9869 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.213, allocations: 0.532 MB / 0.9874 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.2132, allocations: 250.5 kB / 0.9876 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.2133, allocations: 0.6932 MB / 0.9883 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.2135, allocations: 56.52 kB / 0.9884 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.29e-05/0.2136, allocations: 15.44 kB / 0.9884 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2136, allocations: 4 kB / 0.9884 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.00352/0.2171, allocations: 1.692 MB / 0.99 GB, free: 15.8 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)