Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001236/0.001236, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001616/0.001616, allocations: 194.7 kB / 16.14 MB, free: 6.703 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.568/1.568, allocations: 205.1 MB / 222 MB, free: 4.969 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.592/0.592, allocations: 95.47 MB / 364.8 MB, free: 10.17 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 64.47 kB / 444.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3638, allocations: 69.07 MB / 0.5017 GB, free: 17.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002624/0.3665, allocations: 1.848 MB / 0.5035 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3679, allocations: 1.359 MB / 0.5048 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.368, allocations: 4 kB / 0.5048 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.3682, allocations: 19.84 kB / 0.5049 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.3683, allocations: 43.78 kB / 0.5049 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.3686, allocations: 131.5 kB / 0.505 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.3688, allocations: 225.5 kB / 0.5052 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3689, allocations: 34.08 kB / 0.5053 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.784e-05/0.369, allocations: 71.83 kB / 0.5053 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3691, allocations: 79.77 kB / 0.5054 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.3691, allocations: 16 kB / 0.5054 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3693, allocations: 55.98 kB / 0.5055 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.3693, allocations: 83.67 kB / 0.5056 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.374e-05/0.3694, allocations: 103.3 kB / 0.5057 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.3697, allocations: 275.1 kB / 0.5059 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3697, allocations: 0 / 0.5059 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3697, allocations: 0 / 0.5059 GB, free: 13.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.3697, allocations: 0 / 0.5059 GB, free: 13.43 MB / 382.1 MB 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.000591/0.3703, allocations: 0.5703 MB / 0.5065 GB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.3703, allocations: 11.98 kB / 0.5065 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.3704, allocations: 32.56 kB / 0.5065 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.3706, allocations: 263.7 kB / 0.5068 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3707, allocations: 19.94 kB / 0.5068 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.3707, allocations: 16 kB / 0.5068 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.371, allocations: 211.7 kB / 0.507 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.371, allocations: 4 kB / 0.507 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.371, allocations: 8 kB / 0.507 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3711, allocations: 8 kB / 0.507 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006114/0.3717, allocations: 0.7412 MB / 0.5078 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.3723, allocations: 0.5861 MB / 0.5083 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.3727, allocations: 300.3 kB / 0.5086 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.3728, allocations: 113.4 kB / 0.5087 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.3728, allocations: 16.25 kB / 0.5087 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.3731, allocations: 191.2 kB / 0.5089 GB, free: 10.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.3731, allocations: 3.938 kB / 0.5089 GB, free: 10.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005039/0.3737, allocations: 364.9 kB / 0.5093 GB, free: 9.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3737, allocations: 85.11 kB / 0.5094 GB, free: 9.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3739, allocations: 293.4 kB / 0.5096 GB, free: 9.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3739, allocations: 37.7 kB / 0.5097 GB, free: 9.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.374, allocations: 128.6 kB / 0.5098 GB, free: 9.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.374, allocations: 114.4 kB / 0.5099 GB, free: 9.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.3741, allocations: 57.7 kB / 0.51 GB, free: 9.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.3742, allocations: 338.8 kB / 0.5103 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3743, allocations: 75.95 kB / 0.5103 GB, free: 8.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3744, allocations: 122.6 kB / 0.5105 GB, free: 8.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.3747, allocations: 234.3 kB / 0.5107 GB, free: 8.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-06/0.3747, allocations: 0 / 0.5107 GB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003462/0.375, allocations: 307.3 kB / 0.511 GB, free: 7.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3751, allocations: 41.58 kB / 0.511 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3751, allocations: 3.984 kB / 0.511 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3751, allocations: 4 kB / 0.511 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3753, allocations: 51.92 kB / 0.5111 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3753, allocations: 7.984 kB / 0.5111 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.3754, allocations: 27.72 kB / 0.5111 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.3754, allocations: 12 kB / 0.5111 GB, free: 7.828 MB / 382.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: 3 (conTim.tStart,$PRE.conTim.tStart,$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): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0001037/0.3755, allocations: 165.7 kB / 0.5113 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.3755, allocations: 35.66 kB / 0.5113 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005177/0.3761, allocations: 372.2 kB / 0.5117 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3761, allocations: 4 kB / 0.5117 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3761, allocations: 7.984 kB / 0.5117 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3761, allocations: 3.984 kB / 0.5117 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.3763, allocations: 329.3 kB / 0.512 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3763, allocations: 4 kB / 0.512 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.3765, allocations: 55.91 kB / 0.5121 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3765, allocations: 3.938 kB / 0.5121 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.3765, allocations: 15.98 kB / 0.5121 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3765, allocations: 0 / 0.5121 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3765, allocations: 0 / 0.5121 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.3769, allocations: 326.1 kB / 0.5124 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.377, allocations: 136.7 kB / 0.5125 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.377, allocations: 11.94 kB / 0.5125 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3771, allocations: 19.98 kB / 0.5125 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.3772, allocations: 23.95 kB / 0.5126 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3772, allocations: 12 kB / 0.5126 GB, free: 6.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.3774, allocations: 232.4 kB / 0.5128 GB, free: 6.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3774, allocations: 0 / 0.5128 GB, free: 6.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.3776, allocations: 71.88 kB / 0.5129 GB, free: 5.938 MB / 382.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: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0007999/0.3784, allocations: 411.2 kB / 0.5133 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.3788, allocations: 283 kB / 0.5135 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3788, allocations: 3.938 kB / 0.5135 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.3789, allocations: 123.9 kB / 0.5137 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.3792, allocations: 40.66 kB / 0.5137 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.3799, allocations: 0.5918 MB / 0.5143 GB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.38, allocations: 0.7688 MB / 0.515 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002519/0.3803, allocations: 134.9 kB / 0.5152 GB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.3804, allocations: 43.41 kB / 0.5152 GB, free: 3.629 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3804, allocations: 0 / 0.5152 GB, free: 3.629 MB / 382.1 MB Notification: Performance of Templates: time 0.005266/0.3857, allocations: 2.867 MB / 0.518 GB, free: 0.7891 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)