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.2318/0.2329, allocations: 82.22 MB / 0.5935 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00101/0.234, allocations: 300.8 kB / 0.5938 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.2344, allocations: 59.89 kB / 0.5938 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.2345, allocations: 0 / 0.5938 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.083e-05/0.2346, allocations: 3.938 kB / 0.5938 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.2346, allocations: 11.98 kB / 0.5938 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.235, allocations: 39.95 kB / 0.5939 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.274e-05/0.2351, allocations: 27.91 kB / 0.5939 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.2351, allocations: 0 / 0.5939 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.367e-05/0.2352, allocations: 15.98 kB / 0.5939 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.2354, allocations: 75.86 kB / 0.594 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2355, allocations: 4 kB / 0.594 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2356, allocations: 35.95 kB / 0.594 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.2356, allocations: 15.98 kB / 0.594 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.2357, allocations: 33.64 kB / 0.5941 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.2358, allocations: 39.94 kB / 0.5941 GB, free: 5.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2358, allocations: 0 / 0.5941 GB, free: 5.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2358, allocations: 0 / 0.5941 GB, free: 5.301 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2358, allocations: 4 kB / 0.5941 GB, free: 5.297 MB / 446.1 MB 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.0003967/0.2362, allocations: 347.5 kB / 0.5945 GB, free: 4.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.2363, allocations: 8.031 kB / 0.5945 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.2364, allocations: 15.84 kB / 0.5945 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2365, allocations: 174.9 kB / 0.5946 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2365, allocations: 0 / 0.5946 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.2365, allocations: 11.98 kB / 0.5947 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.2368, allocations: 171.2 kB / 0.5948 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2368, allocations: 4 kB / 0.5948 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.2369, allocations: 7.969 kB / 0.5948 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/0.2369, allocations: 19.98 kB / 0.5948 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.088e-05/0.237, allocations: 39.91 kB / 0.5949 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.2379, allocations: 0.9023 MB / 0.5958 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.622e-05/0.238, allocations: 173.1 kB / 0.5959 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.238, allocations: 84.12 kB / 0.596 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.2381, allocations: 79.23 kB / 0.5961 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.2381, allocations: 109.8 kB / 0.5962 GB, free: 2.969 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.2381, allocations: 0 / 0.5962 GB, free: 2.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.32e-05/0.2382, allocations: 41.61 kB / 0.5962 GB, free: 2.922 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000201/0.2384, allocations: 387.7 kB / 0.5966 GB, free: 2.469 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.2386, allocations: 163.6 kB / 0.5968 GB, free: 2.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.2387, allocations: 25.7 kB / 0.5968 GB, free: 2.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2388, allocations: 155.2 kB / 0.5969 GB, free: 2.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.2388, allocations: 7.969 kB / 0.5969 GB, free: 2.105 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.2388, allocations: 4 kB / 0.5969 GB, free: 2.102 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.239, allocations: 318.8 kB / 0.5972 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.321e-05/0.239, allocations: 32.34 kB / 0.5973 GB, free: 1.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.2392, allocations: 216.8 kB / 0.5975 GB, free: 1.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.2393, allocations: 63.91 kB / 0.5975 GB, free: 1.383 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.2394, allocations: 4 kB / 0.5975 GB, free: 1.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003801/0.2397, allocations: 181.1 kB / 0.5977 GB, free: 1.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.2398, allocations: 11.95 kB / 0.5977 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.2398, allocations: 7.984 kB / 0.5977 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.2398, allocations: 8 kB / 0.5977 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.24, allocations: 40.58 kB / 0.5978 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.24, allocations: 11.94 kB / 0.5978 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.2401, allocations: 31.75 kB / 0.5978 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.2401, allocations: 8 kB / 0.5978 GB, free: 1.078 MB / 446.1 MB 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 0.0002032/0.2404, allocations: 217 kB / 0.598 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.2405, allocations: 116.9 kB / 0.5982 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.8e-05/0.2406, allocations: 120.7 kB / 0.5983 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.173e-05/0.2407, allocations: 181 kB / 0.5984 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.812e-05/0.2408, allocations: 180.3 kB / 0.5986 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.589e-05/0.2408, allocations: 184.3 kB / 0.5988 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.2411, allocations: 425.2 kB / 0.5992 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.805e-05/0.2412, allocations: 108.9 kB / 0.5993 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.2413, allocations: 101 kB / 0.5994 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.2414, allocations: 184.4 kB / 0.5996 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.2415, allocations: 188.2 kB / 0.5997 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.026e-05/0.2416, allocations: 180.2 kB / 0.5999 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001012/0.2417, allocations: 184.2 kB / 0.6001 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.2419, allocations: 315.7 kB / 0.6004 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.242, allocations: 182.1 kB / 0.6006 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.732e-05/0.2421, allocations: 184.2 kB / 0.6007 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.2422, allocations: 116.9 kB / 0.6009 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.2423, allocations: 180.2 kB / 0.601 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.278e-05/0.2424, allocations: 104.9 kB / 0.6011 GB, free: 13.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.2425, allocations: 119.4 kB / 0.6012 GB, free: 13.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2425, allocations: 0 / 0.6012 GB, free: 13.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003938/0.2429, allocations: 31.98 kB / 0.6013 GB, free: 13.33 MB / 462.1 MB 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.0002745/0.2432, allocations: 182.5 kB / 0.6014 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.2434, allocations: 73.03 kB / 0.6015 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2435, allocations: 4.062 kB / 0.6015 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.2435, allocations: 0 / 0.6015 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.244, allocations: 0.5263 MB / 0.602 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.2443, allocations: 246.4 kB / 0.6023 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.2447, allocations: 0.6893 MB / 0.6029 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.2449, allocations: 52.59 kB / 0.603 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.245, allocations: 15.44 kB / 0.603 GB, free: 11.49 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.245, allocations: 0 / 0.603 GB, free: 11.49 MB / 462.1 MB Notification: Performance of Templates: time 0.005206/0.2502, allocations: 1.697 MB / 0.6047 GB, free: 9.828 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: