Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001922/0.001927, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002352/0.002352, allocations: 192 kB / 16.53 MB, free: 6.391 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.64/1.64, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.882/1.882, allocations: 251.7 MB / 0.5092 GB, free: 3.133 MB / 414.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.002353/0.002353, allocations: 75.89 kB / 0.6223 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.537, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003709/0.5408, allocations: 1.616 MB / 0.7261 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.5427, allocations: 1.066 MB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.5427, allocations: 0 / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.543, allocations: 27.73 kB / 0.7272 GB, free: 10.2 MB / 0.545 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.0002919/0.5433, allocations: 67.69 kB / 0.7272 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.5436, allocations: 113 kB / 0.7273 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.5439, allocations: 221.7 kB / 0.7276 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.544, allocations: 23.92 kB / 0.7276 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.5441, allocations: 75.83 kB / 0.7276 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.5444, allocations: 91.77 kB / 0.7277 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.5444, allocations: 20 kB / 0.7278 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.5446, allocations: 55.98 kB / 0.7278 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.5447, allocations: 87.73 kB / 0.7279 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.5448, allocations: 99.33 kB / 0.728 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.5452, allocations: 265.2 kB / 0.7282 GB, free: 9.109 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.5452, allocations: 4 kB / 0.7282 GB, free: 9.105 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5452, allocations: 0 / 0.7282 GB, free: 9.105 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.5452, allocations: 0 / 0.7282 GB, free: 9.105 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009334/0.5462, allocations: 0.5221 MB / 0.7288 GB, free: 8.535 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5462, allocations: 12.03 kB / 0.7288 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/0.5463, allocations: 24.66 kB / 0.7288 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.5466, allocations: 267.7 kB / 0.729 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.5467, allocations: 8.375 kB / 0.729 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.5467, allocations: 16.38 kB / 0.7291 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.5471, allocations: 216.9 kB / 0.7293 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5471, allocations: 0 / 0.7293 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.5471, allocations: 8 kB / 0.7293 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.5472, allocations: 4 kB / 0.7293 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.548, allocations: 0.7301 MB / 0.73 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008466/0.5489, allocations: 0.5668 MB / 0.7305 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.5494, allocations: 299.6 kB / 0.7308 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.5495, allocations: 101.4 kB / 0.7309 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.81e-05/0.5496, allocations: 20.25 kB / 0.731 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004372/0.55, allocations: 176.8 kB / 0.7311 GB, free: 5.977 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.55, allocations: 0 / 0.7311 GB, free: 5.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0007139/0.5508, allocations: 373.1 kB / 0.7315 GB, free: 5.605 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.5509, allocations: 136.5 kB / 0.7316 GB, free: 5.441 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.5512, allocations: 300 kB / 0.7319 GB, free: 5.137 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.5512, allocations: 33.7 kB / 0.7319 GB, free: 5.098 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.5513, allocations: 116.8 kB / 0.732 GB, free: 4.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/0.5514, allocations: 110.4 kB / 0.7321 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.5515, allocations: 69.67 kB / 0.7322 GB, free: 4.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5516, allocations: 338.8 kB / 0.7325 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.5518, allocations: 79.95 kB / 0.7326 GB, free: 4.379 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.552, allocations: 131.2 kB / 0.7327 GB, free: 4.238 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.5523, allocations: 217.4 kB / 0.7329 GB, free: 4.023 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5523, allocations: 0 / 0.7329 GB, free: 4.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000413/0.5527, allocations: 273 kB / 0.7332 GB, free: 3.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5528, allocations: 8 kB / 0.7332 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5528, allocations: 0 / 0.7332 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.5528, allocations: 0 / 0.7332 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.553, allocations: 63.91 kB / 0.7333 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.553, allocations: 8 kB / 0.7333 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.5532, allocations: 27.77 kB / 0.7333 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.5532, allocations: 15.98 kB / 0.7333 GB, free: 3.629 MB / 0.545 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 (35): * Single equations (assignments): 35 * 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.0001566/0.5534, allocations: 161.7 kB / 0.7335 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.5534, allocations: 27.62 kB / 0.7335 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.5539, allocations: 317.3 kB / 0.7338 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5539, allocations: 4 kB / 0.7338 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.554, allocations: 0 / 0.7338 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.554, allocations: 3.984 kB / 0.7338 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.5543, allocations: 325.2 kB / 0.7341 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5543, allocations: 0 / 0.7341 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.5545, allocations: 71.84 kB / 0.7342 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.5545, allocations: 0 / 0.7342 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.5545, allocations: 15.92 kB / 0.7342 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5545, allocations: 8 kB / 0.7342 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5545, allocations: 0 / 0.7342 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.555, allocations: 316.8 kB / 0.7345 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.5551, allocations: 148.7 kB / 0.7347 GB, free: 2.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.5551, allocations: 7.984 kB / 0.7347 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5553, allocations: 12 kB / 0.7347 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.5553, allocations: 27.95 kB / 0.7347 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.5554, allocations: 8 kB / 0.7347 GB, free: 2.105 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001891/0.5556, allocations: 237.8 kB / 0.7349 GB, free: 1.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5556, allocations: 0 / 0.7349 GB, free: 1.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002865/0.5559, allocations: 59.94 kB / 0.735 GB, free: 1.816 MB / 0.545 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 (34): * Single equations (assignments): 33 * 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.000982/0.5569, allocations: 400.7 kB / 0.7354 GB, free: 1.562 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.5574, allocations: 295.7 kB / 0.7357 GB, free: 1.273 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5574, allocations: 0 / 0.7357 GB, free: 1.273 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.5576, allocations: 131.8 kB / 0.7358 GB, free: 1.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.5579, allocations: 44.52 kB / 0.7358 GB, free: 1.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008366/0.5587, allocations: 0.4978 MB / 0.7363 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.559, allocations: 0.7613 MB / 0.7371 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.5594, allocations: 146.8 kB / 0.7372 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.5594, allocations: 43.42 kB / 0.7372 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5594, allocations: 0 / 0.7372 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.006927/0.5664, allocations: 2.97 MB / 0.7401 GB, free: 12.65 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)