Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [/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.3884/0.3906, allocations: 80.81 MB / 0.5904 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002092/0.3927, allocations: 0.6921 MB / 0.5911 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3939, allocations: 1.134 MB / 0.5922 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.3939, allocations: 1.094 kB / 0.5922 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.394, allocations: 1.281 kB / 0.5922 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.394, allocations: 0 / 0.5922 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.3942, allocations: 16.05 kB / 0.5922 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.558e-05/0.3943, allocations: 16.11 kB / 0.5922 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3944, allocations: 3.875 kB / 0.5922 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3945, allocations: 21.8 kB / 0.5922 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.3946, allocations: 4.031 kB / 0.5923 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.3947, allocations: 1.156 kB / 0.5923 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/0.3947, allocations: 1.031 kB / 0.5923 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.3947, allocations: 9.328 kB / 0.5923 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.3948, allocations: 13.23 kB / 0.5923 GB, free: 20.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.3949, allocations: 13.2 kB / 0.5923 GB, free: 20.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.3949, allocations: 0 / 0.5923 GB, free: 20.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3949, allocations: 1.094 kB / 0.5923 GB, free: 20.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.3949, allocations: 1.188 kB / 0.5923 GB, free: 20.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005184/0.3955, allocations: 333 kB / 0.5926 GB, free: 20.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.3955, allocations: 9.156 kB / 0.5926 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.3956, allocations: 3.25 kB / 0.5926 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.654e-05/0.3957, allocations: 160.4 kB / 0.5928 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3957, allocations: 3.5 kB / 0.5928 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.3957, allocations: 5.344 kB / 0.5928 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3959, allocations: 39.88 kB / 0.5928 GB, free: 20.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3959, allocations: 0 / 0.5928 GB, free: 20.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3959, allocations: 0 / 0.5928 GB, free: 20.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3959, allocations: 1.938 kB / 0.5928 GB, free: 20.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.577e-05/0.396, allocations: 18.77 kB / 0.5928 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.3963, allocations: 250.9 kB / 0.5931 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.3966, allocations: 47.78 kB / 0.5931 GB, free: 19.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.3966, allocations: 18.12 kB / 0.5931 GB, free: 19.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3966, allocations: 4.219 kB / 0.5931 GB, free: 19.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.3966, allocations: 31.97 kB / 0.5932 GB, free: 19.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3967, allocations: 0 / 0.5932 GB, free: 19.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002068/0.3969, allocations: 55.16 kB / 0.5932 GB, free: 19.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.3969, allocations: 51.41 kB / 0.5933 GB, free: 19.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.207e-05/0.3969, allocations: 89.86 kB / 0.5934 GB, free: 19.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.3969, allocations: 30.7 kB / 0.5934 GB, free: 19.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.397, allocations: 80.14 kB / 0.5935 GB, free: 19.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.397, allocations: 18.14 kB / 0.5935 GB, free: 19.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.397, allocations: 11.97 kB / 0.5935 GB, free: 19.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.3971, allocations: 316 kB / 0.5938 GB, free: 19.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.3971, allocations: 10.55 kB / 0.5938 GB, free: 19.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.3972, allocations: 4.5 kB / 0.5938 GB, free: 19.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.3972, allocations: 23.77 kB / 0.5938 GB, free: 19.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3972, allocations: 4 kB / 0.5938 GB, free: 19.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.228e-05/0.3973, allocations: 45.53 kB / 0.5939 GB, free: 19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3973, allocations: 9.328 kB / 0.5939 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3973, allocations: 0 / 0.5939 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3974, allocations: 1.188 kB / 0.5939 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.399e-05/0.3974, allocations: 3.406 kB / 0.5939 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3974, allocations: 1.094 kB / 0.5939 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.3974, allocations: 0 / 0.5939 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.3975, allocations: 1.156 kB / 0.5939 GB, free: 19 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 (3): * Single equations (assignments): 3 * 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 6.288e-05/0.3975, allocations: 116.2 kB / 0.594 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.3976, allocations: 7.891 kB / 0.594 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.3977, allocations: 72.62 kB / 0.5941 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3977, allocations: 4.125 kB / 0.5941 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3978, allocations: 0 / 0.5941 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3978, allocations: 7.984 kB / 0.5941 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.3979, allocations: 169.6 kB / 0.5943 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3979, allocations: 0 / 0.5943 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.398, allocations: 12 kB / 0.5943 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.398, allocations: 4 kB / 0.5943 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.398, allocations: 0 / 0.5943 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.398, allocations: 3.938 kB / 0.5943 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.398, allocations: 0 / 0.5943 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.3981, allocations: 163.4 kB / 0.5944 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.3982, allocations: 81.09 kB / 0.5945 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3982, allocations: 0 / 0.5945 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.3983, allocations: 0 / 0.5945 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.3983, allocations: 12.33 kB / 0.5945 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3983, allocations: 0 / 0.5945 GB, free: 18.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.582e-05/0.3983, allocations: 75.28 kB / 0.5946 GB, free: 18.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3983, allocations: 0 / 0.5946 GB, free: 18.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.3986, allocations: 4 kB / 0.5946 GB, free: 18.2 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.0001043/0.3987, allocations: 103.2 kB / 0.5947 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.3988, allocations: 27.88 kB / 0.5947 GB, free: 18.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3988, allocations: 0 / 0.5947 GB, free: 18.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.586e-05/0.3988, allocations: 23.98 kB / 0.5947 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.399, allocations: 0.6562 kB / 0.5947 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.3993, allocations: 125.3 kB / 0.5949 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.3995, allocations: 0.6807 MB / 0.5955 GB, free: 17.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.167e-05/0.3995, allocations: 3.984 kB / 0.5955 GB, free: 17.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.3996, allocations: 15.44 kB / 0.5956 GB, free: 17.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3996, allocations: 3.938 kB / 0.5956 GB, free: 17.16 MB / 446.1 MB Notification: Performance of Templates: time 0.002198/0.4018, allocations: 362.5 kB / 0.5959 GB, free: 16.84 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)