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.4759/0.4783, allocations: 80.82 MB / 0.5904 GB, free: 22.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.0034/0.4818, allocations: 1.569 MB / 0.5919 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.4829, allocations: 0.5363 MB / 0.5925 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.483, allocations: 1.094 kB / 0.5925 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.4831, allocations: 7.875 kB / 0.5925 GB, free: 20.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.158e-05/0.4832, allocations: 16.61 kB / 0.5925 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.4835, allocations: 43.33 kB / 0.5925 GB, free: 20.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.4837, allocations: 81.83 kB / 0.5926 GB, free: 20.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.4839, allocations: 51.75 kB / 0.5927 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.484, allocations: 31.42 kB / 0.5927 GB, free: 20.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.779e-05/0.4841, allocations: 41.69 kB / 0.5927 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.4841, allocations: 5.938 kB / 0.5927 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.829e-05/0.4842, allocations: 18.83 kB / 0.5927 GB, free: 20.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.4843, allocations: 25.53 kB / 0.5928 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.4843, allocations: 35.81 kB / 0.5928 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.4846, allocations: 91.64 kB / 0.5929 GB, free: 20.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4846, allocations: 0 / 0.5929 GB, free: 20.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4846, allocations: 0 / 0.5929 GB, free: 20.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.4846, allocations: 1.031 kB / 0.5929 GB, free: 20.25 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.0007291/0.4853, allocations: 403.6 kB / 0.5933 GB, free: 19.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4854, allocations: 13.25 kB / 0.5933 GB, free: 19.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.4854, allocations: 8.844 kB / 0.5933 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.4856, allocations: 188.2 kB / 0.5935 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.4857, allocations: 7.219 kB / 0.5935 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.4857, allocations: 12.12 kB / 0.5935 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.4859, allocations: 105.6 kB / 0.5936 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.486, allocations: 3.938 kB / 0.5936 GB, free: 19.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.486, allocations: 8 kB / 0.5936 GB, free: 19.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.486, allocations: 0 / 0.5936 GB, free: 19.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.4862, allocations: 95.75 kB / 0.5937 GB, free: 19.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.4868, allocations: 384.5 kB / 0.5941 GB, free: 18.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.4869, allocations: 62.2 kB / 0.5941 GB, free: 18.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.4871, allocations: 44.95 kB / 0.5942 GB, free: 18.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.4871, allocations: 7.984 kB / 0.5942 GB, free: 18.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.4871, allocations: 38.56 kB / 0.5942 GB, free: 18.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.685e-06/0.4871, allocations: 3.125 kB / 0.5942 GB, free: 18.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004436/0.4876, allocations: 177.3 kB / 0.5944 GB, free: 18.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.4876, allocations: 51.41 kB / 0.5944 GB, free: 18.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.4877, allocations: 127.9 kB / 0.5946 GB, free: 18.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.4877, allocations: 29.7 kB / 0.5946 GB, free: 18.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.4878, allocations: 112.1 kB / 0.5947 GB, free: 18.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.4878, allocations: 19.66 kB / 0.5947 GB, free: 18.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.4879, allocations: 25.7 kB / 0.5947 GB, free: 18.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.4879, allocations: 314.8 kB / 0.595 GB, free: 17.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.987e-05/0.488, allocations: 43.91 kB / 0.5951 GB, free: 17.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.63e-05/0.4881, allocations: 35.97 kB / 0.5951 GB, free: 17.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.4883, allocations: 92.8 kB / 0.5952 GB, free: 17.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4883, allocations: 0 / 0.5952 GB, free: 17.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002262/0.4886, allocations: 129.5 kB / 0.5953 GB, free: 17.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4886, allocations: 8 kB / 0.5953 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4886, allocations: 3.938 kB / 0.5953 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4886, allocations: 0 / 0.5953 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.4888, allocations: 19.98 kB / 0.5954 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4888, allocations: 0 / 0.5954 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.4889, allocations: 11.98 kB / 0.5954 GB, free: 17.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.4889, allocations: 0 / 0.5954 GB, free: 17.51 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 7.195e-05/0.489, allocations: 121.8 kB / 0.5955 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.489, allocations: 7.906 kB / 0.5955 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.4893, allocations: 150.6 kB / 0.5956 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4893, allocations: 0 / 0.5956 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4894, allocations: 64 / 0.5956 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.4894, allocations: 8 kB / 0.5956 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.4895, allocations: 205.6 kB / 0.5958 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4895, allocations: 0 / 0.5958 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-05/0.4896, allocations: 15.98 kB / 0.5959 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4896, allocations: 0 / 0.5959 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4897, allocations: 7.938 kB / 0.5959 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4897, allocations: 4 kB / 0.5959 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.4897, allocations: 4 kB / 0.5959 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.4899, allocations: 219.3 kB / 0.5961 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.49, allocations: 85.02 kB / 0.5962 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.49, allocations: 3.938 kB / 0.5962 GB, free: 16.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.4901, allocations: 11.98 kB / 0.5962 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.4902, allocations: 11.98 kB / 0.5962 GB, free: 16.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.4902, allocations: 0 / 0.5962 GB, free: 16.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.438e-05/0.4902, allocations: 104.5 kB / 0.5963 GB, free: 16.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4902, allocations: 0 / 0.5963 GB, free: 16.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.4905, allocations: 19.84 kB / 0.5963 GB, free: 16.46 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.000127/0.4906, allocations: 107.2 kB / 0.5964 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.4909, allocations: 103.8 kB / 0.5965 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4909, allocations: 4 kB / 0.5965 GB, free: 16.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.491, allocations: 51.97 kB / 0.5966 GB, free: 16.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.4912, allocations: 2.188 kB / 0.5966 GB, free: 16.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.4916, allocations: 227 kB / 0.5968 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.4918, allocations: 0.7002 MB / 0.5975 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.089e-05/0.4919, allocations: 11.98 kB / 0.5975 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.492, allocations: 15.42 kB / 0.5975 GB, free: 15.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.492, allocations: 0 / 0.5975 GB, free: 15.18 MB / 446.1 MB Notification: Performance of Templates: time 0.003143/0.4951, allocations: 0.716 MB / 0.5982 GB, free: 14.47 MB / 446.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)