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.2132/0.2153, allocations: 80.84 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003351/0.2187, allocations: 1.572 MB / 0.6722 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2198, allocations: 0.5231 MB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.2198, allocations: 4 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.22, allocations: 11.86 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.22, allocations: 19.73 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.2204, allocations: 35.95 kB / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.2206, allocations: 87.69 kB / 0.6728 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.2208, allocations: 40.16 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2209, allocations: 39.8 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.221, allocations: 43.83 kB / 0.6729 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.221, allocations: 4 kB / 0.6729 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.433e-05/0.2211, allocations: 23.98 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.2212, allocations: 19.92 kB / 0.673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.2213, allocations: 39.75 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.2214, allocations: 83.7 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2215, allocations: 0 / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.809e-06/0.2215, allocations: 3.984 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.2215, 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.0007835/0.2223, allocations: 391.1 kB / 0.6735 GB, free: 15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2223, allocations: 12.03 kB / 0.6735 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.2224, allocations: 24.62 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.2226, allocations: 194.5 kB / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2226, allocations: 4.375 kB / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.2227, allocations: 11.94 kB / 0.6737 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.2229, allocations: 101.6 kB / 0.6738 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.223, allocations: 8 kB / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.223, allocations: 4 kB / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.223, allocations: 0 / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.2232, allocations: 99.88 kB / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.2238, allocations: 376.5 kB / 0.6743 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.224, allocations: 66.48 kB / 0.6743 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2241, allocations: 48.95 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.2242, allocations: 7.984 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.2242, allocations: 34.56 kB / 0.6744 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.2242, allocations: 0 / 0.6744 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.000491/0.2247, allocations: 169.4 kB / 0.6746 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.2247, allocations: 59.41 kB / 0.6746 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2249, allocations: 125.8 kB / 0.6748 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2249, allocations: 29.7 kB / 0.6748 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.225, allocations: 104.1 kB / 0.6749 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.225, allocations: 15.81 kB / 0.6749 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.2251, allocations: 21.7 kB / 0.6749 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2252, allocations: 318.8 kB / 0.6752 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2253, allocations: 47.95 kB / 0.6753 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.2254, allocations: 35.97 kB / 0.6753 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.2257, allocations: 88.75 kB / 0.6754 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2257, allocations: 0 / 0.6754 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002678/0.226, allocations: 129.5 kB / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.226, allocations: 16.56 kB / 0.6755 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.226, allocations: 0 / 0.6755 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.226, allocations: 0 / 0.6755 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.2262, allocations: 15.98 kB / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2262, allocations: 0 / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.2263, allocations: 23.77 kB / 0.6756 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.2263, allocations: 448 / 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.000116/0.2265, allocations: 121.8 kB / 0.6757 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.2265, allocations: 15.84 kB / 0.6757 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.2269, allocations: 146.3 kB / 0.6758 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2269, allocations: 0 / 0.6758 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2269, allocations: 0 / 0.6758 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2269, allocations: 0 / 0.6758 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.2272, allocations: 205.6 kB / 0.676 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2272, allocations: 0 / 0.676 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.2273, allocations: 19.98 kB / 0.6761 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2273, allocations: 7.938 kB / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2273, allocations: 0 / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2273, allocations: 0 / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2273, allocations: 4 kB / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.2277, allocations: 219.3 kB / 0.6763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.2277, allocations: 81.02 kB / 0.6764 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.2278, allocations: 15.94 kB / 0.6764 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.2279, allocations: 7.984 kB / 0.6764 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.2279, allocations: 7.984 kB / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.228, allocations: 0 / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.174e-05/0.228, allocations: 106.2 kB / 0.6765 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.228, allocations: 0 / 0.6765 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002462/0.2283, allocations: 12 kB / 0.6765 GB, free: 11.62 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.000174/0.2285, allocations: 107.2 kB / 0.6766 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002881/0.2288, allocations: 95.94 kB / 0.6767 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2288, allocations: 4 kB / 0.6767 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.2289, allocations: 55.91 kB / 0.6768 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.0002425/0.2292, allocations: 3.938 kB / 0.6768 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.2297, allocations: 227 kB / 0.677 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.23, allocations: 0.708 MB / 0.6777 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.2302, allocations: 12.36 kB / 0.6777 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.2302, allocations: 15.42 kB / 0.6777 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of SimCode: time 2.294e-06/0.2302, allocations: 3.938 kB / 0.6777 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.003709/0.2339, allocations: 0.7337 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)