Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2229/0.225, allocations: 80.83 MB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001955/0.227, allocations: 0.5704 MB / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004188/0.2274, allocations: 75.78 kB / 0.6713 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.2275, allocations: 0 / 0.6713 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.2275, allocations: 0 / 0.6713 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.951e-05/0.2276, allocations: 7.984 kB / 0.6713 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.228, allocations: 39.89 kB / 0.6713 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.629e-05/0.2281, allocations: 27.91 kB / 0.6713 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.576e-05/0.2282, allocations: 4 kB / 0.6714 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.833e-05/0.2283, allocations: 15.98 kB / 0.6714 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.2285, allocations: 67.88 kB / 0.6714 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.2285, allocations: 4 kB / 0.6714 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.2286, allocations: 35.91 kB / 0.6715 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.2287, allocations: 15.98 kB / 0.6715 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.2287, allocations: 31.8 kB / 0.6715 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.2289, allocations: 63.78 kB / 0.6716 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2289, allocations: 0 / 0.6716 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2289, allocations: 0 / 0.6716 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2289, allocations: 0 / 0.6716 GB, free: 1.039 MB / 0.4981 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.000408/0.2293, allocations: 367.2 kB / 0.6719 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2294, allocations: 16.02 kB / 0.6719 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.2294, allocations: 8.891 kB / 0.6719 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2295, allocations: 164.3 kB / 0.6721 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2296, allocations: 8.359 kB / 0.6721 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.2296, allocations: 384 / 0.6721 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.2298, allocations: 182.7 kB / 0.6723 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2299, allocations: 3.938 kB / 0.6723 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.2299, allocations: 4 kB / 0.6723 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.2299, allocations: 19.92 kB / 0.6723 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.23, allocations: 43.91 kB / 0.6724 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007995/0.2308, allocations: 0.9062 MB / 0.6732 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.588e-05/0.2309, allocations: 165.5 kB / 0.6734 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.2309, allocations: 80.14 kB / 0.6735 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.231, allocations: 83.22 kB / 0.6736 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/0.2311, allocations: 113.9 kB / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2311, allocations: 0 / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.817e-05/0.2312, allocations: 41.64 kB / 0.6737 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/0.2314, allocations: 387.7 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.2315, allocations: 170.8 kB / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2316, allocations: 25.7 kB / 0.6743 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.2317, allocations: 159.5 kB / 0.6744 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.2317, allocations: 7.984 kB / 0.6744 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/0.2318, allocations: 53.66 kB / 0.6745 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2319, allocations: 314.8 kB / 0.6748 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.232, allocations: 31.91 kB / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.2322, allocations: 224.5 kB / 0.675 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.2324, allocations: 197.7 kB / 0.6752 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2324, allocations: 0 / 0.6752 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003083/0.2327, allocations: 197.6 kB / 0.6754 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2327, allocations: 13.97 kB / 0.6754 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.2327, allocations: 4 kB / 0.6754 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2328, allocations: 8 kB / 0.6754 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2329, allocations: 39.92 kB / 0.6755 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.2329, allocations: 15.92 kB / 0.6755 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.233, allocations: 19.83 kB / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.2331, allocations: 23.92 kB / 0.6755 GB, free: 12.52 MB / 0.5137 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.0001243/0.2332, allocations: 209 kB / 0.6757 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/0.2333, allocations: 120.9 kB / 0.6758 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.131e-05/0.2334, allocations: 120.6 kB / 0.6759 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.894e-05/0.2334, allocations: 176.3 kB / 0.6761 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.591e-05/0.2335, allocations: 180.3 kB / 0.6763 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.439e-05/0.2336, allocations: 184.2 kB / 0.6765 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.2338, allocations: 421.2 kB / 0.6769 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.913e-05/0.2339, allocations: 108.9 kB / 0.677 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.234, allocations: 108.9 kB / 0.6771 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.398e-05/0.234, allocations: 180.2 kB / 0.6772 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.9e-05/0.2341, allocations: 184.2 kB / 0.6774 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.138e-05/0.2342, allocations: 176.3 kB / 0.6776 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.934e-05/0.2343, allocations: 184.2 kB / 0.6778 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.2344, allocations: 311.9 kB / 0.6781 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.2346, allocations: 197.9 kB / 0.6782 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.27e-05/0.2347, allocations: 176.3 kB / 0.6784 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.2348, allocations: 113.2 kB / 0.6785 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.2349, allocations: 184.2 kB / 0.6787 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.2349, allocations: 109 kB / 0.6788 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.829e-05/0.235, allocations: 112.2 kB / 0.6789 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.235, allocations: 0 / 0.6789 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003417/0.2354, allocations: 31.94 kB / 0.6789 GB, free: 8.781 MB / 0.5137 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.0002363/0.2356, allocations: 178.5 kB / 0.6791 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.2358, allocations: 83.78 kB / 0.6792 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2358, allocations: 0 / 0.6792 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.2358, allocations: 4 kB / 0.6792 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.2363, allocations: 468.9 kB / 0.6796 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.2366, allocations: 224.6 kB / 0.6799 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.2369, allocations: 0.6929 MB / 0.6805 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.2371, allocations: 64.52 kB / 0.6806 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.2371, allocations: 15.44 kB / 0.6806 GB, free: 7 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.2371, allocations: 0 / 0.6806 GB, free: 7 MB / 0.5137 GB Notification: Performance of Templates: time 0.004332/0.2415, allocations: 1.676 MB / 0.6822 GB, free: 5.359 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)