Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 109.6 kB / 16.36 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 197.3 kB / 17.3 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001487, allocations: 71.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2155, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003611/0.2192, allocations: 1.847 MB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3701/0.5893, allocations: 1.503 MB / 0.7881 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.5895, allocations: 0 / 0.7881 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.5898, allocations: 25.78 kB / 0.7881 GB, free: 46.63 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.5902, allocations: 77.19 kB / 0.7882 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.5906, allocations: 154 kB / 0.7883 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000278/0.5909, allocations: 275.2 kB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.591, allocations: 32.55 kB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.5911, allocations: 92.06 kB / 0.7887 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.5914, allocations: 106.2 kB / 0.7888 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.5914, allocations: 19.38 kB / 0.7888 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.5916, allocations: 72.53 kB / 0.7889 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.65e-05/0.5917, allocations: 86.78 kB / 0.789 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.5918, allocations: 118.4 kB / 0.7891 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.5921, allocations: 313.9 kB / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5921, allocations: 0 / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5921, allocations: 2.531 kB / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.5921, allocations: 2.969 kB / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006537/0.5928, allocations: 0.5592 MB / 0.7899 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.5928, allocations: 10.16 kB / 0.7899 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.593, allocations: 27.66 kB / 0.79 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.5932, allocations: 270.9 kB / 0.7902 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.5932, allocations: 20.02 kB / 0.7902 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.5933, allocations: 18.28 kB / 0.7902 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.5936, allocations: 241 kB / 0.7905 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5936, allocations: 0.5625 kB / 0.7905 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.5937, allocations: 6.125 kB / 0.7905 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5937, allocations: 2.594 kB / 0.7905 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000718/0.5944, allocations: 0.751 MB / 0.7912 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009181/0.5953, allocations: 0.6244 MB / 0.7918 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.5958, allocations: 309.8 kB / 0.7921 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.5959, allocations: 114.4 kB / 0.7922 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.596, allocations: 19.59 kB / 0.7923 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003213/0.5963, allocations: 181.4 kB / 0.7924 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.5963, allocations: 0 / 0.7924 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.0005903/0.5969, allocations: 385.1 kB / 0.7928 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.597, allocations: 135.9 kB / 0.7929 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5972, allocations: 308.2 kB / 0.7932 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.5972, allocations: 39.36 kB / 0.7933 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.5973, allocations: 128.2 kB / 0.7934 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.5974, allocations: 119.3 kB / 0.7935 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.5975, allocations: 64.45 kB / 0.7936 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.5975, allocations: 335.3 kB / 0.7939 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.5977, allocations: 82.06 kB / 0.794 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.5978, allocations: 132.3 kB / 0.7941 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.5981, allocations: 216.2 kB / 0.7943 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5981, allocations: 0.5 kB / 0.7943 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003664/0.5985, allocations: 276.2 kB / 0.7945 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.5985, allocations: 4 kB / 0.7946 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5985, allocations: 4.531 kB / 0.7946 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.5986, allocations: 0 / 0.7946 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.5988, allocations: 71.83 kB / 0.7946 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5988, allocations: 8.344 kB / 0.7946 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.5989, allocations: 24.97 kB / 0.7947 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.599, allocations: 17.52 kB / 0.7947 GB, free: 44.44 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001271/0.5991, allocations: 162.9 kB / 0.7948 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.5992, allocations: 25.06 kB / 0.7949 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-05/0.5992, allocations: 41.56 kB / 0.7949 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5993, allocations: 7.094 kB / 0.7949 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5993, allocations: 0.7188 kB / 0.7949 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5993, allocations: 0 / 0.7949 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.5995, allocations: 355.7 kB / 0.7952 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5995, allocations: 0 / 0.7952 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.5997, allocations: 60.59 kB / 0.7953 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5997, allocations: 0.625 kB / 0.7953 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.5997, allocations: 12.36 kB / 0.7953 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.5998, allocations: 7.344 kB / 0.7953 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5998, allocations: 0 / 0.7953 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.6002, allocations: 327.8 kB / 0.7956 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.6003, allocations: 146.9 kB / 0.7958 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.6003, allocations: 3.375 kB / 0.7958 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.6005, allocations: 30.66 kB / 0.7958 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.6006, allocations: 23.62 kB / 0.7958 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.6006, allocations: 13.22 kB / 0.7958 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001468/0.6008, allocations: 235.5 kB / 0.7961 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.32e-07/0.6008, allocations: 3.562 kB / 0.7961 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002831/0.6011, allocations: 73.38 kB / 0.7961 GB, free: 43.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000875/0.6019, allocations: 398 kB / 0.7965 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.6023, allocations: 234.2 kB / 0.7967 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6023, allocations: 0 / 0.7967 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.6025, allocations: 132.7 kB / 0.7969 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.6028, allocations: 39.16 kB / 0.7969 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.6035, allocations: 0.5158 MB / 0.7974 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.6037, allocations: 0.7645 MB / 0.7981 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002965/0.604, allocations: 147.9 kB / 0.7983 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.6041, allocations: 44.28 kB / 0.7983 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.6041, allocations: 0 / 0.7983 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.007956/0.612, allocations: 3.391 MB / 0.8016 GB, free: 42.54 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)