Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.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.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") [/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.1937/0.1944, allocations: 82.22 MB / 0.5935 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002093/0.1966, allocations: 1.268 MB / 0.5947 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1976, allocations: 0.5008 MB / 0.5952 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.1977, allocations: 0 / 0.5952 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.93e-05/0.1978, allocations: 3.938 kB / 0.5952 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.213e-05/0.1979, allocations: 23.84 kB / 0.5952 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.1981, allocations: 23.98 kB / 0.5952 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1983, allocations: 75.7 kB / 0.5953 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.1985, allocations: 40 kB / 0.5954 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.1986, allocations: 27.86 kB / 0.5954 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.1987, allocations: 31.84 kB / 0.5954 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1987, allocations: 7.984 kB / 0.5954 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.787e-05/0.1987, allocations: 4 kB / 0.5954 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.1988, allocations: 19.92 kB / 0.5954 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.1988, allocations: 33.7 kB / 0.5955 GB, free: 3.895 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1989, allocations: 60.11 kB / 0.5955 GB, free: 3.836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.199, allocations: 4 kB / 0.5955 GB, free: 3.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.199, allocations: 4 kB / 0.5955 GB, free: 3.828 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.199, allocations: 3.938 kB / 0.5955 GB, free: 3.824 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005421/0.1995, allocations: 390.9 kB / 0.5959 GB, free: 3.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1996, allocations: 12.03 kB / 0.5959 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.1996, allocations: 7.906 kB / 0.5959 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.1998, allocations: 190.9 kB / 0.5961 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1999, allocations: 8 kB / 0.5961 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1999, allocations: 7.953 kB / 0.5961 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.2001, allocations: 105.6 kB / 0.5962 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2002, allocations: 0 / 0.5962 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.2002, allocations: 4 kB / 0.5962 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2002, allocations: 4 kB / 0.5962 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.2005, allocations: 111.9 kB / 0.5963 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.2012, allocations: 392.4 kB / 0.5967 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.2013, allocations: 70.48 kB / 0.5968 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2014, allocations: 52.95 kB / 0.5968 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.2015, allocations: 11.98 kB / 0.5968 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2015, allocations: 34.56 kB / 0.5969 GB, free: 2.285 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2015, allocations: 0 / 0.5969 GB, free: 2.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004356/0.202, allocations: 185.5 kB / 0.5971 GB, free: 2.098 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.202, allocations: 51.41 kB / 0.5971 GB, free: 2.035 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2021, allocations: 140 kB / 0.5972 GB, free: 1.891 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.2021, allocations: 29.7 kB / 0.5973 GB, free: 1.855 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.2022, allocations: 104.3 kB / 0.5974 GB, free: 1.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.2022, allocations: 15.8 kB / 0.5974 GB, free: 1.734 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.2023, allocations: 4 kB / 0.5974 GB, free: 1.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.2025, allocations: 314.8 kB / 0.5977 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.2026, allocations: 43.97 kB / 0.5977 GB, free: 1.371 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.2028, allocations: 47.97 kB / 0.5978 GB, free: 1.324 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.2029, allocations: 47.97 kB / 0.5978 GB, free: 1.277 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2029, allocations: 4 kB / 0.5978 GB, free: 1.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002593/0.2031, allocations: 141.5 kB / 0.598 GB, free: 1.129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2032, allocations: 7.938 kB / 0.598 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2032, allocations: 4 kB / 0.598 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2032, allocations: 0 / 0.598 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2033, allocations: 19.98 kB / 0.598 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2033, allocations: 4 kB / 0.598 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.733e-05/0.2034, allocations: 19.84 kB / 0.598 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.2035, allocations: 4 kB / 0.598 GB, free: 1.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 8.772e-05/0.2036, allocations: 118.7 kB / 0.5981 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.2036, allocations: 7.906 kB / 0.5981 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.2039, allocations: 162.2 kB / 0.5983 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.204, allocations: 0 / 0.5983 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.204, allocations: 0 / 0.5983 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.204, allocations: 4 kB / 0.5983 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.2042, allocations: 205.6 kB / 0.5985 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2042, allocations: 0 / 0.5985 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.2043, allocations: 24.48 kB / 0.5985 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2043, allocations: 0 / 0.5985 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2043, allocations: 4 kB / 0.5985 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2043, allocations: 4 kB / 0.5985 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2044, allocations: 0 / 0.5985 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.2047, allocations: 235.3 kB / 0.5987 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.2047, allocations: 88.95 kB / 0.5988 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.2048, allocations: 3.984 kB / 0.5988 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.2049, allocations: 15.98 kB / 0.5989 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.2049, allocations: 15.92 kB / 0.5989 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.2049, allocations: 0 / 0.5989 GB, free: 104 kB / 446.1 MB Notification: Performance of sorting global known variables: time 6.491e-05/0.205, allocations: 105 kB / 0.599 GB, free: 0 / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.205, allocations: 0 / 0.599 GB, free: 0 / 446.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.2053, allocations: 12.05 kB / 0.599 GB, free: 15.98 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 (6): * Single equations (assignments): 6 * 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.0001686/0.2054, allocations: 107.2 kB / 0.5991 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.2057, allocations: 111.9 kB / 0.5992 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2057, allocations: 0 / 0.5992 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.2059, allocations: 59.91 kB / 0.5992 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.2061, allocations: 13.44 kB / 0.5993 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.2065, allocations: 245 kB / 0.5995 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.2069, allocations: 0.7043 MB / 0.6002 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.541e-05/0.207, allocations: 15.97 kB / 0.6002 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.207, allocations: 15.44 kB / 0.6002 GB, free: 14.67 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.207, allocations: 0 / 0.6002 GB, free: 14.67 MB / 462.1 MB Notification: Performance of Templates: time 0.002761/0.2098, allocations: 0.6084 MB / 0.6008 GB, free: 14.07 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: