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.1887/0.1908, allocations: 80.84 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003193/0.194, allocations: 1.568 MB / 0.6721 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1952, allocations: 0.5309 MB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.1953, allocations: 3.938 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.1955, allocations: 7.922 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.1956, allocations: 19.81 kB / 0.6727 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.1959, allocations: 39.83 kB / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.196, allocations: 79.7 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1962, allocations: 48.14 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1963, allocations: 35.84 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.826e-05/0.1964, allocations: 39.84 kB / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1965, allocations: 8 kB / 0.6729 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.78e-05/0.1965, allocations: 12 kB / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.1966, allocations: 23.92 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.1967, allocations: 43.72 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1969, allocations: 91.64 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1969, allocations: 0 / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1969, allocations: 0 / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1969, allocations: 0 / 0.6731 GB, free: 15.43 MB / 0.5137 GB 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.000634/0.1975, allocations: 399.1 kB / 0.6735 GB, free: 15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1976, allocations: 11.97 kB / 0.6735 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.1976, allocations: 12.75 kB / 0.6735 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.1978, allocations: 194.4 kB / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1978, allocations: 12.38 kB / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1979, allocations: 7.938 kB / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.1981, allocations: 109.6 kB / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1982, allocations: 0 / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1982, allocations: 3.984 kB / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1982, allocations: 4 kB / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.1984, allocations: 91.94 kB / 0.6739 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/0.1992, allocations: 388.4 kB / 0.6743 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1993, allocations: 58.55 kB / 0.6743 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1995, allocations: 48.95 kB / 0.6744 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.1995, allocations: 4 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1996, allocations: 34.56 kB / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1996, allocations: 0 / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0005021/0.2001, allocations: 173.4 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2001, allocations: 51.41 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.2003, allocations: 133.8 kB / 0.6748 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.2003, allocations: 29.7 kB / 0.6748 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.2004, allocations: 104.1 kB / 0.6749 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.2004, allocations: 15.81 kB / 0.6749 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.2005, allocations: 21.7 kB / 0.6749 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.2007, allocations: 314.8 kB / 0.6752 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.2008, allocations: 39.97 kB / 0.6753 GB, free: 13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.2009, allocations: 39.97 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.2011, allocations: 97.17 kB / 0.6754 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2011, allocations: 3.938 kB / 0.6754 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002702/0.2014, allocations: 129.5 kB / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.2014, allocations: 8.719 kB / 0.6755 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2014, allocations: 0 / 0.6755 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2015, allocations: 0 / 0.6755 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2016, allocations: 23.98 kB / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2016, allocations: 3.938 kB / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.2017, allocations: 15.83 kB / 0.6756 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.2017, allocations: 4 kB / 0.6756 GB, free: 12.68 MB / 0.5137 GB 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 0.0001037/0.2019, allocations: 121.8 kB / 0.6757 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.2019, allocations: 11.84 kB / 0.6757 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.2023, allocations: 146.3 kB / 0.6758 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2023, allocations: 0 / 0.6758 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2023, allocations: 0 / 0.6758 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2023, allocations: 0 / 0.6758 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.2025, allocations: 205.6 kB / 0.676 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2025, allocations: 0 / 0.676 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.749e-05/0.2026, allocations: 15.98 kB / 0.6761 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.2026, allocations: 7.938 kB / 0.6761 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2027, allocations: 0 / 0.6761 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2027, allocations: 0 / 0.6761 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2027, allocations: 4 kB / 0.6761 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.203, allocations: 227.5 kB / 0.6763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.2031, allocations: 85.02 kB / 0.6764 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2031, allocations: 3.938 kB / 0.6764 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.2032, allocations: 7.984 kB / 0.6764 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.2033, allocations: 11.98 kB / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.2033, allocations: 8 kB / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000192/0.2035, allocations: 96.52 kB / 0.6765 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2035, allocations: 0 / 0.6765 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002464/0.2037, allocations: 20 kB / 0.6765 GB, free: 11.61 MB / 0.5137 GB 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.0001812/0.2039, allocations: 107.2 kB / 0.6766 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003189/0.2043, allocations: 103.9 kB / 0.6767 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2043, allocations: 0 / 0.6767 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.2044, allocations: 47.97 kB / 0.6767 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.2047, allocations: 13.97 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.2052, allocations: 223 kB / 0.677 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.2056, allocations: 0.7001 MB / 0.6777 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000162/0.2057, allocations: 19.97 kB / 0.6777 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.2058, allocations: 15.42 kB / 0.6777 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2058, allocations: 3.938 kB / 0.6777 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.003468/0.2093, allocations: 0.7298 MB / 0.6784 GB, free: 9.609 MB / 0.5137 GB 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)