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.4935/0.4958, allocations: 80.81 MB / 0.5904 GB, free: 22.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002473/0.4983, allocations: 0.5702 MB / 0.591 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003997/0.4987, allocations: 65.81 kB / 0.591 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.4988, allocations: 1.406 kB / 0.591 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.4988, allocations: 0 / 0.591 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.4989, allocations: 8.812 kB / 0.591 GB, free: 21.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.4993, allocations: 46.41 kB / 0.5911 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.972e-05/0.4994, allocations: 28.09 kB / 0.5911 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.4995, allocations: 6.734 kB / 0.5911 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.4995, allocations: 12.59 kB / 0.5911 GB, free: 21.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.4998, allocations: 63.16 kB / 0.5912 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.4998, allocations: 1.312 kB / 0.5912 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.4999, allocations: 40.61 kB / 0.5912 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.5, allocations: 21.27 kB / 0.5913 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.5, allocations: 18.09 kB / 0.5913 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.5002, allocations: 66.7 kB / 0.5913 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5002, allocations: 1.875 kB / 0.5913 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5002, allocations: 0 / 0.5913 GB, free: 21.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.5002, allocations: 1.156 kB / 0.5913 GB, free: 21.73 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.000375/0.5006, allocations: 360.3 kB / 0.5917 GB, free: 21.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.5007, allocations: 11.12 kB / 0.5917 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.5007, allocations: 12.47 kB / 0.5917 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.297e-05/0.5008, allocations: 174.5 kB / 0.5919 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.5009, allocations: 2.5 kB / 0.5919 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.5009, allocations: 1.625 kB / 0.5919 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.5012, allocations: 177.7 kB / 0.592 GB, free: 21.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5012, allocations: 1.375 kB / 0.592 GB, free: 21.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.5013, allocations: 8.75 kB / 0.5921 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/0.5013, allocations: 22.97 kB / 0.5921 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.5014, allocations: 40.75 kB / 0.5921 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.5021, allocations: 0.9038 MB / 0.593 GB, free: 20.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.5022, allocations: 177.1 kB / 0.5932 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.5022, allocations: 80.14 kB / 0.5932 GB, free: 19.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.5022, allocations: 75.28 kB / 0.5933 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.5023, allocations: 113.8 kB / 0.5934 GB, free: 19.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.5023, allocations: 4 kB / 0.5934 GB, free: 19.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.611e-05/0.5024, allocations: 37.55 kB / 0.5935 GB, free: 19.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.5025, allocations: 387.7 kB / 0.5938 GB, free: 19.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.5026, allocations: 171.5 kB / 0.594 GB, free: 18.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.5027, allocations: 25.7 kB / 0.594 GB, free: 18.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.5027, allocations: 147.1 kB / 0.5942 GB, free: 18.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/0.5027, allocations: 4 kB / 0.5942 GB, free: 18.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.5028, allocations: 61.61 kB / 0.5942 GB, free: 18.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.8e-05/0.5029, allocations: 318.8 kB / 0.5945 GB, free: 18.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.5029, allocations: 27.97 kB / 0.5946 GB, free: 18.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.5031, allocations: 221.9 kB / 0.5948 GB, free: 17.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.5032, allocations: 201.8 kB / 0.595 GB, free: 17.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5033, allocations: 0 / 0.595 GB, free: 17.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003356/0.5036, allocations: 193.1 kB / 0.5951 GB, free: 17.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5036, allocations: 7.938 kB / 0.5952 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.5037, allocations: 11.98 kB / 0.5952 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.5037, allocations: 4.656 kB / 0.5952 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.5038, allocations: 43.92 kB / 0.5952 GB, free: 17.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.5039, allocations: 12.03 kB / 0.5952 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.504, allocations: 27.78 kB / 0.5952 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.504, allocations: 12 kB / 0.5953 GB, free: 17.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.5041, allocations: 213 kB / 0.5955 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.5042, allocations: 120.8 kB / 0.5956 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.5043, allocations: 116.8 kB / 0.5957 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.344e-05/0.5043, allocations: 182.9 kB / 0.5959 GB, free: 16.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.335e-05/0.5043, allocations: 180.2 kB / 0.596 GB, free: 16.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/0.5044, allocations: 184.2 kB / 0.5962 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.5046, allocations: 421.1 kB / 0.5966 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/0.5046, allocations: 105 kB / 0.5967 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.5046, allocations: 101 kB / 0.5968 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.66e-05/0.5046, allocations: 188.1 kB / 0.597 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.5047, allocations: 188.2 kB / 0.5972 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.81e-05/0.5047, allocations: 188.2 kB / 0.5973 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.043e-05/0.5048, allocations: 176.3 kB / 0.5975 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.684e-05/0.5049, allocations: 315.7 kB / 0.5978 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.5049, allocations: 186 kB / 0.598 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.505, allocations: 188.1 kB / 0.5982 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.5051, allocations: 105 kB / 0.5983 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.5051, allocations: 180.2 kB / 0.5984 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.5052, allocations: 109 kB / 0.5985 GB, free: 13.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.395e-05/0.5052, allocations: 119.2 kB / 0.5987 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5052, allocations: 0 / 0.5987 GB, free: 13.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.5055, allocations: 28 kB / 0.5987 GB, free: 13.65 MB / 446.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 (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.0001593/0.5057, allocations: 182.5 kB / 0.5989 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.5058, allocations: 72.72 kB / 0.5989 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5058, allocations: 4 kB / 0.5989 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.5058, allocations: 0 / 0.5989 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.5062, allocations: 477.4 kB / 0.5994 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.5064, allocations: 225.1 kB / 0.5996 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.5066, allocations: 0.6968 MB / 0.6003 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.5068, allocations: 56.39 kB / 0.6003 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.5068, allocations: 11.44 kB / 0.6004 GB, free: 11.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5068, allocations: 0 / 0.6004 GB, free: 11.89 MB / 446.1 MB Notification: Performance of Templates: time 0.004479/0.5113, allocations: 1.666 MB / 0.602 GB, free: 10.26 MB / 446.1 MB 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)