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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.572/1.572, allocations: 292.3 MB / 308.1 MB, free: 4.219 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.001283/0.001283, allocations: 188.5 kB / 376.9 MB, free: 1.766 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.37/1.37, allocations: 205 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009229/0.0009229, allocations: 99.66 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009766/0.0009766, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2291, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001885/0.231, allocations: 0.6782 MB / 0.9829 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003297/0.2314, allocations: 71.84 kB / 0.983 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.2314, allocations: 0 / 0.983 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.2315, allocations: 0 / 0.983 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.2315, allocations: 7.984 kB / 0.983 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.2318, allocations: 39.83 kB / 0.983 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.478e-05/0.2319, allocations: 31.97 kB / 0.983 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.2319, allocations: 4 kB / 0.983 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.232, allocations: 11.98 kB / 0.983 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.2322, allocations: 71.86 kB / 0.9831 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2322, allocations: 0 / 0.9831 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.386e-05/0.2323, allocations: 35.95 kB / 0.9831 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.2323, allocations: 19.98 kB / 0.9832 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.2324, allocations: 19.81 kB / 0.9832 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.2325, allocations: 67.78 kB / 0.9832 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2325, allocations: 4 kB / 0.9833 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.52e-07/0.2325, allocations: 3.938 kB / 0.9833 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2325, allocations: 4 kB / 0.9833 GB, free: 9.297 MB / 0.7136 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.0003344/0.2329, allocations: 363.7 kB / 0.9836 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2329, allocations: 8.031 kB / 0.9836 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.233, allocations: 8.844 kB / 0.9836 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.754e-05/0.233, allocations: 168.3 kB / 0.9838 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.2331, allocations: 384 / 0.9838 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2331, allocations: 4.359 kB / 0.9838 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.2333, allocations: 186 kB / 0.984 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2333, allocations: 0 / 0.984 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2333, allocations: 7.984 kB / 0.984 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.2334, allocations: 23.92 kB / 0.984 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.629e-05/0.2335, allocations: 43.89 kB / 0.984 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.2341, allocations: 0.8984 MB / 0.9849 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.236e-05/0.2341, allocations: 177.1 kB / 0.9851 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.2342, allocations: 80.14 kB / 0.9852 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2342, allocations: 75.28 kB / 0.9852 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.2343, allocations: 113.8 kB / 0.9853 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.2343, allocations: 3.938 kB / 0.9853 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.937e-05/0.2344, allocations: 33.61 kB / 0.9854 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.2345, allocations: 391.7 kB / 0.9857 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2346, allocations: 165.6 kB / 0.9859 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.2347, allocations: 29.7 kB / 0.9859 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.2347, allocations: 143.2 kB / 0.9861 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.2348, allocations: 11.97 kB / 0.9861 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.694e-05/0.2348, allocations: 53.61 kB / 0.9861 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.2349, allocations: 322.8 kB / 0.9864 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.235, allocations: 27.97 kB / 0.9865 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.2351, allocations: 224.8 kB / 0.9867 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.2353, allocations: 201.7 kB / 0.9869 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2353, allocations: 0 / 0.9869 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002713/0.2356, allocations: 193.5 kB / 0.9871 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2356, allocations: 8 kB / 0.9871 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2356, allocations: 8 kB / 0.9871 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.2356, allocations: 11.94 kB / 0.9871 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.2358, allocations: 43.86 kB / 0.9871 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2358, allocations: 8 kB / 0.9871 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.2359, allocations: 35.67 kB / 0.9872 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.2359, allocations: 8 kB / 0.9872 GB, free: 4.797 MB / 0.7136 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.0001106/0.236, allocations: 217.2 kB / 0.9874 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.2361, allocations: 116.9 kB / 0.9875 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.2361, allocations: 108.9 kB / 0.9876 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-05/0.2362, allocations: 188.1 kB / 0.9878 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.898e-05/0.2362, allocations: 184.3 kB / 0.988 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.697e-05/0.2363, allocations: 184.2 kB / 0.9881 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.2365, allocations: 417.2 kB / 0.9885 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/0.2365, allocations: 101 kB / 0.9886 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.2366, allocations: 112.9 kB / 0.9887 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-05/0.2366, allocations: 176.3 kB / 0.9889 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/0.2367, allocations: 184.2 kB / 0.9891 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.012e-05/0.2368, allocations: 184.2 kB / 0.9893 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.827e-05/0.2368, allocations: 176.3 kB / 0.9894 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.2372, allocations: 0.8533 MB / 0.9903 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.2373, allocations: 198 kB / 0.9904 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2374, allocations: 188.2 kB / 0.9906 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.2375, allocations: 105.1 kB / 0.9907 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.2376, allocations: 180.2 kB / 0.9909 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.2376, allocations: 108.9 kB / 0.991 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.013e-05/0.2377, allocations: 122 kB / 0.9911 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2377, allocations: 4 kB / 0.9911 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000408/0.2382, allocations: 28 kB / 0.9911 GB, free: 480 kB / 0.7136 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.000194/0.2384, allocations: 186.5 kB / 0.9913 GB, free: 284 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.2385, allocations: 76.66 kB / 0.9914 GB, free: 208 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2385, allocations: 384 / 0.9914 GB, free: 208 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.2385, allocations: 4 kB / 0.9914 GB, free: 204 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.2389, allocations: 0.534 MB / 0.9919 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.2392, allocations: 246.8 kB / 0.9922 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.2395, allocations: 0.6893 MB / 0.9928 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002317/0.2398, allocations: 60.58 kB / 0.9929 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.512e-05/0.2398, allocations: 15.44 kB / 0.9929 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.2398, allocations: 0 / 0.9929 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.004114/0.2439, allocations: 1.746 MB / 0.9946 GB, free: 12.89 MB / 0.7292 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)