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.2142/0.216, allocations: 80.83 MB / 0.5897 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003552/0.2196, allocations: 1.636 MB / 0.5913 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.2206, allocations: 0.5276 MB / 0.5918 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.2207, allocations: 3.938 kB / 0.5918 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.2208, allocations: 7.938 kB / 0.5918 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.654e-05/0.2209, allocations: 15.84 kB / 0.5918 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.2211, allocations: 27.98 kB / 0.5918 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2213, allocations: 79.77 kB / 0.5919 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.2214, allocations: 48.28 kB / 0.592 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.2216, allocations: 35.86 kB / 0.592 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.785e-05/0.2217, allocations: 39.84 kB / 0.592 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2217, allocations: 4 kB / 0.592 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.969e-05/0.2218, allocations: 11.98 kB / 0.592 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.2219, allocations: 19.91 kB / 0.5921 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.222, allocations: 43.73 kB / 0.5921 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.2221, allocations: 83.64 kB / 0.5922 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2221, allocations: 0 / 0.5922 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2222, allocations: 4 kB / 0.5922 GB, free: 4.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.2222, allocations: 0 / 0.5922 GB, free: 4.504 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.000651/0.2228, allocations: 410.5 kB / 0.5926 GB, free: 4.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2229, allocations: 12.02 kB / 0.5926 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.2229, allocations: 12.84 kB / 0.5926 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.2231, allocations: 188.1 kB / 0.5928 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2231, allocations: 4.375 kB / 0.5928 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.2232, allocations: 12.12 kB / 0.5928 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.2235, allocations: 104.6 kB / 0.5929 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2235, allocations: 11.88 kB / 0.5929 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2235, allocations: 4 kB / 0.5929 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2235, allocations: 4 kB / 0.5929 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.2237, allocations: 99.86 kB / 0.593 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.2244, allocations: 376.6 kB / 0.5934 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.2246, allocations: 62.48 kB / 0.5934 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.2247, allocations: 48.95 kB / 0.5935 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.515e-05/0.2248, allocations: 0 / 0.5935 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.2248, allocations: 38.56 kB / 0.5935 GB, free: 2.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.2248, allocations: 0 / 0.5935 GB, free: 2.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004699/0.2253, allocations: 169.4 kB / 0.5937 GB, free: 2.816 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2253, allocations: 59.41 kB / 0.5937 GB, free: 2.746 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2254, allocations: 127.9 kB / 0.5939 GB, free: 2.613 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2255, allocations: 25.7 kB / 0.5939 GB, free: 2.582 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.2256, allocations: 112.1 kB / 0.594 GB, free: 2.469 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.2256, allocations: 19.72 kB / 0.594 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.2256, allocations: 17.7 kB / 0.594 GB, free: 2.426 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2258, allocations: 322.8 kB / 0.5943 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2259, allocations: 35.97 kB / 0.5944 GB, free: 2.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.226, allocations: 39.97 kB / 0.5944 GB, free: 2.027 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.2262, allocations: 92.81 kB / 0.5945 GB, free: 1.934 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2262, allocations: 0 / 0.5945 GB, free: 1.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002633/0.2265, allocations: 129.8 kB / 0.5946 GB, free: 1.801 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2265, allocations: 4 kB / 0.5946 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2265, allocations: 12 kB / 0.5946 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2265, allocations: 0 / 0.5946 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.2267, allocations: 19.98 kB / 0.5947 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2267, allocations: 0 / 0.5947 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.2268, allocations: 7.984 kB / 0.5947 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.2268, allocations: 4 kB / 0.5947 GB, free: 1.754 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 9.728e-05/0.2269, allocations: 118.7 kB / 0.5948 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.2269, allocations: 7.906 kB / 0.5948 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.2273, allocations: 158.1 kB / 0.5949 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2273, allocations: 0 / 0.5949 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2273, allocations: 0 / 0.5949 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2274, allocations: 0 / 0.5949 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.2276, allocations: 209.5 kB / 0.5951 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2276, allocations: 0 / 0.5951 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.2277, allocations: 19.98 kB / 0.5952 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2277, allocations: 0 / 0.5952 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2278, allocations: 3.938 kB / 0.5952 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2278, allocations: 0 / 0.5952 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2278, allocations: 11.92 kB / 0.5952 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.2281, allocations: 223.3 kB / 0.5954 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.2282, allocations: 85 kB / 0.5955 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.2282, allocations: 7.938 kB / 0.5955 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.2283, allocations: 8 kB / 0.5955 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.2284, allocations: 3.984 kB / 0.5955 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.2284, allocations: 12.12 kB / 0.5955 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.665e-05/0.2285, allocations: 109 kB / 0.5956 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2285, allocations: 0 / 0.5956 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.2287, allocations: 15.91 kB / 0.5956 GB, free: 0.6836 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.0001675/0.2289, allocations: 95.25 kB / 0.5957 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.2292, allocations: 95.94 kB / 0.5958 GB, free: 496 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.2292, allocations: 4 kB / 0.5958 GB, free: 492 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.2293, allocations: 55.89 kB / 0.5959 GB, free: 436 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.2296, allocations: 11.98 kB / 0.5959 GB, free: 424 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.2301, allocations: 244.8 kB / 0.5961 GB, free: 156 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.2304, allocations: 0.7004 MB / 0.5968 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00015/0.2306, allocations: 15.97 kB / 0.5968 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.2306, allocations: 15.44 kB / 0.5968 GB, free: 15.4 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2307, allocations: 0 / 0.5968 GB, free: 15.4 MB / 462.1 MB Notification: Performance of Templates: time 0.00301/0.2337, allocations: 0.6221 MB / 0.5974 GB, free: 14.78 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)