Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005929/0.005929, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.001088/0.001088, allocations: 185.8 kB / 16.67 MB, free: 5.934 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.441/1.441, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.518/1.518, allocations: 251.7 MB / 0.5094 GB, free: 3.098 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.002907/0.002907, allocations: 67.91 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1995, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003337/0.2029, allocations: 1.853 MB / 0.8299 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.205, allocations: 1.5 MB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.2051, allocations: 4 kB / 0.8313 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.2053, allocations: 31.78 kB / 0.8314 GB, free: 12.82 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.0003033/0.2057, allocations: 75.55 kB / 0.8314 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.2061, allocations: 150 kB / 0.8316 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.2064, allocations: 281.3 kB / 0.8318 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2065, allocations: 41.03 kB / 0.8319 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.2066, allocations: 87.81 kB / 0.832 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.2069, allocations: 103.7 kB / 0.8321 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.2069, allocations: 20 kB / 0.8321 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.2071, allocations: 75.91 kB / 0.8322 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.2072, allocations: 83.8 kB / 0.8322 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.2073, allocations: 127.3 kB / 0.8324 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.2077, allocations: 314.7 kB / 0.8327 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2077, allocations: 0 / 0.8327 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2077, allocations: 0 / 0.8327 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2077, allocations: 0 / 0.8327 GB, free: 11.49 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.0007516/0.2085, allocations: 0.5613 MB / 0.8332 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2085, allocations: 12.02 kB / 0.8332 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.2087, allocations: 32.75 kB / 0.8332 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.209, allocations: 274.9 kB / 0.8335 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.209, allocations: 16.38 kB / 0.8335 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.209, allocations: 24.06 kB / 0.8335 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.2094, allocations: 232.5 kB / 0.8338 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2094, allocations: 0 / 0.8338 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.2095, allocations: 8 kB / 0.8338 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2095, allocations: 8 kB / 0.8338 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.2103, allocations: 0.7412 MB / 0.8345 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.2114, allocations: 0.6254 MB / 0.8351 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.2119, allocations: 309.8 kB / 0.8354 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.2121, allocations: 113.4 kB / 0.8355 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.2121, allocations: 24.25 kB / 0.8355 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003527/0.2125, allocations: 179.4 kB / 0.8357 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 1.914e-06/0.2125, allocations: 0 / 0.8357 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.000656/0.2132, allocations: 381.6 kB / 0.8361 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.2133, allocations: 136.5 kB / 0.8362 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.2135, allocations: 305 kB / 0.8365 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.2136, allocations: 33.69 kB / 0.8365 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.2137, allocations: 136.7 kB / 0.8367 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.611e-05/0.2138, allocations: 127 kB / 0.8368 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.2139, allocations: 65.69 kB / 0.8368 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.214, allocations: 338.8 kB / 0.8372 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.2142, allocations: 83.81 kB / 0.8372 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.2143, allocations: 119.4 kB / 0.8374 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.2147, allocations: 222.3 kB / 0.8376 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2147, allocations: 0 / 0.8376 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004283/0.2151, allocations: 281.3 kB / 0.8378 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2151, allocations: 4 kB / 0.8378 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2151, allocations: 0 / 0.8378 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2152, allocations: 7.938 kB / 0.8379 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.2154, allocations: 59.91 kB / 0.8379 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2154, allocations: 0 / 0.8379 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.2156, allocations: 38.44 kB / 0.8379 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.2156, allocations: 15.98 kB / 0.838 GB, free: 5.785 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.0001547/0.2158, allocations: 165.8 kB / 0.8381 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.2158, allocations: 27.81 kB / 0.8381 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.228e-05/0.2159, allocations: 42.98 kB / 0.8382 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2159, allocations: 3.938 kB / 0.8382 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2159, allocations: 4 kB / 0.8382 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.216, allocations: 4 kB / 0.8382 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.2163, allocations: 337.3 kB / 0.8385 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2163, allocations: 4 kB / 0.8385 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.2165, allocations: 63.91 kB / 0.8386 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2165, allocations: 0 / 0.8386 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.2165, allocations: 8 kB / 0.8386 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2165, allocations: 11.88 kB / 0.8386 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2165, allocations: 0 / 0.8386 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.217, allocations: 328.7 kB / 0.8389 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.2172, allocations: 144.8 kB / 0.8391 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.2172, allocations: 8 kB / 0.8391 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.2174, allocations: 31.84 kB / 0.8391 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.2175, allocations: 27.97 kB / 0.8391 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.2175, allocations: 15.98 kB / 0.8391 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002056/0.2177, allocations: 236.4 kB / 0.8394 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2177, allocations: 0 / 0.8394 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002976/0.218, allocations: 67.89 kB / 0.8394 GB, free: 4.18 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.0008728/0.2189, allocations: 401.3 kB / 0.8398 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003891/0.2193, allocations: 235.6 kB / 0.84 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2193, allocations: 4 kB / 0.84 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.2195, allocations: 123.9 kB / 0.8402 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.2198, allocations: 36.42 kB / 0.8402 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/0.2206, allocations: 0.5378 MB / 0.8407 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.221, allocations: 0.7653 MB / 0.8415 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003184/0.2213, allocations: 146.8 kB / 0.8416 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.72e-05/0.2214, allocations: 43.42 kB / 0.8416 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.2214, allocations: 0 / 0.8416 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of Templates: time 0.007427/0.2289, allocations: 3.441 MB / 0.845 GB, free: 14.61 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)