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.1985/0.2004, allocations: 80.83 MB / 0.5899 GB, free: 7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003406/0.2039, allocations: 1.636 MB / 0.5915 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009779/0.2049, allocations: 0.5238 MB / 0.592 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.205, allocations: 0 / 0.592 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.2052, allocations: 7.938 kB / 0.592 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.637e-05/0.2052, allocations: 11.88 kB / 0.592 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.2055, allocations: 43.89 kB / 0.592 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.2056, allocations: 83.7 kB / 0.5921 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.2058, allocations: 44.3 kB / 0.5922 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.2059, allocations: 39.84 kB / 0.5922 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.808e-05/0.206, allocations: 39.84 kB / 0.5922 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.2061, allocations: 4 kB / 0.5922 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.059e-05/0.2061, allocations: 15.98 kB / 0.5923 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.2062, allocations: 19.92 kB / 0.5923 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.2062, allocations: 35.75 kB / 0.5923 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.2064, allocations: 91.62 kB / 0.5924 GB, free: 4.383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2065, allocations: 4 kB / 0.5924 GB, free: 4.379 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.247e-06/0.2065, allocations: 7.984 kB / 0.5924 GB, free: 4.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.2065, allocations: 0 / 0.5924 GB, free: 4.371 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.0006105/0.2071, allocations: 406.5 kB / 0.5928 GB, free: 3.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2071, allocations: 8.031 kB / 0.5928 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.2072, allocations: 12.84 kB / 0.5928 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.2074, allocations: 196 kB / 0.593 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2074, allocations: 4.375 kB / 0.593 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.2075, allocations: 16.12 kB / 0.593 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.2077, allocations: 101.6 kB / 0.5931 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2077, allocations: 0 / 0.5931 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.2078, allocations: 4 kB / 0.5931 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2078, allocations: 7.938 kB / 0.5931 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.208, allocations: 91.94 kB / 0.5932 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.2086, allocations: 380.5 kB / 0.5936 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.2088, allocations: 66.48 kB / 0.5936 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.2089, allocations: 48.95 kB / 0.5937 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.2089, allocations: 7.984 kB / 0.5937 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.209, allocations: 38.56 kB / 0.5937 GB, free: 2.852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.209, allocations: 0 / 0.5937 GB, free: 2.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004522/0.2094, allocations: 165.4 kB / 0.5939 GB, free: 2.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.2095, allocations: 55.41 kB / 0.5939 GB, free: 2.617 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2096, allocations: 135.2 kB / 0.5941 GB, free: 2.477 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2096, allocations: 33.64 kB / 0.5941 GB, free: 2.438 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.2097, allocations: 104.1 kB / 0.5942 GB, free: 2.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.2097, allocations: 19.72 kB / 0.5942 GB, free: 2.312 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.2097, allocations: 21.7 kB / 0.5942 GB, free: 2.285 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.2099, allocations: 318.8 kB / 0.5945 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.21, allocations: 39.95 kB / 0.5946 GB, free: 1.926 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.266e-05/0.2101, allocations: 43.97 kB / 0.5946 GB, free: 1.883 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.2103, allocations: 84.81 kB / 0.5947 GB, free: 1.797 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2103, allocations: 0 / 0.5947 GB, free: 1.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002422/0.2105, allocations: 125.5 kB / 0.5948 GB, free: 1.668 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2106, allocations: 4 kB / 0.5948 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2106, allocations: 11.94 kB / 0.5948 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2106, allocations: 0 / 0.5948 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2107, allocations: 19.92 kB / 0.5949 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2108, allocations: 0 / 0.5949 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.2108, allocations: 7.984 kB / 0.5949 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.2109, allocations: 4 kB / 0.5949 GB, free: 1.621 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/0.211, allocations: 118.7 kB / 0.595 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.211, allocations: 11.89 kB / 0.595 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.2114, allocations: 154.6 kB / 0.5951 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.2114, allocations: 0 / 0.5951 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2114, allocations: 3.938 kB / 0.5951 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2114, allocations: 64 / 0.5951 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.2116, allocations: 205.6 kB / 0.5953 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2116, allocations: 4 kB / 0.5953 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.928e-05/0.2117, allocations: 15.98 kB / 0.5954 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2118, allocations: 4 kB / 0.5954 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2118, allocations: 7.938 kB / 0.5954 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2118, allocations: 0 / 0.5954 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2118, allocations: 0 / 0.5954 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.2121, allocations: 219.4 kB / 0.5956 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.2122, allocations: 84.95 kB / 0.5957 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.2122, allocations: 11.94 kB / 0.5957 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.58e-05/0.2123, allocations: 11.98 kB / 0.5957 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.2124, allocations: 11.92 kB / 0.5957 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2124, allocations: 3.938 kB / 0.5957 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.28e-05/0.2125, allocations: 105.5 kB / 0.5958 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2125, allocations: 0 / 0.5958 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.2127, allocations: 15.91 kB / 0.5958 GB, free: 0.5547 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 (6): * Single equations (assignments): 6 * 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.0001562/0.2129, allocations: 103.2 kB / 0.5959 GB, free: 452 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.2132, allocations: 99.94 kB / 0.596 GB, free: 352 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2132, allocations: 0 / 0.596 GB, free: 352 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.2133, allocations: 55.91 kB / 0.5961 GB, free: 296 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.2136, allocations: 10.66 kB / 0.5961 GB, free: 288 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.2141, allocations: 255 kB / 0.5963 GB, free: 8 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.2145, allocations: 0.7002 MB / 0.597 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.2147, allocations: 11.98 kB / 0.597 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.2147, allocations: 15.42 kB / 0.597 GB, free: 15.26 MB / 462.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2147, allocations: 0 / 0.597 GB, free: 15.26 MB / 462.1 MB Notification: Performance of Templates: time 0.003379/0.2181, allocations: 0.6524 MB / 0.5977 GB, free: 14.61 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (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)