Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001303/0.001303, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001312/0.001312, allocations: 197.3 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002526, allocations: 283 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.507 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002863, allocations: 105.8 kB / 0.6059 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1786, allocations: 89.15 MB / 0.693 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.005367/0.184, allocations: 1.934 MB / 0.6949 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004034/0.1881, allocations: 1.542 MB / 0.6964 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.751e-05/0.1882, allocations: 4 kB / 0.6964 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1885, allocations: 23.86 kB / 0.6964 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.189, allocations: 73.48 kB / 0.6965 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.1898, allocations: 150.8 kB / 0.6966 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005452/0.1904, allocations: 281.4 kB / 0.6969 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1905, allocations: 29.33 kB / 0.6969 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1907, allocations: 99.81 kB / 0.697 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.191, allocations: 107.6 kB / 0.6971 GB, free: 472 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.1911, allocations: 20 kB / 0.6971 GB, free: 452 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.1914, allocations: 87.95 kB / 0.6972 GB, free: 364 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.1915, allocations: 83.8 kB / 0.6973 GB, free: 280 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.1917, allocations: 123.3 kB / 0.6974 GB, free: 156 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005572/0.1923, allocations: 319.2 kB / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1923, allocations: 0 / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1923, allocations: 0 / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.1923, allocations: 0 / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001152/0.1935, allocations: 0.5615 MB / 0.6983 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1936, allocations: 12.03 kB / 0.6983 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.1938, allocations: 32.64 kB / 0.6983 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.1942, allocations: 274.7 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.1943, allocations: 12.38 kB / 0.6986 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.1943, allocations: 28.05 kB / 0.6986 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.1949, allocations: 244.8 kB / 0.6988 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.195, allocations: 4 kB / 0.6988 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.195, allocations: 4 kB / 0.6989 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.195, allocations: 4 kB / 0.6989 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.1964, allocations: 0.749 MB / 0.6996 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1979, allocations: 0.6447 MB / 0.7002 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008246/0.1987, allocations: 305.9 kB / 0.7005 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.199, allocations: 109.4 kB / 0.7006 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.079e-05/0.1991, allocations: 24.23 kB / 0.7006 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.1996, allocations: 187.4 kB / 0.7008 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.1996, allocations: 0 / 0.7008 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0009354/0.2006, allocations: 375.7 kB / 0.7012 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.2007, allocations: 132.5 kB / 0.7013 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.201, allocations: 305 kB / 0.7016 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.2011, allocations: 37.7 kB / 0.7016 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2012, allocations: 140.5 kB / 0.7018 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.2013, allocations: 106.4 kB / 0.7019 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.2014, allocations: 69.69 kB / 0.7019 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.2016, allocations: 338.8 kB / 0.7023 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2017, allocations: 83.81 kB / 0.7023 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.202, allocations: 135.5 kB / 0.7025 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.2023, allocations: 209.2 kB / 0.7027 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2023, allocations: 0 / 0.7027 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004707/0.2028, allocations: 281 kB / 0.7029 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2028, allocations: 7.984 kB / 0.7029 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2029, allocations: 3.938 kB / 0.7029 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2029, allocations: 4 kB / 0.7029 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.2031, allocations: 63.91 kB / 0.703 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2031, allocations: 0 / 0.703 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.2033, allocations: 27.83 kB / 0.703 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.2033, allocations: 12 kB / 0.703 GB, free: 10.12 MB / 0.4981 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.0001808/0.2035, allocations: 165.8 kB / 0.7032 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.2036, allocations: 31.62 kB / 0.7032 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007319/0.2043, allocations: 388.5 kB / 0.7036 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2043, allocations: 7.984 kB / 0.7036 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2043, allocations: 0 / 0.7036 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2043, allocations: 3.938 kB / 0.7036 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.2047, allocations: 345.2 kB / 0.7039 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2047, allocations: 0 / 0.7039 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.2049, allocations: 59.91 kB / 0.704 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.205, allocations: 7.938 kB / 0.704 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.205, allocations: 11.94 kB / 0.704 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.205, allocations: 4 kB / 0.704 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.205, allocations: 0 / 0.704 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.2055, allocations: 326.1 kB / 0.7043 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.2057, allocations: 148.7 kB / 0.7045 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.2057, allocations: 11.94 kB / 0.7045 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.2059, allocations: 27.97 kB / 0.7045 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.206, allocations: 23.97 kB / 0.7045 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.2061, allocations: 15.98 kB / 0.7045 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002371/0.2063, allocations: 240.4 kB / 0.7048 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2063, allocations: 0 / 0.7048 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003126/0.2066, allocations: 68 kB / 0.7048 GB, free: 8.168 MB / 0.4981 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.001493/0.2081, allocations: 404.1 kB / 0.7052 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000577/0.2087, allocations: 303.6 kB / 0.7055 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2087, allocations: 0 / 0.7055 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.209, allocations: 143.6 kB / 0.7057 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.2093, allocations: 41.34 kB / 0.7057 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/0.2102, allocations: 0.6208 MB / 0.7063 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.2107, allocations: 0.7653 MB / 0.707 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003587/0.211, allocations: 142.8 kB / 0.7072 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.168e-05/0.2111, allocations: 47.42 kB / 0.7072 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2111, allocations: 0 / 0.7072 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of Templates: time 0.007856/0.219, allocations: 3.391 MB / 0.7105 GB, free: 2.488 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)