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.0007362/0.0007363, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005251/0.005251, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.459/1.459, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.688/1.688, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005457/0.0005457, allocations: 24.91 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2346, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006741/0.2353, allocations: 339.5 kB / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002882/0.2356, allocations: 71.84 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.2357, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.2357, allocations: 3.938 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.2357, allocations: 4 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.2359, allocations: 31.95 kB / 0.7883 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.109e-05/0.236, allocations: 35.89 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.2361, allocations: 0 / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.383e-05/0.2361, allocations: 23.92 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.2363, allocations: 67.92 kB / 0.7884 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.2363, allocations: 0 / 0.7884 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.353e-05/0.2364, allocations: 43.89 kB / 0.7885 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.2364, allocations: 19.92 kB / 0.7885 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.2365, allocations: 45.58 kB / 0.7885 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.2366, allocations: 59.8 kB / 0.7886 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2366, allocations: 0 / 0.7886 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2366, allocations: 4 kB / 0.7886 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2366, allocations: 0 / 0.7886 GB, free: 10.8 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.0002867/0.2369, allocations: 355.7 kB / 0.7889 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.237, allocations: 8.031 kB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.237, allocations: 8.844 kB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.2371, allocations: 172.3 kB / 0.7891 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.2371, allocations: 384 / 0.7891 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2371, allocations: 4.375 kB / 0.7891 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.2373, allocations: 185.8 kB / 0.7893 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2374, allocations: 4 kB / 0.7893 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2374, allocations: 0 / 0.7893 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/0.2374, allocations: 23.98 kB / 0.7893 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.238e-05/0.2375, allocations: 39.84 kB / 0.7894 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.2381, allocations: 0.8946 MB / 0.7902 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.326e-05/0.2382, allocations: 181.1 kB / 0.7904 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.2383, allocations: 88.14 kB / 0.7905 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.2383, allocations: 75.28 kB / 0.7906 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.2383, allocations: 105.8 kB / 0.7907 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.2383, allocations: 3.938 kB / 0.7907 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.05e-05/0.2384, allocations: 37.61 kB / 0.7907 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.2386, allocations: 395.6 kB / 0.7911 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.2388, allocations: 168.7 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2388, allocations: 29.7 kB / 0.7913 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.2389, allocations: 151.1 kB / 0.7914 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.2389, allocations: 4 kB / 0.7914 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.2389, allocations: 21.7 kB / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.239, allocations: 322.8 kB / 0.7918 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.2391, allocations: 27.97 kB / 0.7918 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.2392, allocations: 218.5 kB / 0.792 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.2394, allocations: 197.8 kB / 0.7922 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2394, allocations: 4 kB / 0.7922 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002827/0.2397, allocations: 189.7 kB / 0.7924 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2397, allocations: 12.03 kB / 0.7924 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2397, allocations: 4 kB / 0.7924 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2398, allocations: 8 kB / 0.7924 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.2399, allocations: 39.95 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2399, allocations: 15.88 kB / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.481e-05/0.24, allocations: 35.69 kB / 0.7925 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.24, allocations: 8 kB / 0.7925 GB, free: 6.344 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.2401, allocations: 217.6 kB / 0.7927 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.2402, allocations: 109 kB / 0.7928 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.2403, allocations: 116.8 kB / 0.7929 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.534e-05/0.2403, allocations: 180.2 kB / 0.7931 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-05/0.2404, allocations: 188.2 kB / 0.7933 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.053e-05/0.2405, allocations: 176.3 kB / 0.7934 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.2407, allocations: 429.2 kB / 0.7938 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.885e-05/0.2407, allocations: 104.9 kB / 0.7939 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.2408, allocations: 101 kB / 0.794 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.814e-05/0.2408, allocations: 185.2 kB / 0.7942 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/0.2409, allocations: 180.3 kB / 0.7944 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.814e-05/0.2409, allocations: 180.2 kB / 0.7946 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.054e-05/0.241, allocations: 184.2 kB / 0.7947 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2411, allocations: 315.7 kB / 0.795 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.2412, allocations: 186 kB / 0.7952 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.2413, allocations: 192.1 kB / 0.7954 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/0.2414, allocations: 109.2 kB / 0.7955 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.2415, allocations: 180.3 kB / 0.7957 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.2415, allocations: 108.9 kB / 0.7958 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.074e-05/0.2416, allocations: 111.2 kB / 0.7959 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2416, allocations: 0 / 0.7959 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003004/0.2419, allocations: 28 kB / 0.7959 GB, free: 2.613 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 (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.0001768/0.2421, allocations: 190.5 kB / 0.7961 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.2422, allocations: 71.8 kB / 0.7962 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2422, allocations: 4 kB / 0.7962 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.2422, allocations: 0 / 0.7962 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.2426, allocations: 0.5393 MB / 0.7967 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.2429, allocations: 242.6 kB / 0.7969 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.2431, allocations: 0.6932 MB / 0.7976 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.2433, allocations: 60.38 kB / 0.7976 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.2433, allocations: 11.44 kB / 0.7977 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2434, allocations: 4 kB / 0.7977 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of Templates: time 0.003674/0.247, allocations: 1.741 MB / 0.7994 GB, free: 15.03 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: