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.2037/0.2044, allocations: 82.22 MB / 0.5941 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002121/0.2066, allocations: 1.291 MB / 0.5954 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2077, allocations: 0.52 MB / 0.5959 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.2078, allocations: 0 / 0.5959 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2079, allocations: 7.938 kB / 0.5959 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.208, allocations: 15.86 kB / 0.5959 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.2082, allocations: 31.91 kB / 0.5959 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.2084, allocations: 83.7 kB / 0.596 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.2085, allocations: 40.3 kB / 0.596 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.2086, allocations: 27.86 kB / 0.5961 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.2087, allocations: 31.83 kB / 0.5961 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.2088, allocations: 4 kB / 0.5961 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.2088, allocations: 8 kB / 0.5961 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.2089, allocations: 27.92 kB / 0.5961 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.209, allocations: 57.44 kB / 0.5962 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.2091, allocations: 71.7 kB / 0.5963 GB, free: 3.359 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.2092, allocations: 11.92 kB / 0.5963 GB, free: 3.348 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2092, allocations: 0 / 0.5963 GB, free: 3.348 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.2092, allocations: 0 / 0.5963 GB, free: 3.348 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.0006033/0.2098, allocations: 391.2 kB / 0.5967 GB, free: 2.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2098, allocations: 12.03 kB / 0.5967 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.2099, allocations: 8.844 kB / 0.5967 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.2101, allocations: 204 kB / 0.5969 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2101, allocations: 4.375 kB / 0.5969 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.2102, allocations: 8.125 kB / 0.5969 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.2105, allocations: 107.9 kB / 0.597 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2105, allocations: 0 / 0.597 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.2105, allocations: 15.92 kB / 0.597 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2105, allocations: 4 kB / 0.597 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.2108, allocations: 99.94 kB / 0.5971 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.2114, allocations: 388.5 kB / 0.5975 GB, free: 1.992 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.2116, allocations: 70.48 kB / 0.5975 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.2117, allocations: 52.95 kB / 0.5976 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/0.2118, allocations: 15.97 kB / 0.5976 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.2118, allocations: 30.56 kB / 0.5976 GB, free: 1.805 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.031e-06/0.2118, allocations: 4 kB / 0.5976 GB, free: 1.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005184/0.2123, allocations: 181.5 kB / 0.5978 GB, free: 1.617 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2124, allocations: 55.41 kB / 0.5979 GB, free: 1.551 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2125, allocations: 132 kB / 0.598 GB, free: 1.414 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.2126, allocations: 33.64 kB / 0.598 GB, free: 1.375 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.2126, allocations: 108 kB / 0.5981 GB, free: 1.266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.2127, allocations: 19.7 kB / 0.5981 GB, free: 1.246 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.2127, allocations: 13.72 kB / 0.5981 GB, free: 1.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2129, allocations: 318.8 kB / 0.5985 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.213, allocations: 47.97 kB / 0.5985 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.2131, allocations: 43.97 kB / 0.5985 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.2134, allocations: 100.8 kB / 0.5986 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2134, allocations: 0 / 0.5986 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002902/0.2137, allocations: 141.9 kB / 0.5988 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2137, allocations: 4 kB / 0.5988 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2138, allocations: 8 kB / 0.5988 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2138, allocations: 4 kB / 0.5988 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.2139, allocations: 23.92 kB / 0.5988 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.214, allocations: 4 kB / 0.5988 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.214, allocations: 11.98 kB / 0.5988 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.2141, allocations: 4 kB / 0.5988 GB, free: 0.5117 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.989e-05/0.2142, allocations: 122.7 kB / 0.5989 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.2142, allocations: 7.906 kB / 0.599 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.2146, allocations: 162.2 kB / 0.5991 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2146, allocations: 0 / 0.5991 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2146, allocations: 0 / 0.5991 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2146, allocations: 7.922 kB / 0.5991 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.2148, allocations: 209.5 kB / 0.5993 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2148, allocations: 0 / 0.5993 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.215, allocations: 19.98 kB / 0.5993 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.215, allocations: 0 / 0.5993 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.215, allocations: 3.938 kB / 0.5993 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.215, allocations: 4 kB / 0.5993 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.215, allocations: 0 / 0.5993 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.2153, allocations: 239.3 kB / 0.5996 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.2154, allocations: 85.02 kB / 0.5997 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.2154, allocations: 7.922 kB / 0.5997 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.2156, allocations: 8 kB / 0.5997 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.2156, allocations: 15.92 kB / 0.5997 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2157, allocations: 8.125 kB / 0.5997 GB, free: 15.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.069e-05/0.2157, allocations: 108.9 kB / 0.5998 GB, free: 15.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2157, allocations: 0 / 0.5998 GB, free: 15.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.216, allocations: 16 kB / 0.5998 GB, free: 15.41 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 (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.0001558/0.2161, allocations: 95.25 kB / 0.5999 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.2164, allocations: 107.9 kB / 0.6 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2165, allocations: 4 kB / 0.6 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.2166, allocations: 63.89 kB / 0.6001 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.2168, allocations: 4 kB / 0.6001 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.2173, allocations: 249.2 kB / 0.6003 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.2176, allocations: 0.6965 MB / 0.601 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.2178, allocations: 19.97 kB / 0.601 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.2178, allocations: 7.438 kB / 0.601 GB, free: 14.11 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2178, allocations: 4 kB / 0.601 GB, free: 14.11 MB / 462.1 MB Notification: Performance of Templates: time 0.003068/0.2209, allocations: 0.6086 MB / 0.6016 GB, free: 13.5 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: